Builder

class Builder

Properties

Link copied to clipboard

Specifies whether to encrypt the volume. If true, the service encrypts the volume with the KMS key that you specify in kmsKeyId, or the default KMS key for Amazon EBS if you do not specify one. The default is true.

Link copied to clipboard
var iops: Int?

The number of IOPS to provision. Valid only for gp3, io1, and io2 volumes.

Link copied to clipboard

The identifier of the KMS key to use for encryption.

Link copied to clipboard
var name: String?

The logical name of the volume. Use this name to reference the volume when you mount it into an agent runtime.

Link copied to clipboard
var sizeGib: Int?

The size of the volume, in GiB.

Link copied to clipboard

An optional Amazon EBS snapshot ID. If provided, the volume is initialized from this snapshot the first time it is created. On subsequent restarts, the existing volume is used and the snapshot is ignored.

Link copied to clipboard

The throughput, in MiB/s. Valid only for gp3 volumes.

Link copied to clipboard

The Amazon EBS volume type. If you do not specify a type, the default is gp3.