@Stability(value=Stable)
public static interface CfnLaunchTemplate.BlockDeviceMappingProperty
extends software.amazon.jsii.JsiiSerializable
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.ec2.*;
BlockDeviceMappingProperty blockDeviceMappingProperty = BlockDeviceMappingProperty.builder()
.deviceName("deviceName")
.ebs(EbsProperty.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 |
CfnLaunchTemplate.BlockDeviceMappingProperty.Builder
A builder for
CfnLaunchTemplate.BlockDeviceMappingProperty |
static class |
CfnLaunchTemplate.BlockDeviceMappingProperty.Jsii$Proxy
An implementation for
CfnLaunchTemplate.BlockDeviceMappingProperty |
| Modifier and Type | Method and Description |
|---|---|
static CfnLaunchTemplate.BlockDeviceMappingProperty.Builder |
builder() |
default String |
getDeviceName()
`CfnLaunchTemplate.BlockDeviceMappingProperty.DeviceName`.
|
default Object |
getEbs()
`CfnLaunchTemplate.BlockDeviceMappingProperty.Ebs`.
|
default String |
getNoDevice()
`CfnLaunchTemplate.BlockDeviceMappingProperty.NoDevice`.
|
default String |
getVirtualName()
`CfnLaunchTemplate.BlockDeviceMappingProperty.VirtualName`.
|
@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 CfnLaunchTemplate.BlockDeviceMappingProperty.Builder builder()
Copyright © 2021. All rights reserved.