Skip to content

ResourceProps

Construction properties for {@link Resource}.

Initializer

import "github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore"
&alicloudroscdkcore.ResourceProps {
    PhysicalName: *string,
}

Properties

Name Type Description
PhysicalName *string The value passed in by users to the physical name prop of the resource.

PhysicalNameOptional

PhysicalName *string
  • Type: *string
  • 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.