Class BlockDevice.Jsii$Proxy
java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.ec2.BlockDevice.Jsii$Proxy
- All Implemented Interfaces:
BlockDevice,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
BlockDevice
@Stability(Stable)
@Internal
public static final class BlockDevice.Jsii$Proxy
extends software.amazon.jsii.JsiiObject
implements BlockDevice
An implementation for
BlockDevice-
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.ec2.BlockDevice
BlockDevice.Builder, BlockDevice.Jsii$Proxy -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedJsii$Proxy(BlockDevice.Builder builder) Constructor that initializes the object based on literal property values passed by theBlockDevice.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 exposed to the EC2 instance.final BooleanIf false, the device mapping will be suppressed.final BlockDeviceVolumeDefines the block device volume, to be either an Amazon EBS volume or an ephemeral instance store volume.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 theBlockDevice.Builder.
-
-
Method Details
-
getDeviceName
Description copied from interface:BlockDeviceThe device name exposed to the EC2 instance.For example, a value like
/dev/sdh,xvdh.- Specified by:
getDeviceNamein interfaceBlockDevice- See Also:
-
getVolume
Description copied from interface:BlockDeviceDefines the block device volume, to be either an Amazon EBS volume or an ephemeral instance store volume.For example, a value like
BlockDeviceVolume.ebs(15),BlockDeviceVolume.ephemeral(0).- Specified by:
getVolumein interfaceBlockDevice
-
getMappingEnabled
Description copied from interface:BlockDeviceIf false, the device mapping will be suppressed.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
- Specified by:
getMappingEnabledin interfaceBlockDevice
-
$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()
-