Interface CfnImageRecipe.EbsInstanceBlockDeviceSpecificationProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnImageRecipe.EbsInstanceBlockDeviceSpecificationProperty.Jsii$Proxy
- Enclosing class:
CfnImageRecipe
@Stability(Stable)
public static interface CfnImageRecipe.EbsInstanceBlockDeviceSpecificationProperty
extends software.amazon.jsii.JsiiSerializable
The image recipe EBS instance block device specification includes the Amazon EBS-specific block device mapping specifications for the image.
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();
- See Also:
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
static final class
An implementation forCfnImageRecipe.EbsInstanceBlockDeviceSpecificationProperty
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
default Object
Configures delete on termination of the associated device.default Object
Use to configure device encryption.default Number
getIops()
Use to configure device IOPS.default String
Use to configure the KMS key to use when encrypting the device.default String
The snapshot that defines the device contents.default Number
For GP3 volumes only – The throughput in MiB/s that the volume supports.default Number
Overrides the volume size of the device.default String
Overrides the volume type of the device.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getDeleteOnTermination
Configures delete on termination of the associated device.- See Also:
-
getEncrypted
Use to configure device encryption.- See Also:
-
getIops
Use to configure device IOPS.- See Also:
-
getKmsKeyId
Use to configure the KMS key to use when encrypting the device.- See Also:
-
getSnapshotId
The snapshot that defines the device contents.- See Also:
-
getThroughput
For GP3 volumes only – The throughput in MiB/s that the volume supports.- See Also:
-
getVolumeSize
Overrides the volume size of the device.- See Also:
-
getVolumeType
Overrides the volume type of the device.- See Also:
-
builder
@Stability(Stable) static CfnImageRecipe.EbsInstanceBlockDeviceSpecificationProperty.Builder builder()
-