@Stability(value=Experimental) @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(software.amazon.jsii.JsiiObjectRef objRef)
Constructor that initializes the object based on values retrieved from the JsiiObject.
|
protected |
Jsii$Proxy(String deviceName,
BlockDeviceVolume volume,
Boolean mappingEnabled)
Constructor that initializes the object based on literal property values passed by the
BlockDevice.Builder. |
| Modifier and Type | Method and Description |
|---|---|
com.fasterxml.jackson.databind.JsonNode |
$jsii$toJson() |
boolean |
equals(Object o) |
String |
getDeviceName()
(experimental) The device name exposed to the EC2 instance.
|
Boolean |
getMappingEnabled()
(experimental) If false, the device mapping will be suppressed.
|
BlockDeviceVolume |
getVolume()
(experimental) 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(String deviceName, BlockDeviceVolume volume, Boolean mappingEnabled)
BlockDevice.Builder.public final String getDeviceName()
BlockDeviceExample:
// Example automatically generated without compilation. See https://github.com/aws/jsii/issues/826 "/dev/sdh" , "xvdh";
getDeviceName in interface BlockDevicehttps://docs.aws.amazon.com/AWSEC2/latest/UserGuide/device_naming.htmlpublic final BlockDeviceVolume getVolume()
BlockDeviceExample:
// Example automatically generated without compilation. See https://github.com/aws/jsii/issues/826 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 © 2021. All rights reserved.