public static final class CfnLaunchConfiguration.BlockDeviceMappingProperty.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements CfnLaunchConfiguration.BlockDeviceMappingProperty
CfnLaunchConfiguration.BlockDeviceMappingProperty
CfnLaunchConfiguration.BlockDeviceMappingProperty.Builder, CfnLaunchConfiguration.BlockDeviceMappingProperty.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 assigned to the volume (for example, `/dev/sdh` or `xvdh` ).
|
java.lang.Object |
getEbs()
Information to attach an EBS volume to an instance at launch.
|
java.lang.Object |
getNoDevice()
Setting this value to `true` prevents a volume that is included in the block device mapping of the AMI from being mapped to the specified device name at launch.
|
java.lang.String |
getVirtualName()
The name of the instance store volume (virtual device) to attach to an instance at launch.
|
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()
CfnLaunchConfiguration.BlockDeviceMappingProperty
For more information, see Device naming on Linux instances in the Amazon EC2 User Guide for Linux Instances .
To define a block device mapping, set the device name and exactly one of the following properties:
Ebs
,NoDevice
, orVirtualName
.
getDeviceName
in interface CfnLaunchConfiguration.BlockDeviceMappingProperty
public final java.lang.Object getEbs()
CfnLaunchConfiguration.BlockDeviceMappingProperty
getEbs
in interface CfnLaunchConfiguration.BlockDeviceMappingProperty
public final java.lang.Object getNoDevice()
CfnLaunchConfiguration.BlockDeviceMappingProperty
If NoDevice
is true
for the root device, instances might fail the EC2 health check. In that case, Amazon EC2 Auto Scaling launches replacement instances.
getNoDevice
in interface CfnLaunchConfiguration.BlockDeviceMappingProperty
public final java.lang.String getVirtualName()
CfnLaunchConfiguration.BlockDeviceMappingProperty
The name must be in the form ephemeral X where X is a number starting from zero (0), for example, ephemeral0
.
getVirtualName
in interface CfnLaunchConfiguration.BlockDeviceMappingProperty
public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
public final boolean equals(java.lang.Object o)
public final int hashCode()