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.InitializationModeNested classes/interfaces inherited from interface software.amazon.awscdk.services.autoscaling.CfnLaunchConfiguration.BlockDeviceMappingProperty
CfnLaunchConfiguration.BlockDeviceMappingProperty.Builder, CfnLaunchConfiguration.BlockDeviceMappingProperty.Jsii$Proxy -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedConstructor that initializes the object based on literal property values passed by theCfnLaunchConfiguration.BlockDeviceMappingProperty.Builder.protectedJsii$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.JsonNodefinal booleanfinal StringThe device name assigned to the volume (for example,/dev/sdhorxvdh).final ObjectgetEbs()Information to attach an EBS volume to an instance at launch.final ObjectSetting this value totrueprevents a volume that is included in the block device mapping of the AMI from being mapped to the specified device name at launch.final StringThe name of the instance store volume (virtual device) to attach to an instance at launch.final inthashCode()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.BlockDeviceMappingPropertyThe device name assigned to the volume (for example,/dev/sdhorxvdh).For more information, see Device naming on Linux instances in the Amazon EC2 User Guide .
To define a block device mapping, set the device name and exactly one of the following properties:
Ebs,NoDevice, orVirtualName.- Specified by:
getDeviceNamein interfaceCfnLaunchConfiguration.BlockDeviceMappingProperty- See Also:
-
getEbs
Description copied from interface:CfnLaunchConfiguration.BlockDeviceMappingPropertyInformation to attach an EBS volume to an instance at launch.Returns union: either
IResolvableorCfnLaunchConfiguration.BlockDeviceProperty- Specified by:
getEbsin interfaceCfnLaunchConfiguration.BlockDeviceMappingProperty- See Also:
-
getNoDevice
Description copied from interface:CfnLaunchConfiguration.BlockDeviceMappingPropertySetting this value totrueprevents a volume that is included in the block device mapping of the AMI from being mapped to the specified device name at launch.If
NoDeviceistruefor the root device, instances might fail the EC2 health check. In that case, Amazon EC2 Auto Scaling launches replacement instances.Returns union: either
BooleanorIResolvable- Specified by:
getNoDevicein interfaceCfnLaunchConfiguration.BlockDeviceMappingProperty- See Also:
-
getVirtualName
Description copied from interface:CfnLaunchConfiguration.BlockDeviceMappingPropertyThe 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:
getVirtualNamein interfaceCfnLaunchConfiguration.BlockDeviceMappingProperty- See Also:
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()- Specified by:
$jsii$toJsonin interfacesoftware.amazon.jsii.JsiiSerializable
-
equals
-
hashCode
public final int hashCode()
-