SpotInstanceRequestEbsBlockDevice

data class SpotInstanceRequestEbsBlockDevice(val deleteOnTermination: Boolean? = null, val deviceName: String, val encrypted: Boolean? = null, val iops: Int? = null, val kmsKeyId: String? = null, val snapshotId: String? = null, val tags: 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, encrypted: Boolean? = null, iops: Int? = null, kmsKeyId: String? = null, snapshotId: String? = null, tags: 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

Name of the device to mount.

Link copied to clipboard
val encrypted: Boolean? = null

Enables EBS encryption on the volume. Defaults to false. Cannot be used with snapshot_id. 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 snapshotId: String? = null

Snapshot ID to mount.

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

Map of tags to assign to the device.

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 gp2.