@Generated(value="jsii-pacmak/1.73.0 (build 6faeda3)",
date="2023-01-25T18:28:55.831Z")
public class Default
extends software.amazon.jsii.JsiiObject
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
VPC_ENDPOINT_SERVICE_NAME_PREFIX
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 java.lang.String |
servicePrincipal(java.lang.String serviceFqn,
java.lang.String region,
java.lang.String urlSuffix)
Computes a "standard" AWS Service principal for a given service, region and suffix.
|
public static final java.lang.String VPC_ENDPOINT_SERVICE_NAME_PREFIX
protected Default(software.amazon.jsii.JsiiObjectRef objRef)
protected Default(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
public static java.lang.String servicePrincipal(java.lang.String serviceFqn, java.lang.String region, java.lang.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.
serviceFqn
- 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
- deprecated and ignored. This parameter is required.