You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

Class: Aws::EC2::Types::LaunchTemplateEbsBlockDevice

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Describes a block device for an EBS volume.

Returned by:

Instance Attribute Summary collapse

Instance Attribute Details

#delete_on_termination ⇒ Boolean

Indicates whether the EBS volume is deleted on instance termination.

Returns:

  • (Boolean) —

    Indicates whether the EBS volume is deleted on instance termination.

#encrypted ⇒ Boolean

Indicates whether the EBS volume is encrypted.

Returns:

  • (Boolean) —

    Indicates whether the EBS volume is encrypted.

#iops ⇒ Integer

The number of I/O operations per second (IOPS) that the volume supports.

Returns:

  • (Integer) —

    The number of I/O operations per second (IOPS) that the volume supports.

#kms_key_id ⇒ String

The ARN of the AWS Key Management Service (AWS KMS) CMK used for encryption.

Returns:

  • (String) —

    The ARN of the AWS Key Management Service (AWS KMS) CMK used for encryption.

#snapshot_id ⇒ String

The ID of the snapshot.

Returns:

  • (String) —

    The ID of the snapshot.

#volume_size ⇒ Integer

The size of the volume, in GiB.

Returns:

  • (Integer) —

    The size of the volume, in GiB.

#volume_type ⇒ String

The volume type.

Possible values:

  • standard
  • io1
  • io2
  • gp2
  • sc1
  • st1

Returns:

  • (String) —

    The volume type.