Interface CfnDiskProps

All Superinterfaces:
All Known Implementing Classes:

@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)", date="2023-06-19T16:29:59.732Z") @Stability(Stable) public interface CfnDiskProps extends
Properties for defining a CfnDisk.


 // The code below shows an example of how to instantiate this type.
 // The values are placeholders you should change.
 CfnDiskProps cfnDiskProps = CfnDiskProps.builder()
         // the properties below are optional
                 // the properties below are optional
  • Method Details

    • getDiskName

      @Stability(Stable) @NotNull String getDiskName()
      The name of the disk.
    • getSizeInGb

      @Stability(Stable) @NotNull Number getSizeInGb()
      The size of the disk in GB.
    • getAddOns

      @Stability(Stable) @Nullable default Object getAddOns()
      An array of add-ons for the disk.

      If the disk has an add-on enabled when performing a delete disk request, the add-on is automatically disabled before the disk is deleted.

    • getAvailabilityZone

      @Stability(Stable) @Nullable default String getAvailabilityZone()
      The AWS Region and Availability Zone location for the disk (for example, us-east-1a ).
    • getLocation

      @Stability(Stable) @Nullable default Object getLocation()
    • getTags

      @Stability(Stable) @Nullable default List<CfnTag> getTags()
      An array of key-value pairs to apply to this resource.

      For more information, see Tag in the AWS CloudFormation User Guide .

      The Value of Tags is optional for Lightsail resources.

    • builder

      @Stability(Stable) static CfnDiskProps.Builder builder()
      a CfnDiskProps.Builder of CfnDiskProps