@Stability(value=Stable)
public static interface CfnContainerRecipe.InstanceBlockDeviceMappingProperty
extends software.amazon.jsii.JsiiSerializable
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();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnContainerRecipe.InstanceBlockDeviceMappingProperty.Builder
A builder for
CfnContainerRecipe.InstanceBlockDeviceMappingProperty |
static class |
CfnContainerRecipe.InstanceBlockDeviceMappingProperty.Jsii$Proxy
An implementation for
CfnContainerRecipe.InstanceBlockDeviceMappingProperty |
| Modifier and Type | Method and Description |
|---|---|
static CfnContainerRecipe.InstanceBlockDeviceMappingProperty.Builder |
builder() |
default String |
getDeviceName()
The device to which these mappings apply.
|
default Object |
getEbs()
Use to manage Amazon EBS-specific configuration for this mapping.
|
default String |
getNoDevice()
Use to remove a mapping from the base image.
|
default String |
getVirtualName()
Use to manage instance ephemeral devices.
|
@Stability(value=Stable) @Nullable default String getDeviceName()
@Stability(value=Stable) @Nullable default Object getEbs()
@Stability(value=Stable) @Nullable default String getNoDevice()
@Stability(value=Stable) @Nullable default String getVirtualName()
@Stability(value=Stable) static CfnContainerRecipe.InstanceBlockDeviceMappingProperty.Builder builder()
Copyright © 2022. All rights reserved.