@Generated(value="jsii-pacmak/0.22.0 (build 14afdde)", date="2020-02-19T09:09:25.753Z") @Stability(value=Experimental) public class Default extends software.amazon.jsii.JsiiObject
EXPERIMENTAL
| Modifier | Constructor and Description |
|---|---|
protected |
Default(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
Default(software.amazon.jsii.JsiiObjectRef objRef) |
| Modifier and Type | Method and Description |
|---|---|
static String |
servicePrincipal(String service,
String region,
String urlSuffix)
Computes a "standard" AWS Service principal for a given service, region and suffix.
|
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSetprotected Default(software.amazon.jsii.JsiiObjectRef objRef)
protected Default(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Experimental) @NotNull public static String servicePrincipal(@NotNull String service, @NotNull String region, @NotNull String urlSuffix)
This is useful for example when
you need to compute a service principal name, but you do not have a synthesize-time region literal available (so
all you have is { "Ref": "AWS::Region" }). This way you get the same defaulting behavior that is normally used
for built-in data.
EXPERIMENTAL
service - the name of the service (s3, s3.amazonaws.com, ...). This parameter is required.region - the region in which the service principal is needed. This parameter is required.urlSuffix - the URL suffix for the partition in which the region is located. This parameter is required.Copyright © 2020. All rights reserved.