Table of Contents

Class PhysicalName

Namespace
Amazon.CDK
Assembly
Amazon.CDK.dll

Includes special markers for automatic generation of physical names.

public class PhysicalName : DeputyBase
Inheritance
PhysicalName

Properties

GENERATE_IF_NEEDED

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

public static string GENERATE_IF_NEEDED { get; }

Property Value

string

Remarks

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 acrossed environments.