Class EbsDeviceOptions.Jsii$Proxy
- All Implemented Interfaces:
EbsDeviceOptions
,EbsDeviceOptionsBase
,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
EbsDeviceOptions
EbsDeviceOptions
-
Nested Class Summary
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode
Nested classes/interfaces inherited from interface software.amazon.awscdk.services.ec2.EbsDeviceOptions
EbsDeviceOptions.Builder, EbsDeviceOptions.Jsii$Proxy
-
Constructor Summary
ModifierConstructorDescriptionprotected
Jsii$Proxy
(EbsDeviceOptions.Builder builder) Constructor that initializes the object based on literal property values passed by theEbsDeviceOptions.Builder
.protected
Jsii$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.JsonNode
final boolean
final Boolean
Indicates whether to delete the volume when the instance is terminated.final Boolean
Specifies whether the EBS volume is encrypted.final Number
getIops()
The number of I/O operations per second (IOPS) to provision for the volume.final IKey
The ARN of the AWS Key Management Service (AWS KMS) CMK used for encryption.final EbsDeviceVolumeType
The EBS volume type.final int
hashCode()
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 theEbsDeviceOptions.Builder
.
-
-
Method Details
-
getEncrypted
Description copied from interface:EbsDeviceOptions
Specifies whether the EBS volume is encrypted.Encrypted EBS volumes can only be attached to instances that support Amazon EBS encryption
Default: false
- Specified by:
getEncrypted
in interfaceEbsDeviceOptions
- See Also:
-
getKmsKey
Description copied from interface:EbsDeviceOptions
The 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:
getKmsKey
in interfaceEbsDeviceOptions
- See Also:
-
getDeleteOnTermination
Description copied from interface:EbsDeviceOptionsBase
Indicates whether to delete the volume when the instance is terminated.Default: - true for Amazon EC2 Auto Scaling, false otherwise (e.g. EBS)
- Specified by:
getDeleteOnTermination
in interfaceEbsDeviceOptionsBase
-
getIops
Description copied from interface:EbsDeviceOptionsBase
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
- Specified by:
getIops
in interfaceEbsDeviceOptionsBase
- See Also:
-
getVolumeType
Description copied from interface:EbsDeviceOptionsBase
The EBS volume type.Default:
invalid @link
EbsDeviceVolumeType.GP2
- Specified by:
getVolumeType
in interfaceEbsDeviceOptionsBase
- See Also:
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()- Specified by:
$jsii$toJson
in interfacesoftware.amazon.jsii.JsiiSerializable
-
equals
-
hashCode
public final int hashCode()
-