public static final class BlockDevice.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements BlockDevice
BlockDevice
BlockDevice.Builder, BlockDevice.Jsii$Proxy
Modifier | Constructor and Description |
---|---|
protected |
Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
Constructor that initializes the object based on values retrieved from the JsiiObject.
|
Modifier and Type | Method and Description |
---|---|
com.fasterxml.jackson.databind.JsonNode |
$jsii$toJson() |
boolean |
equals(java.lang.Object o) |
java.lang.String |
getDeviceName()
The device name exposed to the EC2 instance.
|
java.lang.Boolean |
getMappingEnabled()
(deprecated) If false, the device mapping will be suppressed.
|
BlockDeviceVolume |
getVolume()
Defines the block device volume, to be either an Amazon EBS volume or an ephemeral instance store volume.
|
int |
hashCode() |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
builder
protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
objRef
- Reference to the JSII managed object.public final java.lang.String getDeviceName()
BlockDevice
Supply a value like /dev/sdh
, xvdh
.
getDeviceName
in interface BlockDevice
public final BlockDeviceVolume getVolume()
BlockDevice
Supply a value like BlockDeviceVolume.ebs(15)
, BlockDeviceVolume.ephemeral(0)
.
getVolume
in interface BlockDevice
public final java.lang.Boolean getMappingEnabled()
BlockDevice
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
getMappingEnabled
in interface BlockDevice
public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
public final boolean equals(java.lang.Object o)
public final int hashCode()