Skip to content

ResourceProps

Construction properties for {@link Resource}.

Initializer

using AlibabaCloud.SDK.ROS.CDK.Core;
new ResourceProps {
    string PhysicalName = null
};

Properties

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

PhysicalNameOptional

public string PhysicalName { get; set; }
  • 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.