@Stability(value=Stable) @Internal public static final class EbsDeviceOptions.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements EbsDeviceOptions
EbsDeviceOptionssoftware.amazon.jsii.JsiiObject.InitializationModeEbsDeviceOptions.Builder, EbsDeviceOptions.Jsii$Proxy| Modifier | Constructor and Description |
|---|---|
protected |
Jsii$Proxy(EbsDeviceOptions.Builder builder)
Constructor that initializes the object based on literal property values passed by the
EbsDeviceOptions.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.
|
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(EbsDeviceOptions.Builder builder)
EbsDeviceOptions.Builder.public 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 EbsDeviceOptionspublic final Boolean getDeleteOnTermination()
EbsDeviceOptionsBaseDefault: - true for Amazon EC2 Auto Scaling, false otherwise (e.g. EBS)
getDeleteOnTermination in interface EbsDeviceOptionsBasepublic final Number getIops()
EbsDeviceOptionsBaseMust 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 EbsDeviceOptionsBasepublic final EbsDeviceVolumeType getVolumeType()
EbsDeviceOptionsBase
Default: EbsDeviceVolumeType.GP2
getVolumeType in interface EbsDeviceOptionsBase@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
$jsii$toJson in interface software.amazon.jsii.JsiiSerializableCopyright © 2022. All rights reserved.