Class CfnLaunchConfiguration.BlockDeviceMappingProperty.Jsii$Proxy
java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.autoscaling.CfnLaunchConfiguration.BlockDeviceMappingProperty.Jsii$Proxy
- All Implemented Interfaces:
CfnLaunchConfiguration.BlockDeviceMappingProperty
,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
CfnLaunchConfiguration.BlockDeviceMappingProperty
@Stability(Stable)
@Internal
public static final class CfnLaunchConfiguration.BlockDeviceMappingProperty.Jsii$Proxy
extends software.amazon.jsii.JsiiObject
implements CfnLaunchConfiguration.BlockDeviceMappingProperty
An implementation for
CfnLaunchConfiguration.BlockDeviceMappingProperty
-
Nested Class Summary
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode
Nested classes/interfaces inherited from interface software.amazon.awscdk.services.autoscaling.CfnLaunchConfiguration.BlockDeviceMappingProperty
CfnLaunchConfiguration.BlockDeviceMappingProperty.Builder, CfnLaunchConfiguration.BlockDeviceMappingProperty.Jsii$Proxy
-
Constructor Summary
ModifierConstructorDescriptionprotected
Constructor that initializes the object based on literal property values passed by theCfnLaunchConfiguration.BlockDeviceMappingProperty.Builder
.protected
Jsii$Proxy
(software.amazon.jsii.JsiiObjectRef objRef) Constructor that initializes the object based on values retrieved from the JsiiObject. -
Method Summary
Modifier and TypeMethodDescriptioncom.fasterxml.jackson.databind.JsonNode
final boolean
final String
The device name assigned to the volume (for example,/dev/sdh
orxvdh
).final Object
getEbs()
Information to attach an EBS volume to an instance at launch.final Object
Setting this value totrue
prevents a volume that is included in the block device mapping of the AMI from being mapped to the specified device name at launch.final String
The name of the instance store volume (virtual device) to attach to an instance at launch.final int
hashCode()
Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
-
Constructor Details
-
Jsii$Proxy
protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef) Constructor that initializes the object based on values retrieved from the JsiiObject.- Parameters:
objRef
- Reference to the JSII managed object.
-
Jsii$Proxy
Constructor that initializes the object based on literal property values passed by theCfnLaunchConfiguration.BlockDeviceMappingProperty.Builder
.
-
-
Method Details
-
getDeviceName
Description copied from interface:CfnLaunchConfiguration.BlockDeviceMappingProperty
The device name assigned to the volume (for example,/dev/sdh
orxvdh
).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
.- Specified by:
getDeviceName
in interfaceCfnLaunchConfiguration.BlockDeviceMappingProperty
-
getEbs
Description copied from interface:CfnLaunchConfiguration.BlockDeviceMappingProperty
Information to attach an EBS volume to an instance at launch.- Specified by:
getEbs
in interfaceCfnLaunchConfiguration.BlockDeviceMappingProperty
-
getNoDevice
Description copied from interface:CfnLaunchConfiguration.BlockDeviceMappingProperty
Setting this value totrue
prevents a volume that is included in the block device mapping of the AMI from being mapped to the specified device name at launch.If
NoDevice
istrue
for the root device, instances might fail the EC2 health check. In that case, Amazon EC2 Auto Scaling launches replacement instances.- Specified by:
getNoDevice
in interfaceCfnLaunchConfiguration.BlockDeviceMappingProperty
-
getVirtualName
Description copied from interface:CfnLaunchConfiguration.BlockDeviceMappingProperty
The name of the instance store volume (virtual device) to attach to an instance at launch.The name must be in the form ephemeral X where X is a number starting from zero (0), for example,
ephemeral0
.- Specified by:
getVirtualName
in interfaceCfnLaunchConfiguration.BlockDeviceMappingProperty
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()- Specified by:
$jsii$toJson
in interfacesoftware.amazon.jsii.JsiiSerializable
-
equals
-
hashCode
public final int hashCode()
-