Class: AWSCDK::RegionInfo::FactName
- Inherits:
-
Jsii::Object
- Object
- Jsii::Object
- AWSCDK::RegionInfo::FactName
- Defined in:
- region_info/fact_name.rb
Overview
All standardized fact names.
Class Method Summary collapse
-
.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.
-
.app_config_lambda_layer_version(version, arch = nil) ⇒ String
The ARN of AppConfig Lambda Layer for a given version (e.g. 2.0.181).
-
.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.
-
.CDK_METADATA_RESOURCE_AVAILABLE ⇒ String
Whether the AWS::CDK::Metadata CloudFormation Resource is available in-region or not.
-
.cloudwatch_lambda_insights_version(version, arch = nil) ⇒ String
The ARN of CloudWatch Lambda Insights for a version (e.g. 1.0.98.0).
-
.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.
-
.DOMAIN_SUFFIX ⇒ String
The domain suffix for a region (e.g: 'amazonaws.com`).
-
.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).
-
.ELBV2_ACCOUNT ⇒ String
The account for ELBv2 in this region.
-
.FIREHOSE_CIDR_BLOCK ⇒ String
The CIDR block used by Amazon Data Firehose servers.
-
.IS_OPT_IN_REGION ⇒ String
Whether the given region is an opt-in region or not.
- .jsii_overridable_methods ⇒ Object
-
.LATEST_NODE_RUNTIME ⇒ String
The latest Lambda NodeJS runtime available in a given region.
-
.params_and_secrets_lambda_layer(version, architecture) ⇒ String
The ARN of Parameters and Secrets Lambda layer for a given lambda architecture.
-
.PARTITION ⇒ String
The name of the partition for a region (e.g: 'aws', 'aws-cn', ...).
-
.S3_STATIC_WEBSITE_ENDPOINT ⇒ String
The endpoint used for hosting S3 static websites.
-
.S3_STATIC_WEBSITE_ZONE_53_HOSTED_ZONE_ID ⇒ String
The endpoint used for aliasing S3 static websites in Route 53.
-
.SAML_SIGN_ON_URL ⇒ String
The SAML Sign On URL for partition used by IAM SAML Principal.
-
.service_principal(service) ⇒ String
deprecated
Deprecated.
- Use
iam.ServicePrincipal.servicePrincipalName()instead.
- Use
-
.VPC_ENDPOINT_SERVICE_NAME_PREFIX ⇒ String
The prefix for VPC Endpoint Service names, cn.com.amazonaws.vpce for China regions, com.amazonaws.vpce otherwise.
Instance Method Summary collapse
-
#initialize ⇒ FactName
constructor
A new instance of FactName.
Constructor Details
#initialize ⇒ FactName
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.
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).
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_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.
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_AVAILABLE ⇒ String
Whether the AWS::CDK::Metadata CloudFormation Resource is available in-region or not.
The value is a boolean
modelled as YES or NO.
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).
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_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.
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_SUFFIX ⇒ String
The domain suffix for a region (e.g: 'amazonaws.com`).
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_ID ⇒ String
The hosted zone ID used by Route 53 to alias a EBS environment endpoint in this region (e.g: Z2O1EMRO9K5GLX).
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_ACCOUNT ⇒ String
The account for ELBv2 in this region.
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_BLOCK ⇒ String
The CIDR block used by Amazon Data Firehose servers.
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_REGION ⇒ String
Whether the given region is an opt-in region or not.
The value is a boolean
modelled as YES or NO.
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_methods ⇒ Object
12 13 14 15 |
# File 'region_info/fact_name.rb', line 12 def self.jsii_overridable_methods { } end |
.LATEST_NODE_RUNTIME ⇒ String
The latest Lambda NodeJS runtime available in a given region.
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.
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 |
.PARTITION ⇒ String
The name of the partition for a region (e.g: 'aws', 'aws-cn', ...).
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_ENDPOINT ⇒ String
The endpoint used for hosting S3 static websites.
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_ID ⇒ String
The endpoint used for aliasing S3 static websites in Route 53.
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_URL ⇒ String
The SAML Sign On URL for partition used by IAM SAML Principal.
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
- Use
iam.ServicePrincipal.servicePrincipalName()instead.
The name of the regional service principal for a given service.
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_PREFIX ⇒ String
The prefix for VPC Endpoint Service names, cn.com.amazonaws.vpce for China regions, com.amazonaws.vpce otherwise.
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 |