@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:36.808Z") @Stability(value=Stable) public interface EbsDeviceSnapshotOptions extends software.amazon.jsii.JsiiSerializable, EbsDeviceOptionsBase
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.autoscaling.*;
EbsDeviceSnapshotOptions ebsDeviceSnapshotOptions = EbsDeviceSnapshotOptions.builder()
.deleteOnTermination(false)
.iops(123)
.volumeSize(123)
.volumeType(EbsDeviceVolumeType.STANDARD)
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
EbsDeviceSnapshotOptions.Builder
A builder for
EbsDeviceSnapshotOptions |
static class |
EbsDeviceSnapshotOptions.Jsii$Proxy
An implementation for
EbsDeviceSnapshotOptions |
| Modifier and Type | Method and Description |
|---|---|
static EbsDeviceSnapshotOptions.Builder |
builder() |
default Number |
getVolumeSize()
The volume size, in Gibibytes (GiB).
|
getDeleteOnTermination, getIops, getVolumeType@Stability(value=Stable) @Nullable default Number getVolumeSize()
If you specify volumeSize, it must be equal or greater than the size of the snapshot.
Default: - The snapshot size
@Stability(value=Stable) static EbsDeviceSnapshotOptions.Builder builder()
builder in interface EbsDeviceOptionsBaseEbsDeviceSnapshotOptions.Builder of EbsDeviceSnapshotOptionsCopyright © 2022. All rights reserved.