InstanceRootBlockDeviceArgs

data class InstanceRootBlockDeviceArgs(val deleteOnTermination: Output<Boolean>? = null, val deviceName: Output<String>? = null, val encrypted: Output<Boolean>? = null, val iops: Output<Int>? = null, val kmsKeyId: Output<String>? = null, val tags: Output<Map<String, String>>? = null, val throughput: Output<Int>? = null, val volumeId: Output<String>? = null, val volumeSize: Output<Int>? = null, val volumeType: Output<String>? = null) : ConvertibleToJava<InstanceRootBlockDeviceArgs>

Constructors

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

Properties

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

Whether the volume should be destroyed on instance termination. Defaults to true.

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

Name of the device to mount.

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

Whether to enable volume encryption. Defaults to false. Must be configured to perform drift detection.

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

Amount of provisioned IOPS. Only valid for volume_type of io1, io2 or gp3.

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

Amazon Resource Name (ARN) of the KMS Key to use when encrypting the volume. Must be configured to perform drift detection.

Link copied to clipboard
val tags: Output<Map<String, String>>? = null

Map of tags to assign to the device.

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

Throughput to provision for a volume in mebibytes per second (MiB/s). This is only valid for volume_type of gp3.

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

ID of the volume. For example, the ID can be accessed like this, aws_instance.web.root_block_device.0.volume_id.

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

Size of the volume in gibibytes (GiB).

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

Type of volume. Valid values include standard, gp2, gp3, io1, io2, sc1, or st1. Defaults to gp2. Modifying the encrypted or kms_key_id settings of the root_block_device requires resource replacement.

Functions

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