Interface CfnContainerRecipe.EbsInstanceBlockDeviceSpecificationProperty

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
CfnContainerRecipe.EbsInstanceBlockDeviceSpecificationProperty.Jsii$Proxy
Enclosing class:
CfnContainerRecipe

@Stability(Stable) public static interface CfnContainerRecipe.EbsInstanceBlockDeviceSpecificationProperty extends software.amazon.jsii.JsiiSerializable
Amazon EBS-specific block device mapping specifications.

Example:

 // The code below shows an example of how to instantiate this type.
 // The values are placeholders you should change.
 import software.amazon.awscdk.services.imagebuilder.*;
 EbsInstanceBlockDeviceSpecificationProperty ebsInstanceBlockDeviceSpecificationProperty = EbsInstanceBlockDeviceSpecificationProperty.builder()
         .deleteOnTermination(false)
         .encrypted(false)
         .iops(123)
         .kmsKeyId("kmsKeyId")
         .snapshotId("snapshotId")
         .throughput(123)
         .volumeSize(123)
         .volumeType("volumeType")
         .build();
 
  • Method Details

    • getDeleteOnTermination

      @Stability(Stable) @Nullable default Object getDeleteOnTermination()
      Use to configure delete on termination of the associated device.
    • getEncrypted

      @Stability(Stable) @Nullable default Object getEncrypted()
      Use to configure device encryption.
    • getIops

      @Stability(Stable) @Nullable default Number getIops()
      Use to configure device IOPS.
    • getKmsKeyId

      @Stability(Stable) @Nullable default String getKmsKeyId()
      Use to configure the KMS key to use when encrypting the device.
    • getSnapshotId

      @Stability(Stable) @Nullable default String getSnapshotId()
      The snapshot that defines the device contents.
    • getThroughput

      @Stability(Stable) @Nullable default Number getThroughput()
      For GP3 volumes only – The throughput in MiB/s that the volume supports.
    • getVolumeSize

      @Stability(Stable) @Nullable default Number getVolumeSize()
      Use to override the device's volume size.
    • getVolumeType

      @Stability(Stable) @Nullable default String getVolumeType()
      Use to override the device's volume type.
    • builder

      Returns:
      a CfnContainerRecipe.EbsInstanceBlockDeviceSpecificationProperty.Builder of CfnContainerRecipe.EbsInstanceBlockDeviceSpecificationProperty