Skip to content

ResourceProps

Construction properties for {@link Resource}.

Initializer

import ros_cdk_core
ros_cdk_core.ResourceProps(
  physical_name: str = None
)

Properties

Name Type Description
physical_name str The value passed in by users to the physical name prop of the resource.

physical_nameOptional

physical_name: str
  • Type: str
  • Default: The physical name will be allocated at deployment time

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

  • undefined implies that a physical name will be allocated 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.