@Stability(value=Stable) @Internal public static final class BlockDevice.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements BlockDevice
BlockDevicesoftware.amazon.jsii.JsiiObject.InitializationModeBlockDevice.Builder, BlockDevice.Jsii$Proxy| Modifier | Constructor and Description |
|---|---|
protected |
Jsii$Proxy(BlockDevice.Builder builder)
Constructor that initializes the object based on literal property values passed by the
BlockDevice.Builder. |
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(Object o) |
String |
getDeviceName()
The device name exposed to the EC2 instance.
|
Boolean |
getMappingEnabled()
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() |
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitbuilderprotected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
objRef - Reference to the JSII managed object.protected Jsii$Proxy(BlockDevice.Builder builder)
BlockDevice.Builder.public final String getDeviceName()
BlockDevice
For example, a value like /dev/sdh, xvdh.
getDeviceName in interface BlockDevicepublic final BlockDeviceVolume getVolume()
BlockDevice
For example, a value like BlockDeviceVolume.ebs(15), BlockDeviceVolume.ephemeral(0).
getVolume in interface BlockDevicepublic final Boolean getMappingEnabled()
BlockDeviceIf 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@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
$jsii$toJson in interface software.amazon.jsii.JsiiSerializableCopyright © 2022. All rights reserved.