Class EbsDeviceProps.Jsii$Proxy
java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.autoscaling.EbsDeviceProps.Jsii$Proxy
- All Implemented Interfaces:
EbsDeviceOptionsBase
,EbsDeviceProps
,EbsDeviceSnapshotOptions
,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
EbsDeviceProps
@Stability(Stable)
@Internal
public static final class EbsDeviceProps.Jsii$Proxy
extends software.amazon.jsii.JsiiObject
implements EbsDeviceProps
An implementation for
EbsDeviceProps
-
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.autoscaling.EbsDeviceProps
EbsDeviceProps.Builder, EbsDeviceProps.Jsii$Proxy
-
Constructor Summary
ModifierConstructorDescriptionprotected
Jsii$Proxy
(EbsDeviceProps.Builder builder) Constructor that initializes the object based on literal property values passed by theEbsDeviceProps.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 Number
getIops()
The number of I/O operations per second (IOPS) to provision for the volume.final String
The snapshot ID of the volume to use.final Number
The throughput that the volume supports, in MiB/s Takes a minimum of 125 and maximum of 1000.final Number
The volume size, in Gibibytes (GiB).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 theEbsDeviceProps.Builder
.
-
-
Method Details
-
getSnapshotId
Description copied from interface:EbsDeviceProps
The snapshot ID of the volume to use.Default: - No snapshot will be used
- Specified by:
getSnapshotId
in interfaceEbsDeviceProps
-
getVolumeSize
Description copied from interface:EbsDeviceSnapshotOptions
The 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:
getVolumeSize
in interfaceEbsDeviceSnapshotOptions
-
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
volumeType
: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`
- Specified by:
getIops
in interfaceEbsDeviceOptionsBase
- See Also:
-
getThroughput
Description copied from interface:EbsDeviceOptionsBase
The throughput that the volume supports, in MiB/s Takes a minimum of 125 and maximum of 1000.Default: - 125 MiB/s. Only valid on gp3 volumes.
- Specified by:
getThroughput
in interfaceEbsDeviceOptionsBase
- See Also:
-
getVolumeType
Description copied from interface:EbsDeviceOptionsBase
The EBS volume type.Default: `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()
-