LaunchTemplateBlockDeviceMapping

data class LaunchTemplateBlockDeviceMapping(val deviceName: String? = null, val ebs: LaunchTemplateEbs? = null, val noDevice: String? = null, val virtualName: String? = null)

Specifies a block device mapping for a launch template. You must specify `DeviceName` plus exactly one of the following properties: `Ebs`, `NoDevice`, or `VirtualName`. `BlockDeviceMapping` is a property of AWS::EC2::LaunchTemplate LaunchTemplateData.

Constructors

Link copied to clipboard
constructor(deviceName: String? = null, ebs: LaunchTemplateEbs? = null, noDevice: String? = null, virtualName: String? = null)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val deviceName: String? = null

The device name (for example, /dev/sdh or xvdh).

Link copied to clipboard
val ebs: LaunchTemplateEbs? = null

Parameters used to automatically set up EBS volumes when the instance is launched.

Link copied to clipboard
val noDevice: String? = null

To omit the device from the block device mapping, specify an empty string.

Link copied to clipboard
val virtualName: String? = null

The virtual device name (ephemeralN). Instance store volumes are numbered starting from 0. An instance type with 2 available instance store volumes can specify mappings for ephemeral0 and ephemeral1. The number of available instance store volumes depends on the instance type. After you connect to the instance, you must mount the volume.