@Stability(value=Stable) public static final class BlockDevice.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements BlockDevice
BlockDevice
software.amazon.jsii.JsiiObject.InitializationMode
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(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
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 String getDeviceName()
BlockDevice
Example:
// Example automatically generated without compilation. See https://github.com/aws/jsii/issues/826 "/dev/sdh" , "xvdh";
getDeviceName
in interface BlockDevice
https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/device_naming.html
public BlockDeviceVolume getVolume()
BlockDevice
Example:
// Example automatically generated without compilation. See https://github.com/aws/jsii/issues/826 BlockDeviceVolume.ebs(15) , BlockDeviceVolume.ephemeral(0);
getVolume
in interface BlockDevice
public 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()
$jsii$toJson
in interface software.amazon.jsii.JsiiSerializable
Copyright © 2020. All rights reserved.