LaunchTemplateEbsArgs

data class LaunchTemplateEbsArgs(val deleteOnTermination: Output<Boolean>? = null, val encrypted: Output<Boolean>? = null, val iops: Output<Int>? = null, val kmsKeyId: Output<String>? = null, val snapshotId: Output<String>? = null, val throughput: Output<Int>? = null, val volumeSize: Output<Int>? = null, val volumeType: Output<String>? = null) : ConvertibleToJava<LaunchTemplateEbsArgs>

Parameters for a block device for an EBS volume in an Amazon EC2 launch template. `Ebs` is a property of AWS::EC2::LaunchTemplate BlockDeviceMapping.

Constructors

Link copied to clipboard
constructor(deleteOnTermination: Output<Boolean>? = null, encrypted: Output<Boolean>? = null, iops: Output<Int>? = null, kmsKeyId: Output<String>? = null, snapshotId: Output<String>? = null, throughput: Output<Int>? = null, volumeSize: Output<Int>? = null, volumeType: Output<String>? = null)

Properties

Link copied to clipboard
val deleteOnTermination: Output<Boolean>? = null

Indicates whether the EBS volume is deleted on instance termination.

Link copied to clipboard
val encrypted: Output<Boolean>? = null

Indicates whether the EBS volume is encrypted. Encrypted volumes can only be attached to instances that support Amazon EBS encryption. If you are creating a volume from a snapshot, you can't specify an encryption value.

Link copied to clipboard
val iops: Output<Int>? = null

The number of I/O operations per second (IOPS). For `gp3`, `io1`, and `io2` volumes, this represents the number of IOPS that are provisioned for the volume. For `gp2` volumes, this represents the baseline performance of the volume and the rate at which the volume accumulates I/O credits for bursting. The following are the supported values for each volume type:

Link copied to clipboard
val kmsKeyId: Output<String>? = null

The ARN of the symmetric KMSlong (KMS) CMK used for encryption.

Link copied to clipboard
val snapshotId: Output<String>? = null

The ID of the snapshot.

Link copied to clipboard
val throughput: Output<Int>? = null

The throughput to provision for a `gp3` volume, with a maximum of 1,000 MiB/s. Valid Range: Minimum value of 125. Maximum value of 1000.

Link copied to clipboard
val volumeSize: Output<Int>? = null

The size of the volume, in GiBs. You must specify either a snapshot ID or a volume size. The following are the supported volumes sizes for each volume type:

Link copied to clipboard
val volumeType: Output<String>? = null

The volume type. For more information, see Amazon EBS volume types in the Amazon EBS User Guide.

Functions

Link copied to clipboard
open override fun toJava(): LaunchTemplateEbsArgs