class FactName
| Language | Type name |
|---|---|
.NET | Amazon.CDK.RegionInfo.FactName |
Java | software.amazon.awscdk.regioninfo.FactName |
Python | aws_cdk.region_info.FactName |
TypeScript (source) | @aws-cdk/region-info » FactName |
All standardized fact names.
Example
class MyFact implements regionInfo.IFact {
public readonly region = 'bermuda-triangle-1';
public readonly name = regionInfo.FactName.servicePrincipal('s3.amazonaws.com');
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 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 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 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 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 cloudwatch | The ARN of CloudWatch Lambda Insights for a version (e.g. 1.0.98.0). |
| static service | The name of the regional service principal for a given service. |
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 servicePrincipal(service)
public static servicePrincipal(service: string): string
Parameters
- service
string— the service name, either simple (e.g:s3,codedeploy) or qualified (e.g:s3.amazonaws.com). The.amazonaws.com.rproxy.goskope.comand.amazonaws.com.rproxy.goskope.com.cndomains 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.

.NET
Java
Python
TypeScript (