BlockDeviceMapping
import type { BlockDeviceMapping } from "https://aws-api.deno.dev/v0.4/services/autoscaling.ts?docs=full";
Describes a block device mapping.
interface BlockDeviceMapping {
DeviceName: string;
Ebs?: Ebs | null;
NoDevice?: boolean | null;
VirtualName?: string | null;
}§Properties
§
DeviceName: string
[src]The device name assigned to the volume (for example, /dev/sdh
or xvdh
).
For more information, see Device naming on Linux instances in the Amazon EC2 User Guide for Linux Instances.
Note:
To define a block device mapping, set the device name and exactly one of the following properties: Ebs
, NoDevice
, or VirtualName
.
§
NoDevice?: boolean | null
[src]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.
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.