Ebs

class Ebs

Describes information used to set up an Amazon EBS volume specified in a block device mapping.

Types

Link copied to clipboard
class Builder
Link copied to clipboard
object Companion

Properties

Link copied to clipboard

Indicates whether the volume is deleted on instance termination. For Amazon EC2 Auto Scaling, the default value is true.

Link copied to clipboard

Specifies whether the volume should be encrypted. Encrypted EBS volumes can only be attached to instances that support Amazon EBS encryption. For more information, see Supported instance types. If your AMI uses encrypted volumes, you can also only launch it on supported instance types.

Link copied to clipboard
val iops: Int?

The number of input/output (I/O) operations per second (IOPS) to provision for the volume. For gp3 and io1 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

The snapshot ID of the volume to use.

Link copied to clipboard

The throughput (MiBps) to provision for a gp3 volume.

Link copied to clipboard

The volume size, in GiBs. 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 EC2 User Guide for Linux Instances.

Functions

Link copied to clipboard
inline fun copy(block: Ebs.Builder.() -> Unit = {}): Ebs
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
open override fun toString(): String