@Generated(value="jsii-pacmak/1.7.0 (build 179a3a5)", date="2020-07-02T17:20:28.053Z") @Stability(value=Experimental) public class RegionInfo extends software.amazon.jsii.JsiiObject
EXPERIMENTAL
| Modifier | Constructor and Description |
|---|---|
protected |
RegionInfo(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
RegionInfo(software.amazon.jsii.JsiiObjectRef objRef) |
| Modifier and Type | Method and Description |
|---|---|
static RegionInfo |
get(String name)
Obtain region info for a given region name.
|
Boolean |
getCdkMetadataResourceAvailable()
Whether the `AWS::CDK::Metadata` CloudFormation Resource is available in this region or not.
|
String |
getDomainSuffix()
The domain name suffix (e.g: amazonaws.com) for this region.
|
String |
getName()
EXPERIMENTAL
|
String |
getPartition()
The name of the ARN partition for this region (e.g: aws).
|
static List<RegionInfo> |
getRegions()
EXPERIMENTAL
|
String |
getS3StaticWebsiteEndpoint()
The endpoint used by S3 static website hosting in this region (e.g: s3-static-website-us-east-1.amazonaws.com).
|
String |
getS3StaticWebsiteHostedZoneId()
The hosted zone ID used by Route 53 to alias a S3 static website in this region (e.g: Z2O1EMRO9K5GLX).
|
String |
getVpcEndpointServiceNamePrefix()
The prefix for VPC Endpoint Service names, cn.com.amazonaws.vpce for China regions, com.amazonaws.vpce otherwise.
|
String |
servicePrincipal(String service)
The name of the service principal for a given service in this region.
|
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSetprotected RegionInfo(software.amazon.jsii.JsiiObjectRef objRef)
protected RegionInfo(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Experimental) @NotNull public static RegionInfo get(@NotNull String name)
EXPERIMENTAL
name - the name of the region (e.g: us-east-1). This parameter is required.@Stability(value=Experimental) @Nullable public String servicePrincipal(@NotNull String service)
EXPERIMENTAL
service - the service name (e.g: s3.amazonaws.com). This parameter is required.@Stability(value=Experimental) @NotNull public static List<RegionInfo> getRegions()
@Stability(value=Experimental) @NotNull public Boolean getCdkMetadataResourceAvailable()
EXPERIMENTAL
@Stability(value=Experimental) @NotNull public String getName()
@Stability(value=Experimental) @Nullable public String getDomainSuffix()
EXPERIMENTAL
@Stability(value=Experimental) @Nullable public String getPartition()
EXPERIMENTAL
@Stability(value=Experimental) @Nullable public String getS3StaticWebsiteEndpoint()
EXPERIMENTAL
@Stability(value=Experimental) @Nullable public String getS3StaticWebsiteHostedZoneId()
EXPERIMENTAL
@Stability(value=Experimental) @Nullable public String getVpcEndpointServiceNamePrefix()
EXPERIMENTAL
Copyright © 2020. All rights reserved.