Class EbsDeviceProps.Jsii$Proxy
- All Implemented Interfaces:
EbsDeviceOptions,EbsDeviceOptionsBase,EbsDeviceProps,EbsDeviceSnapshotOptions,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
- EbsDeviceProps
EbsDeviceProps-
Nested Class Summary
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.amazon.awscdk.services.ec2.EbsDeviceProps
EbsDeviceProps.Builder, EbsDeviceProps.Jsii$Proxy -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedJsii$Proxy(EbsDeviceProps.Builder builder) Constructor that initializes the object based on literal property values passed by theEbsDeviceProps.Builder.protectedJsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef) Constructor that initializes the object based on values retrieved from the JsiiObject. -
Method Summary
Modifier and TypeMethodDescriptioncom.fasterxml.jackson.databind.JsonNodefinal booleanfinal BooleanIndicates whether to delete the volume when the instance is terminated.final BooleanSpecifies whether the EBS volume is encrypted.final NumbergetIops()The number of I/O operations per second (IOPS) to provision for the volume.final IKeyThe ARN of the AWS Key Management Service (AWS KMS) CMK used for encryption.final StringThe snapshot ID of the volume to use.final NumberThe volume size, in Gibibytes (GiB).final EbsDeviceVolumeTypeThe EBS volume type.final inthashCode()Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
-
Constructor Details
-
Jsii$Proxy
protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef) Constructor that initializes the object based on values retrieved from the JsiiObject.- Parameters:
objRef- Reference to the JSII managed object.
-
Jsii$Proxy
Constructor that initializes the object based on literal property values passed by theEbsDeviceProps.Builder.
-
-
Method Details
-
getSnapshotId
Description copied from interface:EbsDevicePropsThe snapshot ID of the volume to use.Default: - No snapshot will be used
- Specified by:
getSnapshotIdin interfaceEbsDeviceProps
-
getVolumeSize
Description copied from interface:EbsDeviceSnapshotOptionsThe volume size, in Gibibytes (GiB).If you specify volumeSize, it must be equal or greater than the size of the snapshot.
Default: - The snapshot size
- Specified by:
getVolumeSizein interfaceEbsDeviceSnapshotOptions
-
getDeleteOnTermination
Description copied from interface:EbsDevicePropsIndicates whether to delete the volume when the instance is terminated.Default: - true for Amazon EC2 Auto Scaling, false otherwise (e.g. EBS)
- Specified by:
getDeleteOnTerminationin interfaceEbsDeviceOptionsBase- Specified by:
getDeleteOnTerminationin interfaceEbsDeviceProps
-
getIops
Description copied from interface:EbsDevicePropsThe number of I/O operations per second (IOPS) to provision for the volume.Must only be set for
volumeType:EbsDeviceVolumeType.IO1The 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- Specified by:
getIopsin interfaceEbsDeviceOptionsBase- Specified by:
getIopsin interfaceEbsDeviceProps- See Also:
-
getVolumeType
Description copied from interface:EbsDevicePropsThe EBS volume type.Default:
EbsDeviceVolumeType.GP2- Specified by:
getVolumeTypein interfaceEbsDeviceOptionsBase- Specified by:
getVolumeTypein interfaceEbsDeviceProps- See Also:
-
getEncrypted
Description copied from interface:EbsDeviceOptionsSpecifies whether the EBS volume is encrypted.Encrypted EBS volumes can only be attached to instances that support Amazon EBS encryption
Default: false
- Specified by:
getEncryptedin interfaceEbsDeviceOptions- See Also:
-
getKmsKey
Description copied from interface:EbsDeviceOptionsThe ARN of the AWS Key Management Service (AWS KMS) CMK used for encryption.You 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.
- Specified by:
getKmsKeyin interfaceEbsDeviceOptions- See Also:
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()- Specified by:
$jsii$toJsonin interfacesoftware.amazon.jsii.JsiiSerializable
-
equals
-
hashCode
public final int hashCode()
-