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.116.0 (build 0eddcff)",
date="2025-10-29T11:15:37.794Z")
@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.ec2.*;
EbsDeviceSnapshotOptions ebsDeviceSnapshotOptions = EbsDeviceSnapshotOptions.builder()
.deleteOnTermination(false)
.iops(123)
.throughput(123)
.volumeSize(123)
.volumeType(EbsDeviceVolumeType.STANDARD)
.build();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forEbsDeviceSnapshotOptionsstatic final classAn implementation forEbsDeviceSnapshotOptions -
Method Summary
Methods inherited from interface software.amazon.awscdk.services.ec2.EbsDeviceOptionsBase
getDeleteOnTermination, getIops, getThroughput, getVolumeTypeMethods 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.BuilderofEbsDeviceSnapshotOptions
-