@Generated(value="jsii-pacmak/1.5.0 (build 46538f8)", date="2020-05-21T11:01:44.909Z") @Stability(value=Stable) public interface EbsDeviceOptionsBase extends software.amazon.jsii.JsiiSerializable
Modifier and Type | Interface and Description |
---|---|
static class |
EbsDeviceOptionsBase.Builder
A builder for
EbsDeviceOptionsBase |
static class |
EbsDeviceOptionsBase.Jsii$Proxy
An implementation for
EbsDeviceOptionsBase |
Modifier and Type | Method and Description |
---|---|
static EbsDeviceOptionsBase.Builder |
builder() |
default Boolean |
getDeleteOnTermination()
Indicates whether to delete the volume when the instance is terminated.
|
default Number |
getIops()
The number of I/O operations per second (IOPS) to provision for the volume.
|
default EbsDeviceVolumeType |
getVolumeType()
The EBS volume type.
|
@Stability(value=Stable) @Nullable default Boolean getDeleteOnTermination()
Default: - true for Amazon EC2 Auto Scaling, false otherwise (e.g. EBS)
@Stability(value=Stable) @Nullable default Number getIops()
Must only be set for {@link volumeType}: {@link EbsDeviceVolumeType.IO1}
The maximum ratio of IOPS to volume size (in GiB) is 50:1, so for 5,000 provisioned IOPS, you need at least 100 GiB storage on the volume.
Default: - none, required for EbsDeviceVolumeType.IO1
https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EBSVolumeTypes.html
@Stability(value=Stable) @Nullable default EbsDeviceVolumeType getVolumeType()
Default: EbsDeviceVolumeType.GP2
https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EBSVolumeTypes.html
@Stability(value=Stable) static EbsDeviceOptionsBase.Builder builder()
EbsDeviceOptionsBase.Builder
of EbsDeviceOptionsBase
Copyright © 2020. All rights reserved.