/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Describes a block device mapping.See Also:
AWS
* API Reference
The name of the instance store volume (virtual device) to attach to an
* instance at launch. The name must be in the form ephemeralX where
* X is a number starting from zero (0), for example,
* ephemeral0
.
The name of the instance store volume (virtual device) to attach to an
* instance at launch. The name must be in the form ephemeralX where
* X is a number starting from zero (0), for example,
* ephemeral0
.
The name of the instance store volume (virtual device) to attach to an
* instance at launch. The name must be in the form ephemeralX where
* X is a number starting from zero (0), for example,
* ephemeral0
.
The name of the instance store volume (virtual device) to attach to an
* instance at launch. The name must be in the form ephemeralX where
* X is a number starting from zero (0), for example,
* ephemeral0
.
The name of the instance store volume (virtual device) to attach to an
* instance at launch. The name must be in the form ephemeralX where
* X is a number starting from zero (0), for example,
* ephemeral0
.
The name of the instance store volume (virtual device) to attach to an
* instance at launch. The name must be in the form ephemeralX where
* X is a number starting from zero (0), for example,
* ephemeral0
.
The name of the instance store volume (virtual device) to attach to an
* instance at launch. The name must be in the form ephemeralX where
* X is a number starting from zero (0), for example,
* ephemeral0
.
The name of the instance store volume (virtual device) to attach to an
* instance at launch. The name must be in the form ephemeralX where
* X is a number starting from zero (0), for example,
* ephemeral0
.
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.
To define a block device mapping, set the device
* name and exactly one of the following properties: Ebs
,
* NoDevice
, or VirtualName
.
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.
To define a block device mapping, set the device
* name and exactly one of the following properties: Ebs
,
* NoDevice
, or VirtualName
.
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.
To define a block device mapping, set the device
* name and exactly one of the following properties: Ebs
,
* NoDevice
, or VirtualName
.
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.
To define a block device mapping, set the device
* name and exactly one of the following properties: Ebs
,
* NoDevice
, or VirtualName
.
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.
To define a block device mapping, set the device
* name and exactly one of the following properties: Ebs
,
* NoDevice
, or VirtualName
.
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.
To define a block device mapping, set the device
* name and exactly one of the following properties: Ebs
,
* NoDevice
, or VirtualName
.
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.
To define a block device mapping, set the device
* name and exactly one of the following properties: Ebs
,
* NoDevice
, or VirtualName
.
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.
To define a block device mapping, set the device
* name and exactly one of the following properties: Ebs
,
* NoDevice
, or VirtualName
.
Information to attach an EBS volume to an instance at launch.
*/ inline const Ebs& GetEbs() const{ return m_ebs; } /** *Information to attach an EBS volume to an instance at launch.
*/ inline bool EbsHasBeenSet() const { return m_ebsHasBeenSet; } /** *Information to attach an EBS volume to an instance at launch.
*/ inline void SetEbs(const Ebs& value) { m_ebsHasBeenSet = true; m_ebs = value; } /** *Information to attach an EBS volume to an instance at launch.
*/ inline void SetEbs(Ebs&& value) { m_ebsHasBeenSet = true; m_ebs = std::move(value); } /** *Information to attach an EBS volume to an instance at launch.
*/ inline BlockDeviceMapping& WithEbs(const Ebs& value) { SetEbs(value); return *this;} /** *Information to attach an EBS volume to an instance at launch.
*/ inline BlockDeviceMapping& WithEbs(Ebs&& value) { SetEbs(std::move(value)); return *this;} /** *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.
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.
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.
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.