Interface CfnImageRecipe.InstanceBlockDeviceMappingProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnImageRecipe.InstanceBlockDeviceMappingProperty.Jsii$Proxy
- Enclosing class:
CfnImageRecipe
@Stability(Stable)
public static interface CfnImageRecipe.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();
- See Also:
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forCfnImageRecipe.InstanceBlockDeviceMappingProperty
static final class
An implementation forCfnImageRecipe.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
Enter an empty string to remove a mapping from the parent image.default String
Manages the instance ephemeral devices.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getDeviceName
The device to which these mappings apply.- See Also:
-
getEbs
Use to manage Amazon EBS-specific configuration for this mapping.- See Also:
-
getNoDevice
Enter an empty string to remove a mapping from the parent image.The following is an example of an empty string value in the
NoDevice
field.NoDevice:""
- See Also:
-
getVirtualName
Manages the instance ephemeral devices.- See Also:
-
builder
-