@Stability(value=Stable)
public static interface CfnImageRecipe.EbsInstanceBlockDeviceSpecificationProperty
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.*;
EbsInstanceBlockDeviceSpecificationProperty ebsInstanceBlockDeviceSpecificationProperty = EbsInstanceBlockDeviceSpecificationProperty.builder()
.deleteOnTermination(false)
.encrypted(false)
.iops(123)
.kmsKeyId("kmsKeyId")
.snapshotId("snapshotId")
.throughput(123)
.volumeSize(123)
.volumeType("volumeType")
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnImageRecipe.EbsInstanceBlockDeviceSpecificationProperty.Builder
|
static class |
CfnImageRecipe.EbsInstanceBlockDeviceSpecificationProperty.Jsii$Proxy
An implementation for
CfnImageRecipe.EbsInstanceBlockDeviceSpecificationProperty |
| Modifier and Type | Method and Description |
|---|---|
static CfnImageRecipe.EbsInstanceBlockDeviceSpecificationProperty.Builder |
builder() |
default Object |
getDeleteOnTermination()
Configures delete on termination of the associated device.
|
default Object |
getEncrypted()
Use to configure device encryption.
|
default Number |
getIops()
Use to configure device IOPS.
|
default String |
getKmsKeyId()
Use to configure the KMS key to use when encrypting the device.
|
default String |
getSnapshotId()
The snapshot that defines the device contents.
|
default Number |
getThroughput()
*For GP3 volumes only* – The throughput in MiB/s that the volume supports.
|
default Number |
getVolumeSize()
Overrides the volume size of the device.
|
default String |
getVolumeType()
Overrides the volume type of the device.
|
@Stability(value=Stable) @Nullable default Object getDeleteOnTermination()
@Stability(value=Stable) @Nullable default Object getEncrypted()
@Stability(value=Stable) @Nullable default Number getIops()
@Stability(value=Stable) @Nullable default String getKmsKeyId()
@Stability(value=Stable) @Nullable default String getSnapshotId()
@Stability(value=Stable) @Nullable default Number getThroughput()
@Stability(value=Stable) @Nullable default Number getVolumeSize()
@Stability(value=Stable) @Nullable default String getVolumeType()
@Stability(value=Stable) static CfnImageRecipe.EbsInstanceBlockDeviceSpecificationProperty.Builder builder()
Copyright © 2022. All rights reserved.