Builder

class Builder

Properties

Link copied to clipboard

Indicates whether the EBS volume is deleted on instance termination.

Link copied to clipboard

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
var iops: Int?

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.

Link copied to clipboard

Identifier (key ID, key alias, key ARN, or alias ARN) of the customer managed KMS key to use for EBS encryption.

Link copied to clipboard

The ID of the snapshot.

Link copied to clipboard

The throughput to provision for a gp3 volume, with a maximum of 1,000 MiB/s.

Link copied to clipboard

Specifies the Amazon EBS Provisioned Rate for Volume Initialization (volume initialization rate), in MiB/s, at which to download the snapshot blocks from Amazon S3 to the volume. This is also known as volume initialization. Specifying a volume initialization rate ensures that the volume is initialized at a predictable and consistent rate after creation.

Link copied to clipboard

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

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