Interface EbsDeviceSnapshotOptions
- All Superinterfaces:
EbsDeviceOptionsBase
,software.amazon.jsii.JsiiSerializable
- All Known Subinterfaces:
EbsDeviceProps
- All Known Implementing Classes:
EbsDeviceProps.Jsii$Proxy
,EbsDeviceSnapshotOptions.Jsii$Proxy
@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)",
date="2023-06-19T16:30:45.365Z")
@Stability(Stable)
public interface EbsDeviceSnapshotOptions
extends software.amazon.jsii.JsiiSerializable, EbsDeviceOptionsBase
Block device options for an EBS volume created from a snapshot.
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();
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forEbsDeviceSnapshotOptions
static final class
An implementation forEbsDeviceSnapshotOptions
-
Method Summary
Methods inherited from interface software.amazon.awscdk.services.autoscaling.EbsDeviceOptionsBase
getDeleteOnTermination, getIops, getVolumeType
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getVolumeSize
The volume size, in Gibibytes (GiB).If you specify volumeSize, it must be equal or greater than the size of the snapshot.
Default: - The snapshot size
-
builder
- Returns:
- a
EbsDeviceSnapshotOptions.Builder
ofEbsDeviceSnapshotOptions
-