@Generated(value="jsii-pacmak/1.29.0 (build 41df200)", date="2021-06-02T09:55:53.664Z") @Stability(value=Experimental) public class Default extends software.amazon.jsii.JsiiObject
| Modifier and Type | Field and Description |
|---|---|
static String |
VPC_ENDPOINT_SERVICE_NAME_PREFIX
(experimental) The default value for a VPC Endpoint Service name prefix, useful if you do not have a synthesize-time region literal available (all you have is `{ "Ref": "AWS::Region" }`).
|
| 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)
(experimental) Computes a "standard" AWS Service principal for a given service, region and suffix.
|
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet@Stability(value=Experimental) public static final String VPC_ENDPOINT_SERVICE_NAME_PREFIX
protected 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.
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 © 2021. All rights reserved.