FactName

class aws_cdk.region_info.FactName

Bases: object

All standardized fact names.

ExampleMetadata:

infused

Example:

@jsii.implements(region_info.IFact)
class MyFact:

region_info.Fact.register(MyFact())

Attributes

APPMESH_ECR_ACCOUNT = 'appMeshRepositoryAccount'
CDK_METADATA_RESOURCE_AVAILABLE = 'cdk:metadata-resource:available'
DLC_REPOSITORY_ACCOUNT = 'dlcRepositoryAccount'
DOMAIN_SUFFIX = 'domainSuffix'
EBS_ENV_ENDPOINT_HOSTED_ZONE_ID = 'ebs-environment:route-53-hosted-zone-id'
ELBV2_ACCOUNT = 'elbv2Account'
FIREHOSE_CIDR_BLOCK = 'firehoseCidrBlock'
IS_OPT_IN_REGION = 'aws:is-opt-in-region'
PARTITION = 'partition'
S3_STATIC_WEBSITE_ENDPOINT = 's3-static-website:endpoint'
S3_STATIC_WEBSITE_ZONE_53_HOSTED_ZONE_ID = 's3-static-website:route-53-hosted-zone-id'
SAML_SIGN_ON_URL = 'samlSignOnUrl'
VPC_ENDPOINT_SERVICE_NAME_PREFIX = 'vpcEndpointServiceNamePrefix'

Static Methods

classmethod adot_lambda_layer(type, version, architecture)

The ARN of Amazon Distro for OpenTelemetry (ADOT) Lambda layer for a given lambda type, version and architecture.

Parameters:
  • type (str) – the type of the ADOT lambda layer.

  • version (str) – the layer version.

  • architecture (str) – the Lambda Function architecture (e.g. ‘x86_64’ or ‘arm64’).

Return type:

str

classmethod app_config_lambda_layer_version(version, arch=None)

The ARN of AppConfig Lambda Layer for a given version (e.g. 2.0.181).

Parameters:
  • version (str) – The layer version.

  • arch (Optional[str]) – The architecture (optional), defaults to x86_64.

Return type:

str

classmethod cloudwatch_lambda_insights_version(version, arch=None)

The ARN of CloudWatch Lambda Insights for a version (e.g. 1.0.98.0).

Parameters:
  • version (str) –

  • arch (Optional[str]) –

Return type:

str

classmethod params_and_secrets_lambda_layer(version, architecture)

The ARN of Parameters and Secrets Lambda layer for a given lambda architecture.

Parameters:
  • version (str) – the layer version.

  • architecture (str) – the Lambda Function architecture (e.g. ‘x86_64’ or ‘arm64’).

Return type:

str

classmethod service_principal(service)

The name of the regional service principal for a given service.

Parameters:

service (str) – 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.

Return type:

str