Class RegionInfo
java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.regioninfo.RegionInfo
- All Implemented Interfaces:
software.amazon.jsii.JsiiSerializable
@Generated(value="jsii-pacmak/1.104.0 (build e79254c)",
date="2024-11-22T02:24:11.166Z")
@Stability(Stable)
public class RegionInfo
extends software.amazon.jsii.JsiiObject
Information pertaining to an AWS region.
Example:
// Get the information for "eu-west-1": RegionInfo region = RegionInfo.get("eu-west-1"); // Access attributes: region.getS3StaticWebsiteEndpoint();
-
Nested Class Summary
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode
-
Constructor Summary
ModifierConstructorDescriptionprotected
RegionInfo
(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protected
RegionInfo
(software.amazon.jsii.JsiiObjectRef objRef) -
Method Summary
Modifier and TypeMethodDescriptionadotLambdaLayerArn
(String type, String version, String architecture) The ARN of the ADOT Lambda layer, for the given layer type, version and architecture.appConfigLambdaArn
(String layerVersion) The ARN of the AppConfig Lambda Layer, for the given version.appConfigLambdaArn
(String layerVersion, String architecture) The ARN of the AppConfig Lambda Layer, for the given version.cloudwatchLambdaInsightsArn
(String insightsVersion) The ARN of the CloudWatch Lambda Insights extension, for the given version.cloudwatchLambdaInsightsArn
(String insightsVersion, String architecture) The ARN of the CloudWatch Lambda Insights extension, for the given version.static RegionInfo
Obtain region info for a given region name.The ID of the AWS account that owns the public ECR repository that contains the AWS App Mesh Envoy Proxy images in a given region.Whether theAWS::CDK::Metadata
CloudFormation Resource is available in this region or not.The ID of the AWS account that owns the public ECR repository containing the AWS Deep Learning Containers images in this region.The domain name suffix (e.g: amazonaws.com) for this region.The hosted zone ID used by Route 53 to alias a EBS environment endpoint in this region (e.g: Z2O1EMRO9K5GLX).The account ID for ELBv2 in this region.The CIDR block used by Kinesis Data Firehose servers.Whether the given region is an opt-in region.getName()
The name of the ARN partition for this region (e.g: aws).static List<RegionInfo>
The endpoint used by S3 static website hosting in this region (e.g: s3-static-website-us-east-1.amazonaws.com).The hosted zone ID used by Route 53 to alias a S3 static website in this region (e.g: Z2O1EMRO9K5GLX).SAML Sign On URL used by IAM SAML Principals.The prefix for VPC Endpoint Service names, cn.com.amazonaws.vpce for China regions, com.amazonaws.vpce otherwise.limitedRegionMap
(String factName, List<String> partitions) Retrieves a collection of all fact values for all regions, limited to some partitions.paramsAndSecretsLambdaLayerArn
(String version, String architecture) The ARN of the Parameters and Secrets Lambda layer for the given lambda architecture.Retrieves a collection of all fact values for all regions that fact is defined in.servicePrincipal
(String service) Deprecated.Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Constructor Details
-
RegionInfo
protected RegionInfo(software.amazon.jsii.JsiiObjectRef objRef) -
RegionInfo
protected RegionInfo(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
-
-
Method Details
-
get
Obtain region info for a given region name.- Parameters:
name
- the name of the region (e.g: us-east-1). This parameter is required.
-
limitedRegionMap
@Stability(Stable) @NotNull public static Map<String,String> limitedRegionMap(@NotNull String factName, @NotNull List<String> partitions) Retrieves a collection of all fact values for all regions, limited to some partitions.- Parameters:
factName
- the name of the fact to retrieve values for. This parameter is required.partitions
- list of partitions to retrieve facts for. This parameter is required.- Returns:
- a mapping with AWS region codes as the keys, and the fact in the given region as the value for that key
-
regionMap
Retrieves a collection of all fact values for all regions that fact is defined in.- Parameters:
factName
- the name of the fact to retrieve values for. This parameter is required.- Returns:
- a mapping with AWS region codes as the keys, and the fact in the given region as the value for that key
-
adotLambdaLayerArn
@Stability(Stable) @Nullable public String adotLambdaLayerArn(@NotNull String type, @NotNull String version, @NotNull String architecture) The ARN of the ADOT Lambda layer, for the given layer type, version and architecture.- Parameters:
type
- the type of the ADOT lambda layer. This parameter is required.version
- the layer version. This parameter is required.architecture
- the Lambda Function architecture (e.g. 'x86_64' or 'arm64'). This parameter is required.
-
appConfigLambdaArn
@Stability(Stable) @Nullable public String appConfigLambdaArn(@NotNull String layerVersion, @Nullable String architecture) The ARN of the AppConfig Lambda Layer, for the given version.- Parameters:
layerVersion
- The layer version (e.g. 2.0.181). This parameter is required.architecture
- The Lambda Function architecture (e.g. 'x86_64' or 'arm64'), defaults to x86_64.
-
appConfigLambdaArn
The ARN of the AppConfig Lambda Layer, for the given version.- Parameters:
layerVersion
- The layer version (e.g. 2.0.181). This parameter is required.
-
cloudwatchLambdaInsightsArn
@Stability(Stable) @Nullable public String cloudwatchLambdaInsightsArn(@NotNull String insightsVersion, @Nullable String architecture) The ARN of the CloudWatch Lambda Insights extension, for the given version.- Parameters:
insightsVersion
- the version (e.g. 1.0.98.0). This parameter is required.architecture
- the Lambda Function architecture (e.g. 'x86_64' or 'arm64').
-
cloudwatchLambdaInsightsArn
@Stability(Stable) @Nullable public String cloudwatchLambdaInsightsArn(@NotNull String insightsVersion) The ARN of the CloudWatch Lambda Insights extension, for the given version.- Parameters:
insightsVersion
- the version (e.g. 1.0.98.0). This parameter is required.
-
paramsAndSecretsLambdaLayerArn
@Stability(Stable) @Nullable public String paramsAndSecretsLambdaLayerArn(@NotNull String version, @NotNull String architecture) The ARN of the Parameters and Secrets Lambda layer for the given lambda architecture.- Parameters:
version
- the layer version. This parameter is required.architecture
- the Lambda Function architecture (e.g. 'x86_64' or 'arm64'). This parameter is required.
-
servicePrincipal
@Stability(Deprecated) @Deprecated @Nullable public String servicePrincipal(@NotNull String service) Deprecated.- Use
iam.ServicePrincipal.servicePrincipalName()
instead.
(deprecated) The name of the service principal for a given service in this region.- Parameters:
service
- the service name (e.g: s3.amazonaws.com). This parameter is required.
- Use
-
getRegions
- Returns:
- the list of names of AWS regions for which there is at least one registered fact. This may not be an exaustive list of all available AWS regions.
-
getCdkMetadataResourceAvailable
Whether theAWS::CDK::Metadata
CloudFormation Resource is available in this region or not. -
getIsOptInRegion
Whether the given region is an opt-in region. -
getName
-
getAppMeshRepositoryAccount
The ID of the AWS account that owns the public ECR repository that contains the AWS App Mesh Envoy Proxy images in a given region. -
getDlcRepositoryAccount
The ID of the AWS account that owns the public ECR repository containing the AWS Deep Learning Containers images in this region. -
getDomainSuffix
The domain name suffix (e.g: amazonaws.com) for this region. -
getEbsEnvEndpointHostedZoneId
The hosted zone ID used by Route 53 to alias a EBS environment endpoint in this region (e.g: Z2O1EMRO9K5GLX). -
getElbv2Account
The account ID for ELBv2 in this region. -
getFirehoseCidrBlock
The CIDR block used by Kinesis Data Firehose servers. -
getPartition
The name of the ARN partition for this region (e.g: aws). -
getS3StaticWebsiteEndpoint
The endpoint used by S3 static website hosting in this region (e.g: s3-static-website-us-east-1.amazonaws.com). -
getS3StaticWebsiteHostedZoneId
The hosted zone ID used by Route 53 to alias a S3 static website in this region (e.g: Z2O1EMRO9K5GLX). -
getSamlSignOnUrl
SAML Sign On URL used by IAM SAML Principals. -
getVpcEndpointServiceNamePrefix
The prefix for VPC Endpoint Service names, cn.com.amazonaws.vpce for China regions, com.amazonaws.vpce otherwise.
-
iam.ServicePrincipal.servicePrincipalName()
instead.