@aws-cdk_region-info.FactName

class FactName

LanguageType name
.NETAmazon.CDK.RegionInfo.FactName
Javasoftware.amazon.awscdk.regioninfo.FactName
Pythonaws_cdk.region_info.FactName
TypeScript (source)@aws-cdk/region-info » FactName

All standardized fact names.

Example

// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as region_info from '@aws-cdk/region-info';
const factName = new region_info.FactName();

Initializer

new FactName()

Properties

NameTypeDescription
static APPMESH_ECR_ACCOUNTstringThe 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_AVAILABLEstringWhether the AWS::CDK::Metadata CloudFormation Resource is available in-region or not.
static DEFAULT_CR_NODE_VERSIONstringThe default NodeJS version used for custom resource function runtimes.
static DLC_REPOSITORY_ACCOUNTstringThe 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_SUFFIXstringThe domain suffix for a region (e.g: 'amazonaws.com`).
static EBS_ENV_ENDPOINT_HOSTED_ZONE_IDstringThe hosted zone ID used by Route 53 to alias a EBS environment endpoint in this region (e.g: Z2O1EMRO9K5GLX).
static ELBV2_ACCOUNTstringThe account for ELBv2 in this region.
static FIREHOSE_CIDR_BLOCKstringThe CIDR block used by Kinesis Data Firehose servers.
static IS_OPT_IN_REGIONstringWhether the given region is an opt-in region or not.
static PARTITIONstringThe name of the partition for a region (e.g: 'aws', 'aws-cn', ...).
static S3_STATIC_WEBSITE_ENDPOINTstringThe endpoint used for hosting S3 static websites.
static S3_STATIC_WEBSITE_ZONE_53_HOSTED_ZONE_IDstringThe endpoint used for aliasing S3 static websites in Route 53.
static VPC_ENDPOINT_SERVICE_NAME_PREFIXstringThe 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 DEFAULT_CR_NODE_VERSION

Type: string

The default NodeJS version used for custom resource function runtimes.


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 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

NameDescription
static adotLambdaLayer(type, version, architecture)The ARN of Amazon Distro for OpenTelemetry (ADOT) Lambda layer for a given lambda type, version and architecture.
static cloudwatchLambdaInsightsVersion(version, arch?)The ARN of CloudWatch Lambda Insights for a version (e.g. 1.0.98.0).
static paramsAndSecretsLambdaLayer(version, architecture)The ARN of Parameters and Secrets Lambda layer for a given lambda architecture.
static servicePrincipal(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 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

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.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.