class PhysicalName
Language | Type name |
---|---|
.NET | Amazon.CDK.PhysicalName |
Go | github.com/aws/aws-cdk-go/awscdk/v2#PhysicalName |
Java | software.amazon.awscdk.PhysicalName |
Python | aws_cdk.PhysicalName |
TypeScript (source) | aws-cdk-lib » PhysicalName |
Includes special markers for automatic generation of physical names.
Properties
Name | Type | Description |
---|---|---|
static GENERATE_IF_NEEDED | string | Use this to automatically generate a physical name for an AWS resource only if the resource is referenced across environments (account/region). |
static GENERATE_IF_NEEDED
Type:
string
Use this to automatically generate a physical name for an AWS resource only if the resource is referenced across environments (account/region).
Otherwise, the name will be allocated during deployment by CloudFormation.
If you are certain that a resource will be referenced across environments, you may also specify an explicit physical name for it. This option is mostly designed for reusable constructs which may or may not be referenced across environments.