Class: AWSCDK::RegionInfo::FactName

Inherits:
Jsii::Object
  • Object
show all
Defined in:
region_info/fact_name.rb

Overview

All standardized fact names.

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeFactName

Returns a new instance of FactName.



8
9
10
# File 'region_info/fact_name.rb', line 8

def initialize
  Jsii::Object.instance_method(:initialize).bind(self).call
end

Class Method Details

.adot_lambda_layer(type, version, architecture) ⇒ String

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

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)


23
24
25
26
27
28
# File 'region_info/fact_name.rb', line 23

def self.adot_lambda_layer(type, version, architecture)
  Jsii::Type.check_type(type, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "type")
  Jsii::Type.check_type(version, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "version")
  Jsii::Type.check_type(architecture, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "architecture")
  Jsii::Kernel.instance.call_static("aws-cdk-lib.region_info.FactName", "adotLambdaLayer", [type, version, architecture])
end

.app_config_lambda_layer_version(version, arch = nil) ⇒ String

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

Parameters:

  • version (String)

    The layer version.

  • arch (String, nil) (defaults to: nil)

    The architecture (optional), defaults to x86_64.

Returns:

  • (String)


35
36
37
38
39
# File 'region_info/fact_name.rb', line 35

def self.app_config_lambda_layer_version(version, arch = nil)
  Jsii::Type.check_type(version, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "version")
  Jsii::Type.check_type(arch, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "arch") unless arch.nil?
  Jsii::Kernel.instance.call_static("aws-cdk-lib.region_info.FactName", "appConfigLambdaLayerVersion", [version, arch])
end

.APPMESH_ECR_ACCOUNTString

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.

Returns:

  • (String)


76
77
78
# File 'region_info/fact_name.rb', line 76

def self.APPMESH_ECR_ACCOUNT()
  Jsii::Kernel.instance.get_static("aws-cdk-lib.region_info.FactName", "APPMESH_ECR_ACCOUNT")
end

.CDK_METADATA_RESOURCE_AVAILABLEString

Whether the AWS::CDK::Metadata CloudFormation Resource is available in-region or not.

The value is a boolean modelled as YES or NO.

Returns:

  • (String)


86
87
88
# File 'region_info/fact_name.rb', line 86

def self.CDK_METADATA_RESOURCE_AVAILABLE()
  Jsii::Kernel.instance.get_static("aws-cdk-lib.region_info.FactName", "CDK_METADATA_RESOURCE_AVAILABLE")
end

.cloudwatch_lambda_insights_version(version, arch = nil) ⇒ String

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

Parameters:

  • version (String)
  • arch (String, nil) (defaults to: nil)

Returns:

  • (String)


46
47
48
49
50
# File 'region_info/fact_name.rb', line 46

def self.cloudwatch_lambda_insights_version(version, arch = nil)
  Jsii::Type.check_type(version, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "version")
  Jsii::Type.check_type(arch, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "arch") unless arch.nil?
  Jsii::Kernel.instance.call_static("aws-cdk-lib.region_info.FactName", "cloudwatchLambdaInsightsVersion", [version, arch])
end

.DLC_REPOSITORY_ACCOUNTString

The ID of the AWS account that owns the public ECR repository that contains the AWS Deep Learning Containers images in a given region.

Returns:

  • (String)


93
94
95
# File 'region_info/fact_name.rb', line 93

def self.DLC_REPOSITORY_ACCOUNT()
  Jsii::Kernel.instance.get_static("aws-cdk-lib.region_info.FactName", "DLC_REPOSITORY_ACCOUNT")
end

.DOMAIN_SUFFIXString

The domain suffix for a region (e.g: 'amazonaws.com`).

Returns:

  • (String)


100
101
102
# File 'region_info/fact_name.rb', line 100

def self.DOMAIN_SUFFIX()
  Jsii::Kernel.instance.get_static("aws-cdk-lib.region_info.FactName", "DOMAIN_SUFFIX")
end

.EBS_ENV_ENDPOINT_HOSTED_ZONE_IDString

The hosted zone ID used by Route 53 to alias a EBS environment endpoint in this region (e.g: Z2O1EMRO9K5GLX).

Returns:

  • (String)


107
108
109
# File 'region_info/fact_name.rb', line 107

def self.EBS_ENV_ENDPOINT_HOSTED_ZONE_ID()
  Jsii::Kernel.instance.get_static("aws-cdk-lib.region_info.FactName", "EBS_ENV_ENDPOINT_HOSTED_ZONE_ID")
end

.ELBV2_ACCOUNTString

The account for ELBv2 in this region.

Returns:

  • (String)


114
115
116
# File 'region_info/fact_name.rb', line 114

def self.ELBV2_ACCOUNT()
  Jsii::Kernel.instance.get_static("aws-cdk-lib.region_info.FactName", "ELBV2_ACCOUNT")
end

.FIREHOSE_CIDR_BLOCKString

The CIDR block used by Amazon Data Firehose servers.

Returns:

  • (String)


121
122
123
# File 'region_info/fact_name.rb', line 121

def self.FIREHOSE_CIDR_BLOCK()
  Jsii::Kernel.instance.get_static("aws-cdk-lib.region_info.FactName", "FIREHOSE_CIDR_BLOCK")
end

.IS_OPT_IN_REGIONString

Whether the given region is an opt-in region or not.

The value is a boolean modelled as YES or NO.

Returns:

  • (String)


131
132
133
# File 'region_info/fact_name.rb', line 131

def self.IS_OPT_IN_REGION()
  Jsii::Kernel.instance.get_static("aws-cdk-lib.region_info.FactName", "IS_OPT_IN_REGION")
end

.jsii_overridable_methodsObject



12
13
14
15
# File 'region_info/fact_name.rb', line 12

def self.jsii_overridable_methods
  {
  }
end

.LATEST_NODE_RUNTIMEString

The latest Lambda NodeJS runtime available in a given region.

Returns:

  • (String)


138
139
140
# File 'region_info/fact_name.rb', line 138

def self.LATEST_NODE_RUNTIME()
  Jsii::Kernel.instance.get_static("aws-cdk-lib.region_info.FactName", "LATEST_NODE_RUNTIME")
end

.params_and_secrets_lambda_layer(version, architecture) ⇒ String

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

Parameters:

  • version (String)

    the layer version.

  • architecture (String)

    the Lambda Function architecture (e.g. 'x86_64' or 'arm64').

Returns:

  • (String)


57
58
59
60
61
# File 'region_info/fact_name.rb', line 57

def self.params_and_secrets_lambda_layer(version, architecture)
  Jsii::Type.check_type(version, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "version")
  Jsii::Type.check_type(architecture, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "architecture")
  Jsii::Kernel.instance.call_static("aws-cdk-lib.region_info.FactName", "paramsAndSecretsLambdaLayer", [version, architecture])
end

.PARTITIONString

The name of the partition for a region (e.g: 'aws', 'aws-cn', ...).

Returns:

  • (String)


145
146
147
# File 'region_info/fact_name.rb', line 145

def self.PARTITION()
  Jsii::Kernel.instance.get_static("aws-cdk-lib.region_info.FactName", "PARTITION")
end

.S3_STATIC_WEBSITE_ENDPOINTString

The endpoint used for hosting S3 static websites.

Returns:

  • (String)


152
153
154
# File 'region_info/fact_name.rb', line 152

def self.S3_STATIC_WEBSITE_ENDPOINT()
  Jsii::Kernel.instance.get_static("aws-cdk-lib.region_info.FactName", "S3_STATIC_WEBSITE_ENDPOINT")
end

.S3_STATIC_WEBSITE_ZONE_53_HOSTED_ZONE_IDString

The endpoint used for aliasing S3 static websites in Route 53.

Returns:

  • (String)


159
160
161
# File 'region_info/fact_name.rb', line 159

def self.S3_STATIC_WEBSITE_ZONE_53_HOSTED_ZONE_ID()
  Jsii::Kernel.instance.get_static("aws-cdk-lib.region_info.FactName", "S3_STATIC_WEBSITE_ZONE_53_HOSTED_ZONE_ID")
end

.SAML_SIGN_ON_URLString

The SAML Sign On URL for partition used by IAM SAML Principal.

Returns:

  • (String)


166
167
168
# File 'region_info/fact_name.rb', line 166

def self.SAML_SIGN_ON_URL()
  Jsii::Kernel.instance.get_static("aws-cdk-lib.region_info.FactName", "SAML_SIGN_ON_URL")
end

.service_principal(service) ⇒ String

Deprecated.
  • Use iam.ServicePrincipal.servicePrincipalName() instead.

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

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)


68
69
70
71
# File 'region_info/fact_name.rb', line 68

def self.service_principal(service)
  Jsii::Type.check_type(service, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "service")
  Jsii::Kernel.instance.call_static("aws-cdk-lib.region_info.FactName", "servicePrincipal", [service])
end

.VPC_ENDPOINT_SERVICE_NAME_PREFIXString

The prefix for VPC Endpoint Service names, cn.com.amazonaws.vpce for China regions, com.amazonaws.vpce otherwise.

Returns:

  • (String)


173
174
175
# File 'region_info/fact_name.rb', line 173

def self.VPC_ENDPOINT_SERVICE_NAME_PREFIX()
  Jsii::Kernel.instance.get_static("aws-cdk-lib.region_info.FactName", "VPC_ENDPOINT_SERVICE_NAME_PREFIX")
end