Class PhysicalName
Includes special markers for automatic generation of physical names.
Inheritance
Namespace: Amazon.CDK
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class PhysicalName : DeputyBase
Syntax (vb)
Public Class PhysicalName
Inherits DeputyBase
Synopsis
Constructors
PhysicalName(ByRefValue) | Used by jsii to construct an instance of this class from a Javascript-owned object reference |
PhysicalName(DeputyBase.DeputyProps) | Used by jsii to construct an instance of this class from DeputyProps |
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). |
Constructors
PhysicalName(ByRefValue)
Used by jsii to construct an instance of this class from a Javascript-owned object reference
protected PhysicalName(ByRefValue reference)
Parameters
- reference Amazon.JSII.Runtime.Deputy.ByRefValue
The Javascript-owned object reference
PhysicalName(DeputyBase.DeputyProps)
Used by jsii to construct an instance of this class from DeputyProps
protected PhysicalName(DeputyBase.DeputyProps props)
Parameters
- props Amazon.JSII.Runtime.Deputy.DeputyBase.DeputyProps
The deputy props
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
System.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 across environments.