ResourceProps

class aws_cdk.core.ResourceProps(*, physical_name=None)

Bases: object

__init__(*, physical_name=None)

Construction properties for {@link Resource}.

Parameters

physical_name (Optional[str]) – The value passed in by users to the physical name prop of the resource. - undefined implies that a physical name will be allocated by CloudFormation during deployment. - a concrete value implies a specific physical name - PhysicalName.GENERATE_IF_NEEDED is a marker that indicates that a physical will only be generated by the CDK if it is needed for cross-environment references. Otherwise, it will be allocated by CloudFormation. Default: - The physical name will be allocated by CloudFormation at deployment time

Attributes

physical_name

The value passed in by users to the physical name prop of the resource.

  • undefined implies that a physical name will be allocated by CloudFormation during deployment.

  • a concrete value implies a specific physical name

  • PhysicalName.GENERATE_IF_NEEDED is a marker that indicates that a physical will only be generated by the CDK if it is needed for cross-environment references. Otherwise, it will be allocated by CloudFormation.

default :default: - The physical name will be allocated by CloudFormation at deployment time

Return type

Optional[str]