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();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classstatic final classAn implementation forCfnContainerRecipe.EbsInstanceBlockDeviceSpecificationProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default ObjectUse to configure delete on termination of the associated device.default ObjectUse to configure device encryption.default NumbergetIops()Use to configure device IOPS.default StringThe Amazon Resource Name (ARN) that uniquely identifies the KMS key to use when encrypting the device.default StringThe snapshot that defines the device contents.default NumberFor GP3 volumes only – The throughput in MiB/s that the volume supports.default NumberUse to override the device's volume size.default StringUse to override the device's volume type.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getDeleteOnTermination
Use to configure delete on termination of the associated device.Returns union: either
BooleanorIResolvable- See Also:
-
getEncrypted
Use to configure device encryption.Returns union: either
BooleanorIResolvable- See Also:
-
getIops
Use to configure device IOPS.- See Also:
-
getKmsKeyId
The Amazon Resource Name (ARN) that uniquely identifies the KMS key to use when encrypting the device.This can be either the Key ARN or the Alias ARN. For more information, see Key identifiers (KeyId) in the AWS Key Management Service Developer Guide .
- 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
Use to override the device's volume size.- See Also:
-
getVolumeType
Use to override the device's volume type.- See Also:
-
builder
@Stability(Stable) static CfnContainerRecipe.EbsInstanceBlockDeviceSpecificationProperty.Builder builder()
-