Class BlockDevice.Jsii$Proxy
java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.ec2.BlockDevice.Jsii$Proxy
- All Implemented Interfaces:
BlockDevice
,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
BlockDevice
@Stability(Stable)
@Internal
public static final class BlockDevice.Jsii$Proxy
extends software.amazon.jsii.JsiiObject
implements BlockDevice
An implementation for
BlockDevice
-
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.BlockDevice
BlockDevice.Builder, BlockDevice.Jsii$Proxy
-
Constructor Summary
ModifierConstructorDescriptionprotected
Jsii$Proxy
(BlockDevice.Builder builder) Constructor that initializes the object based on literal property values passed by theBlockDevice.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 String
The device name exposed to the EC2 instance.final Boolean
If false, the device mapping will be suppressed.final BlockDeviceVolume
Defines the block device volume, to be either an Amazon EBS volume or an ephemeral instance store volume.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 theBlockDevice.Builder
.
-
-
Method Details
-
getDeviceName
Description copied from interface:BlockDevice
The device name exposed to the EC2 instance.For example, a value like
/dev/sdh
,xvdh
.- Specified by:
getDeviceName
in interfaceBlockDevice
- See Also:
-
getVolume
Description copied from interface:BlockDevice
Defines the block device volume, to be either an Amazon EBS volume or an ephemeral instance store volume.For example, a value like
BlockDeviceVolume.ebs(15)
,BlockDeviceVolume.ephemeral(0)
.- Specified by:
getVolume
in interfaceBlockDevice
-
getMappingEnabled
Description copied from interface:BlockDevice
If false, the device mapping will be suppressed.If set to false for the root device, the instance might fail the Amazon EC2 health check. Amazon EC2 Auto Scaling launches a replacement instance if the instance fails the health check.
Default: true - device mapping is left untouched
- Specified by:
getMappingEnabled
in interfaceBlockDevice
-
$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()
-