@Stability(value=Stable)
public static interface CfnLaunchConfiguration.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.autoscaling.*;
BlockDeviceMappingProperty blockDeviceMappingProperty = BlockDeviceMappingProperty.builder()
.deviceName("deviceName")
// the properties below are optional
.ebs(BlockDeviceProperty.builder()
.deleteOnTermination(false)
.encrypted(false)
.iops(123)
.snapshotId("snapshotId")
.throughput(123)
.volumeSize(123)
.volumeType("volumeType")
.build())
.noDevice(false)
.virtualName("virtualName")
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnLaunchConfiguration.BlockDeviceMappingProperty.Builder
A builder for
CfnLaunchConfiguration.BlockDeviceMappingProperty |
static class |
CfnLaunchConfiguration.BlockDeviceMappingProperty.Jsii$Proxy
An implementation for
CfnLaunchConfiguration.BlockDeviceMappingProperty |
| Modifier and Type | Method and Description |
|---|---|
static CfnLaunchConfiguration.BlockDeviceMappingProperty.Builder |
builder() |
String |
getDeviceName()
`CfnLaunchConfiguration.BlockDeviceMappingProperty.DeviceName`.
|
default Object |
getEbs()
`CfnLaunchConfiguration.BlockDeviceMappingProperty.Ebs`.
|
default Object |
getNoDevice()
`CfnLaunchConfiguration.BlockDeviceMappingProperty.NoDevice`.
|
default String |
getVirtualName()
`CfnLaunchConfiguration.BlockDeviceMappingProperty.VirtualName`.
|
@Stability(value=Stable) @NotNull String getDeviceName()
@Stability(value=Stable) @Nullable default Object getEbs()
@Stability(value=Stable) @Nullable default Object getNoDevice()
@Stability(value=Stable) @Nullable default String getVirtualName()
@Stability(value=Stable) static CfnLaunchConfiguration.BlockDeviceMappingProperty.Builder builder()
Copyright © 2021. All rights reserved.