/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Parameters that are used to automatically set up EBS volumes when an instance
* is launched.See Also:
AWS
* API Reference
Whether to delete the volume when the instance is terminated.
*/ inline bool GetDeleteOnTermination() const{ return m_deleteOnTermination; } /** *Whether to delete the volume when the instance is terminated.
*/ inline bool DeleteOnTerminationHasBeenSet() const { return m_deleteOnTerminationHasBeenSet; } /** *Whether to delete the volume when the instance is terminated.
*/ inline void SetDeleteOnTermination(bool value) { m_deleteOnTerminationHasBeenSet = true; m_deleteOnTermination = value; } /** *Whether to delete the volume when the instance is terminated.
*/ inline AwsAutoScalingLaunchConfigurationBlockDeviceMappingsEbsDetails& WithDeleteOnTermination(bool value) { SetDeleteOnTermination(value); return *this;} /** *Whether to encrypt the volume.
*/ inline bool GetEncrypted() const{ return m_encrypted; } /** *Whether to encrypt the volume.
*/ inline bool EncryptedHasBeenSet() const { return m_encryptedHasBeenSet; } /** *Whether to encrypt the volume.
*/ inline void SetEncrypted(bool value) { m_encryptedHasBeenSet = true; m_encrypted = value; } /** *Whether to encrypt the volume.
*/ inline AwsAutoScalingLaunchConfigurationBlockDeviceMappingsEbsDetails& WithEncrypted(bool value) { SetEncrypted(value); return *this;} /** *The number of input/output (I/O) operations per second (IOPS) to provision * for the volume.
Only supported for gp3
or io1
* volumes. Required for io1
volumes. Not used with
* standard
, gp2
, st1
, or sc1
* volumes.
The number of input/output (I/O) operations per second (IOPS) to provision * for the volume.
Only supported for gp3
or io1
* volumes. Required for io1
volumes. Not used with
* standard
, gp2
, st1
, or sc1
* volumes.
The number of input/output (I/O) operations per second (IOPS) to provision * for the volume.
Only supported for gp3
or io1
* volumes. Required for io1
volumes. Not used with
* standard
, gp2
, st1
, or sc1
* volumes.
The number of input/output (I/O) operations per second (IOPS) to provision * for the volume.
Only supported for gp3
or io1
* volumes. Required for io1
volumes. Not used with
* standard
, gp2
, st1
, or sc1
* volumes.
The snapshot ID of the volume to use.
You must specify either
* VolumeSize
or SnapshotId
.
The snapshot ID of the volume to use.
You must specify either
* VolumeSize
or SnapshotId
.
The snapshot ID of the volume to use.
You must specify either
* VolumeSize
or SnapshotId
.
The snapshot ID of the volume to use.
You must specify either
* VolumeSize
or SnapshotId
.
The snapshot ID of the volume to use.
You must specify either
* VolumeSize
or SnapshotId
.
The snapshot ID of the volume to use.
You must specify either
* VolumeSize
or SnapshotId
.
The snapshot ID of the volume to use.
You must specify either
* VolumeSize
or SnapshotId
.
The snapshot ID of the volume to use.
You must specify either
* VolumeSize
or SnapshotId
.
The volume size, in GiBs. The following are the supported volumes sizes for * each volume type:
gp2 and gp3: 1-16,384
io1: * 4-16,384
st1 and sc1: 125-16,384
standard: * 1-1,024
You must specify either SnapshotId
or
* VolumeSize
. If you specify both SnapshotId
and
* VolumeSize
, the volume size must be equal or greater than the size
* of the snapshot.
The volume size, in GiBs. The following are the supported volumes sizes for * each volume type:
gp2 and gp3: 1-16,384
io1: * 4-16,384
st1 and sc1: 125-16,384
standard: * 1-1,024
You must specify either SnapshotId
or
* VolumeSize
. If you specify both SnapshotId
and
* VolumeSize
, the volume size must be equal or greater than the size
* of the snapshot.
The volume size, in GiBs. The following are the supported volumes sizes for * each volume type:
gp2 and gp3: 1-16,384
io1: * 4-16,384
st1 and sc1: 125-16,384
standard: * 1-1,024
You must specify either SnapshotId
or
* VolumeSize
. If you specify both SnapshotId
and
* VolumeSize
, the volume size must be equal or greater than the size
* of the snapshot.
The volume size, in GiBs. The following are the supported volumes sizes for * each volume type:
gp2 and gp3: 1-16,384
io1: * 4-16,384
st1 and sc1: 125-16,384
standard: * 1-1,024
You must specify either SnapshotId
or
* VolumeSize
. If you specify both SnapshotId
and
* VolumeSize
, the volume size must be equal or greater than the size
* of the snapshot.
The volume type. Valid values are as follows:
* gp2
gp3
* io1
sc1
* st1
standard
The volume type. Valid values are as follows:
* gp2
gp3
* io1
sc1
* st1
standard
The volume type. Valid values are as follows:
* gp2
gp3
* io1
sc1
* st1
standard
The volume type. Valid values are as follows:
* gp2
gp3
* io1
sc1
* st1
standard
The volume type. Valid values are as follows:
* gp2
gp3
* io1
sc1
* st1
standard
The volume type. Valid values are as follows:
* gp2
gp3
* io1
sc1
* st1
standard
The volume type. Valid values are as follows:
* gp2
gp3
* io1
sc1
* st1
standard
The volume type. Valid values are as follows:
* gp2
gp3
* io1
sc1
* st1
standard