Interface CfnContainerRecipe.InstanceBlockDeviceMappingProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnContainerRecipe.InstanceBlockDeviceMappingProperty.Jsii$Proxy
- Enclosing class:
- CfnContainerRecipe
@Stability(Stable)
public static interface CfnContainerRecipe.InstanceBlockDeviceMappingProperty
extends software.amazon.jsii.JsiiSerializable
Defines block device mappings for the instance used to configure your 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.*;
InstanceBlockDeviceMappingProperty instanceBlockDeviceMappingProperty = InstanceBlockDeviceMappingProperty.builder()
.deviceName("deviceName")
.ebs(EbsInstanceBlockDeviceSpecificationProperty.builder()
.deleteOnTermination(false)
.encrypted(false)
.iops(123)
.kmsKeyId("kmsKeyId")
.snapshotId("snapshotId")
.throughput(123)
.volumeSize(123)
.volumeType("volumeType")
.build())
.noDevice("noDevice")
.virtualName("virtualName")
.build();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnContainerRecipe.InstanceBlockDeviceMappingPropertystatic final classAn implementation forCfnContainerRecipe.InstanceBlockDeviceMappingProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default StringThe device to which these mappings apply.default ObjectgetEbs()Use to manage Amazon EBS-specific configuration for this mapping.default StringUse to remove a mapping from the base image.default StringUse to manage instance ephemeral devices.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getDeviceName
The device to which these mappings apply. -
getEbs
Use to manage Amazon EBS-specific configuration for this mapping. -
getNoDevice
Use to remove a mapping from the base image. -
getVirtualName
Use to manage instance ephemeral devices. -
builder
-