SpotInstanceRequestRootBlockDevice

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

Constructors

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

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

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

Link copied to clipboard
val deviceName: String? = null
Link copied to clipboard
val encrypted: Boolean? = null

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

Link copied to clipboard
val iops: Int? = null

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

Link copied to clipboard
val kmsKeyId: 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: Map<String, String>? = null

Map of tags to assign to the device.

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

A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

Link copied to clipboard
val throughput: 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: String? = null
Link copied to clipboard
val volumeSize: Int? = null

Size of the volume in gibibytes (GiB).

Link copied to clipboard
val volumeType: String? = null

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