Skip to content
v2.273.0

PhysicalName Class ​

Includes special markers for automatic generation of physical names.

Properties ​

GENERATE_IF_NEEDEDstringgenerate_if_neededstrGENERATE_IF_NEEDEDStringGENERATE_IF_NEEDEDstringGENERATE_IF_NEEDED*stringrequiredstatic#
Use this to automatically generate a physical name for an AWS resource only if the resource is referenced across environments (account/region).
notes

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.