Interface EbsDeviceOptionsBase
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Subinterfaces:
EbsDeviceOptions
,EbsDeviceProps
,EbsDeviceSnapshotOptions
- All Known Implementing Classes:
EbsDeviceOptions.Jsii$Proxy
,EbsDeviceOptionsBase.Jsii$Proxy
,EbsDeviceProps.Jsii$Proxy
,EbsDeviceSnapshotOptions.Jsii$Proxy
@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)",
date="2023-06-19T16:30:39.302Z")
@Stability(Stable)
public interface EbsDeviceOptionsBase
extends software.amazon.jsii.JsiiSerializable
Base block device options for an EBS volume.
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.*; EbsDeviceOptionsBase ebsDeviceOptionsBase = EbsDeviceOptionsBase.builder() .deleteOnTermination(false) .iops(123) .volumeType(EbsDeviceVolumeType.STANDARD) .build();
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forEbsDeviceOptionsBase
static final class
An implementation forEbsDeviceOptionsBase
-
Method Summary
Modifier and TypeMethodDescriptionstatic EbsDeviceOptionsBase.Builder
builder()
default Boolean
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
The EBS volume type.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getDeleteOnTermination
Indicates whether to delete the volume when the instance is terminated.Default: - true for Amazon EC2 Auto Scaling, false otherwise (e.g. EBS)
-
getIops
The number of I/O operations per second (IOPS) to provision for the volume.Must only be set for
invalid @link
volumeType
invalid @link
EbsDeviceVolumeType.IO1
Default: - none, required for
invalid @link
EbsDeviceVolumeType.IO1
- See Also:
-
getVolumeType
The EBS volume type.Default:
invalid @link
EbsDeviceVolumeType.GP2
- See Also:
-
builder
- Returns:
- a
EbsDeviceOptionsBase.Builder
ofEbsDeviceOptionsBase
-