Class FactName
All standardized fact names.
Inheritance
Namespace: Amazon.CDK.RegionInfo
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class FactName : DeputyBase
Syntax (vb)
Public Class FactName
Inherits DeputyBase
Remarks
ExampleMetadata: infused
Examples
class MyFact : IFact
{
public readonly void Region = "bermuda-triangle-1";
public readonly void Name = FactName.ServicePrincipal("s3.amazonaws.com");
public readonly void Value = "s3-website.bermuda-triangle-1.nowhere.com";
}
Fact.Register(new MyFact());
Synopsis
Constructors
FactName() | |
FactName(ByRefValue) | Used by jsii to construct an instance of this class from a Javascript-owned object reference |
FactName(DeputyBase.DeputyProps) | Used by jsii to construct an instance of this class from DeputyProps |
Properties
APPMESH_ECR_ACCOUNT | 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 | Whether the AWS::CDK::Metadata CloudFormation Resource is available in-region or not. |
DLC_REPOSITORY_ACCOUNT | 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 | The domain suffix for a region (e.g: 'amazonaws.com`). |
EBS_ENV_ENDPOINT_HOSTED_ZONE_ID | The hosted zone ID used by Route 53 to alias a EBS environment endpoint in this region (e.g: Z2O1EMRO9K5GLX). |
ELBV2_ACCOUNT | The account for ELBv2 in this region. |
FIREHOSE_CIDR_BLOCK | The CIDR block used by Kinesis Data Firehose servers. |
IS_OPT_IN_REGION | Whether the given region is an opt-in region or not. |
PARTITION | The name of the partition for a region (e.g: 'aws', 'aws-cn', ...). |
S3_STATIC_WEBSITE_ENDPOINT | The endpoint used for hosting S3 static websites. |
S3_STATIC_WEBSITE_ZONE_53_HOSTED_ZONE_ID | The endpoint used for aliasing S3 static websites in Route 53. |
SAML_SIGN_ON_URL | The SAML Sign On URL for partition used by IAM SAML Principal. |
VPC_ENDPOINT_SERVICE_NAME_PREFIX | The prefix for VPC Endpoint Service names, cn.com.amazonaws.vpce for China regions, com.amazonaws.vpce otherwise. |
Methods
AdotLambdaLayer(String, String, String) | The ARN of Amazon Distro for OpenTelemetry (ADOT) Lambda layer for a given lambda type, version and architecture. |
AppConfigLambdaLayerVersion(String, String) | The ARN of AppConfig Lambda Layer for a given version (e.g. 2.0.181). |
CloudwatchLambdaInsightsVersion(String, String) | The ARN of CloudWatch Lambda Insights for a version (e.g. 1.0.98.0). |
ParamsAndSecretsLambdaLayer(String, String) | The ARN of Parameters and Secrets Lambda layer for a given lambda architecture. |
ServicePrincipal(String) | The name of the regional service principal for a given service. |
Constructors
FactName()
public FactName()
FactName(ByRefValue)
Used by jsii to construct an instance of this class from a Javascript-owned object reference
protected FactName(ByRefValue reference)
Parameters
- reference Amazon.JSII.Runtime.Deputy.ByRefValue
The Javascript-owned object reference
FactName(DeputyBase.DeputyProps)
Used by jsii to construct an instance of this class from DeputyProps
protected FactName(DeputyBase.DeputyProps props)
Parameters
- props Amazon.JSII.Runtime.Deputy.DeputyBase.DeputyProps
The deputy props
Properties
APPMESH_ECR_ACCOUNT
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.
public static string APPMESH_ECR_ACCOUNT { get; }
Property Value
System.String
CDK_METADATA_RESOURCE_AVAILABLE
Whether the AWS::CDK::Metadata CloudFormation Resource is available in-region or not.
public static string CDK_METADATA_RESOURCE_AVAILABLE { get; }
Property Value
System.String
Remarks
The value is a boolean
modelled as YES
or NO
.
DLC_REPOSITORY_ACCOUNT
The ID of the AWS account that owns the public ECR repository that contains the AWS Deep Learning Containers images in a given region.
public static string DLC_REPOSITORY_ACCOUNT { get; }
Property Value
System.String
DOMAIN_SUFFIX
The domain suffix for a region (e.g: 'amazonaws.com`).
public static string DOMAIN_SUFFIX { get; }
Property Value
System.String
EBS_ENV_ENDPOINT_HOSTED_ZONE_ID
The hosted zone ID used by Route 53 to alias a EBS environment endpoint in this region (e.g: Z2O1EMRO9K5GLX).
public static string EBS_ENV_ENDPOINT_HOSTED_ZONE_ID { get; }
Property Value
System.String
ELBV2_ACCOUNT
The account for ELBv2 in this region.
public static string ELBV2_ACCOUNT { get; }
Property Value
System.String
FIREHOSE_CIDR_BLOCK
The CIDR block used by Kinesis Data Firehose servers.
public static string FIREHOSE_CIDR_BLOCK { get; }
Property Value
System.String
IS_OPT_IN_REGION
Whether the given region is an opt-in region or not.
public static string IS_OPT_IN_REGION { get; }
Property Value
System.String
Remarks
The value is a boolean
modelled as YES
or NO
.
PARTITION
The name of the partition for a region (e.g: 'aws', 'aws-cn', ...).
public static string PARTITION { get; }
Property Value
System.String
S3_STATIC_WEBSITE_ENDPOINT
The endpoint used for hosting S3 static websites.
public static string S3_STATIC_WEBSITE_ENDPOINT { get; }
Property Value
System.String
S3_STATIC_WEBSITE_ZONE_53_HOSTED_ZONE_ID
The endpoint used for aliasing S3 static websites in Route 53.
public static string S3_STATIC_WEBSITE_ZONE_53_HOSTED_ZONE_ID { get; }
Property Value
System.String
SAML_SIGN_ON_URL
The SAML Sign On URL for partition used by IAM SAML Principal.
public static string SAML_SIGN_ON_URL { get; }
Property Value
System.String
VPC_ENDPOINT_SERVICE_NAME_PREFIX
The prefix for VPC Endpoint Service names, cn.com.amazonaws.vpce for China regions, com.amazonaws.vpce otherwise.
public static string VPC_ENDPOINT_SERVICE_NAME_PREFIX { get; }
Property Value
System.String
Methods
AdotLambdaLayer(String, String, String)
The ARN of Amazon Distro for OpenTelemetry (ADOT) Lambda layer for a given lambda type, version and architecture.
public static string AdotLambdaLayer(string type, string version, string architecture)
Parameters
- type System.String
the type of the ADOT lambda layer.
- version System.String
the layer version.
- architecture System.String
the Lambda Function architecture (e.g. 'x86_64' or 'arm64').
Returns
System.String
AppConfigLambdaLayerVersion(String, String)
The ARN of AppConfig Lambda Layer for a given version (e.g. 2.0.181).
public static string AppConfigLambdaLayerVersion(string version, string arch = null)
Parameters
- version System.String
The layer version.
- arch System.String
The architecture (optional), defaults to x86_64.
Returns
System.String
CloudwatchLambdaInsightsVersion(String, String)
The ARN of CloudWatch Lambda Insights for a version (e.g. 1.0.98.0).
public static string CloudwatchLambdaInsightsVersion(string version, string arch = null)
Parameters
- version System.String
- arch System.String
Returns
System.String
ParamsAndSecretsLambdaLayer(String, String)
The ARN of Parameters and Secrets Lambda layer for a given lambda architecture.
public static string ParamsAndSecretsLambdaLayer(string version, string architecture)
Parameters
- version System.String
the layer version.
- architecture System.String
the Lambda Function architecture (e.g. 'x86_64' or 'arm64').
Returns
System.String
ServicePrincipal(String)
The name of the regional service principal for a given service.
public static string ServicePrincipal(string service)
Parameters
- service System.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
System.String