Class EbsDeviceOptionsBase.Jsii$Proxy
- All Implemented Interfaces:
EbsDeviceOptionsBase,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
EbsDeviceOptionsBase
EbsDeviceOptionsBase-
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.EbsDeviceOptionsBase
EbsDeviceOptionsBase.Builder, EbsDeviceOptionsBase.Jsii$Proxy -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedJsii$Proxy(EbsDeviceOptionsBase.Builder builder) Constructor that initializes the object based on literal property values passed by theEbsDeviceOptionsBase.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 NumbergetIops()The number of I/O operations per second (IOPS) to provision for the volume.final NumberThe throughput to provision for agp3volume.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 theEbsDeviceOptionsBase.Builder.
-
-
Method Details
-
getDeleteOnTermination
Description copied from interface:EbsDeviceOptionsBaseIndicates 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
-
getIops
Description copied from interface:EbsDeviceOptionsBaseThe 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- See Also:
-
getThroughput
Description copied from interface:EbsDeviceOptionsBaseThe throughput to provision for agp3volume.Valid Range: Minimum value of 125. Maximum value of 1000.
gp3volumes deliver a consistent baseline throughput performance of 125 MiB/s. You can provision additional throughput for an additional cost at a ratio of 0.25 MiB/s per provisioned IOPS.Default: - 125 MiB/s.
- Specified by:
getThroughputin interfaceEbsDeviceOptionsBase- See Also:
-
getVolumeType
Description copied from interface:EbsDeviceOptionsBaseThe EBS volume type.Default: `EbsDeviceVolumeType.GENERAL_PURPOSE_SSD` or `EbsDeviceVolumeType.GENERAL_PURPOSE_SSD_GP3` if `@aws-cdk/aws-ec2:ebsDefaultGp3Volume` is enabled.
- Specified by:
getVolumeTypein interfaceEbsDeviceOptionsBase- 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()
-