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
Modifier and TypeInterfaceDescriptionstatic final class
A builder forCfnContainerRecipe.InstanceBlockDeviceMappingProperty
static final class
An implementation forCfnContainerRecipe.InstanceBlockDeviceMappingProperty
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
default String
The device to which these mappings apply.default Object
getEbs()
Use to manage Amazon EBS-specific configuration for this mapping.default String
Use to remove a mapping from the base image.default String
Use 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
-