@Generated(value="jsii-pacmak/1.30.0 (build adae23f)", date="2021-06-30T10:01:06.506Z") @Stability(value=Experimental) public interface BlockDevice extends software.amazon.jsii.JsiiSerializable
| Modifier and Type | Interface and Description |
|---|---|
static class |
BlockDevice.Builder
A builder for
BlockDevice |
static class |
BlockDevice.Jsii$Proxy
An implementation for
BlockDevice |
| Modifier and Type | Method and Description |
|---|---|
static BlockDevice.Builder |
builder() |
String |
getDeviceName()
(experimental) The device name exposed to the EC2 instance.
|
default Boolean |
getMappingEnabled()
(experimental) If false, the device mapping will be suppressed.
|
BlockDeviceVolume |
getVolume()
(experimental) Defines the block device volume, to be either an Amazon EBS volume or an ephemeral instance store volume.
|
@Stability(value=Experimental) @NotNull String getDeviceName()
Example:
// Example automatically generated without compilation. See https://github.com/aws/jsii/issues/826 "/dev/sdh" , "xvdh";
https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/device_naming.html@Stability(value=Experimental) @NotNull BlockDeviceVolume getVolume()
Example:
// Example automatically generated without compilation. See https://github.com/aws/jsii/issues/826 BlockDeviceVolume.ebs(15) , BlockDeviceVolume.ephemeral(0);
@Stability(value=Experimental) @Nullable default Boolean getMappingEnabled()
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
@Stability(value=Experimental) static BlockDevice.Builder builder()
BlockDevice.Builder of BlockDeviceCopyright © 2021. All rights reserved.