@Stability(value=Stable) @Internal public static final class EbsDeviceProps.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements EbsDeviceProps
EbsDevicePropssoftware.amazon.jsii.JsiiObject.InitializationModeEbsDeviceProps.Builder, EbsDeviceProps.Jsii$Proxy| Modifier | Constructor and Description |
|---|---|
protected |
Jsii$Proxy(EbsDeviceProps.Builder builder)
Constructor that initializes the object based on literal property values passed by the
EbsDeviceProps.Builder. |
protected |
Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
Constructor that initializes the object based on values retrieved from the JsiiObject.
|
| Modifier and Type | Method and Description |
|---|---|
com.fasterxml.jackson.databind.JsonNode |
$jsii$toJson() |
boolean |
equals(Object o) |
Boolean |
getDeleteOnTermination()
Indicates whether to delete the volume when the instance is terminated.
|
Boolean |
getEncrypted()
Specifies whether the EBS volume is encrypted.
|
Number |
getIops()
The number of I/O operations per second (IOPS) to provision for the volume.
|
IKey |
getKmsKey()
The ARN of the AWS Key Management Service (AWS KMS) CMK used for encryption.
|
String |
getSnapshotId()
The snapshot ID of the volume to use.
|
Number |
getVolumeSize()
The volume size, in Gibibytes (GiB).
|
EbsDeviceVolumeType |
getVolumeType()
The EBS volume type.
|
int |
hashCode() |
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitbuilderprotected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
objRef - Reference to the JSII managed object.protected Jsii$Proxy(EbsDeviceProps.Builder builder)
EbsDeviceProps.Builder.public final String getSnapshotId()
EbsDevicePropsDefault: - No snapshot will be used
getSnapshotId in interface EbsDevicePropspublic final Number getVolumeSize()
EbsDeviceSnapshotOptionsIf you specify volumeSize, it must be equal or greater than the size of the snapshot.
Default: - The snapshot size
getVolumeSize in interface EbsDeviceSnapshotOptionspublic final Boolean getDeleteOnTermination()
EbsDevicePropsDefault: - true for Amazon EC2 Auto Scaling, false otherwise (e.g. EBS)
getDeleteOnTermination in interface EbsDeviceOptionsBasegetDeleteOnTermination in interface EbsDevicePropspublic final Number getIops()
EbsDevicePropsMust 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
getIops in interface EbsDeviceOptionsBasegetIops in interface EbsDevicePropspublic final EbsDeviceVolumeType getVolumeType()
EbsDeviceProps
Default: EbsDeviceVolumeType.GP2
getVolumeType in interface EbsDeviceOptionsBasegetVolumeType in interface EbsDevicePropspublic final Boolean getEncrypted()
EbsDeviceOptionsEncrypted EBS volumes can only be attached to instances that support Amazon EBS encryption
Default: false
getEncrypted in interface EbsDeviceOptionspublic final IKey getKmsKey()
EbsDeviceOptionsYou have to ensure that the KMS CMK has the correct permissions to be used by the service launching the ec2 instances.
Default: - If encrypted is true, the default aws/ebs KMS key will be used.
getKmsKey in interface EbsDeviceOptions@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
$jsii$toJson in interface software.amazon.jsii.JsiiSerializableCopyright © 2022. All rights reserved.