class FactName
Language | Type name |
---|---|
.NET | Amazon.CDK.RegionInfo.FactName |
Go | github.com/aws/aws-cdk-go/awscdk/v2/regioninfo#FactName |
Java | software.amazon.awscdk.regioninfo.FactName |
Python | aws_cdk.region_info.FactName |
TypeScript (source) | aws-cdk-lib » region_info » FactName |
All standardized fact names.
Example
class MyFact implements regionInfo.IFact {
public readonly region = 'bermuda-triangle-1';
public readonly name = regionInfo.FactName.S3_STATIC_WEBSITE_ENDPOINT;
public readonly value = 's3-website.bermuda-triangle-1.nowhere.com';
}
regionInfo.Fact.register(new MyFact());
Initializer
new FactName()
Properties
Name | Type | Description |
---|---|---|
static APPMESH_ECR_ACCOUNT | string | 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. |
static CDK_METADATA_RESOURCE_AVAILABLE | string | Whether the AWS::CDK::Metadata CloudFormation Resource is available in-region or not. |
static DLC_REPOSITORY_ACCOUNT | string | The ID of the AWS account that owns the public ECR repository that contains the AWS Deep Learning Containers images in a given region. |
static DOMAIN_SUFFIX | string | The domain suffix for a region (e.g: 'amazonaws.com`). |
static EBS_ENV_ENDPOINT_HOSTED_ZONE_ID | string | The hosted zone ID used by Route 53 to alias a EBS environment endpoint in this region (e.g: Z2O1EMRO9K5GLX). |
static ELBV2_ACCOUNT | string | The account for ELBv2 in this region. |
static FIREHOSE_CIDR_BLOCK | string | The CIDR block used by Kinesis Data Firehose servers. |
static IS_OPT_IN_REGION | string | Whether the given region is an opt-in region or not. |
static LATEST_NODE_RUNTIME | string | The latest Lambda NodeJS runtime available in a given region. |
static PARTITION | string | The name of the partition for a region (e.g: 'aws', 'aws-cn', ...). |
static S3_STATIC_WEBSITE_ENDPOINT | string | The endpoint used for hosting S3 static websites. |
static S3_STATIC_WEBSITE_ZONE_53_HOSTED_ZONE_ID | string | The endpoint used for aliasing S3 static websites in Route 53. |
static SAML_SIGN_ON_URL | string | The SAML Sign On URL for partition used by IAM SAML Principal. |
static VPC_ENDPOINT_SERVICE_NAME_PREFIX | string | The prefix for VPC Endpoint Service names, cn.com.amazonaws.vpce for China regions, com.amazonaws.vpce otherwise. |
static APPMESH_ECR_ACCOUNT
Type:
string
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.
static CDK_METADATA_RESOURCE_AVAILABLE
Type:
string
Whether the AWS::CDK::Metadata CloudFormation Resource is available in-region or not.
The value is a boolean
modelled as YES
or NO
.
static DLC_REPOSITORY_ACCOUNT
Type:
string
The ID of the AWS account that owns the public ECR repository that contains the AWS Deep Learning Containers images in a given region.
static DOMAIN_SUFFIX
Type:
string
The domain suffix for a region (e.g: 'amazonaws.com`).
static EBS_ENV_ENDPOINT_HOSTED_ZONE_ID
Type:
string
The hosted zone ID used by Route 53 to alias a EBS environment endpoint in this region (e.g: Z2O1EMRO9K5GLX).
static ELBV2_ACCOUNT
Type:
string
The account for ELBv2 in this region.
static FIREHOSE_CIDR_BLOCK
Type:
string
The CIDR block used by Kinesis Data Firehose servers.
static IS_OPT_IN_REGION
Type:
string
Whether the given region is an opt-in region or not.
The value is a boolean
modelled as YES
or NO
.
static LATEST_NODE_RUNTIME
Type:
string
The latest Lambda NodeJS runtime available in a given region.
static PARTITION
Type:
string
The name of the partition for a region (e.g: 'aws', 'aws-cn', ...).
static S3_STATIC_WEBSITE_ENDPOINT
Type:
string
The endpoint used for hosting S3 static websites.
static S3_STATIC_WEBSITE_ZONE_53_HOSTED_ZONE_ID
Type:
string
The endpoint used for aliasing S3 static websites in Route 53.
static SAML_SIGN_ON_URL
Type:
string
The SAML Sign On URL for partition used by IAM SAML Principal.
static VPC_ENDPOINT_SERVICE_NAME_PREFIX
Type:
string
The prefix for VPC Endpoint Service names, cn.com.amazonaws.vpce for China regions, com.amazonaws.vpce otherwise.
Methods
Name | Description |
---|---|
static adot | The ARN of Amazon Distro for OpenTelemetry (ADOT) Lambda layer for a given lambda type, version and architecture. |
static app | The ARN of AppConfig Lambda Layer for a given version (e.g. 2.0.181). |
static cloudwatch | The ARN of CloudWatch Lambda Insights for a version (e.g. 1.0.98.0). |
static params | The ARN of Parameters and Secrets Lambda layer for a given lambda architecture. |
static service | The name of the regional service principal for a given service. |
static adotLambdaLayer(type, version, architecture)
public static adotLambdaLayer(type: string, version: string, architecture: string): string
Parameters
- type
string
— the type of the ADOT lambda layer. - version
string
— the layer version. - architecture
string
— the Lambda Function architecture (e.g. 'x86_64' or 'arm64').
Returns
string
The ARN of Amazon Distro for OpenTelemetry (ADOT) Lambda layer for a given lambda type, version and architecture.
static appConfigLambdaLayerVersion(version, arch?)
public static appConfigLambdaLayerVersion(version: string, arch?: string): string
Parameters
- version
string
— The layer version. - arch
string
— The architecture (optional), defaults to x86_64.
Returns
string
The ARN of AppConfig Lambda Layer for a given version (e.g. 2.0.181).
static cloudwatchLambdaInsightsVersion(version, arch?)
public static cloudwatchLambdaInsightsVersion(version: string, arch?: string): string
Parameters
- version
string
- arch
string
Returns
string
The ARN of CloudWatch Lambda Insights for a version (e.g. 1.0.98.0).
static paramsAndSecretsLambdaLayer(version, architecture)
public static paramsAndSecretsLambdaLayer(version: string, architecture: string): string
Parameters
- version
string
— the layer version. - architecture
string
— the Lambda Function architecture (e.g. 'x86_64' or 'arm64').
Returns
string
The ARN of Parameters and Secrets Lambda layer for a given lambda architecture.
static servicePrincipal(service)
public static servicePrincipal(service: string): string
⚠️ Deprecated: - Use iam.ServicePrincipal.servicePrincipalName()
instead.
Parameters
- service
string
— the service name, either simple (e.g:s3
,codedeploy
) or qualified (e.g:s3.amazonaws.com
). The.amazonaws.com
and.amazonaws.com.rproxy.goskope.com.cn
domains are stripped from service names, so they are canonicalized in that respect.
Returns
string
The name of the regional service principal for a given service.