@Generated(value="jsii-pacmak/1.74.0 (build 6d08790)",
date="2023-03-22T19:35:47.988Z")
public interface 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.*; EbsDeviceOptionsBase ebsDeviceOptionsBase = EbsDeviceOptionsBase.builder() .deleteOnTermination(false) .iops(123) .volumeType(EbsDeviceVolumeType.STANDARD) .build();
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 java.lang.Boolean |
getDeleteOnTermination()
Indicates whether to delete the volume when the instance is terminated.
|
default java.lang.Number |
getIops()
The number of I/O operations per second (IOPS) to provision for the volume.
|
default EbsDeviceVolumeType |
getVolumeType()
The EBS volume type.
|
default java.lang.Boolean getDeleteOnTermination()
Default: - true for Amazon EC2 Auto Scaling, false otherwise (e.g. EBS)
default java.lang.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
default EbsDeviceVolumeType getVolumeType()
Default: EbsDeviceVolumeType.GP2
static EbsDeviceOptionsBase.Builder builder()
EbsDeviceOptionsBase.Builder
of EbsDeviceOptionsBase