Interface CfnVolumeProps

All Superinterfaces:
All Known Implementing Classes:

@Generated(value="jsii-pacmak/1.74.0 (build 6d08790)", date="2023-05-31T18:43:33.997Z") @Stability(Stable) public interface CfnVolumeProps extends
Properties for defining a `CfnVolume`.


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

    • getEc2VolumeId

      @Stability(Stable) @NotNull String getEc2VolumeId()
      The Amazon EC2 volume ID.
    • getStackId

      @Stability(Stable) @NotNull String getStackId()
      The stack ID.
    • getMountPoint

      @Stability(Stable) @Nullable default String getMountPoint()
      The volume mount point.

      For example, "/mnt/disk1".

    • getName

      @Stability(Stable) @Nullable default String getName()
      The volume name.

      Volume names are a maximum of 128 characters.

    • builder

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