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

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

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb

Overview

Describes a block device for an EBS volume.

Instance Attribute Summary collapse

Instance Attribute Details

#delete_on_terminationBoolean

Indicates whether the EBS volume is deleted on instance termination.

Returns:

  • (Boolean)


18585
18586
18587
18588
18589
18590
18591
18592
18593
18594
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 18585

class LaunchTemplateEbsBlockDevice < Struct.new(
  :encrypted,
  :delete_on_termination,
  :iops,
  :kms_key_id,
  :snapshot_id,
  :volume_size,
  :volume_type)
  include Aws::Structure
end

#encryptedBoolean

Indicates whether the EBS volume is encrypted.

Returns:

  • (Boolean)


18585
18586
18587
18588
18589
18590
18591
18592
18593
18594
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 18585

class LaunchTemplateEbsBlockDevice < Struct.new(
  :encrypted,
  :delete_on_termination,
  :iops,
  :kms_key_id,
  :snapshot_id,
  :volume_size,
  :volume_type)
  include Aws::Structure
end

#iopsInteger

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

Returns:

  • (Integer)


18585
18586
18587
18588
18589
18590
18591
18592
18593
18594
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 18585

class LaunchTemplateEbsBlockDevice < Struct.new(
  :encrypted,
  :delete_on_termination,
  :iops,
  :kms_key_id,
  :snapshot_id,
  :volume_size,
  :volume_type)
  include Aws::Structure
end

#kms_key_idString

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

Returns:

  • (String)


18585
18586
18587
18588
18589
18590
18591
18592
18593
18594
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 18585

class LaunchTemplateEbsBlockDevice < Struct.new(
  :encrypted,
  :delete_on_termination,
  :iops,
  :kms_key_id,
  :snapshot_id,
  :volume_size,
  :volume_type)
  include Aws::Structure
end

#snapshot_idString

The ID of the snapshot.

Returns:

  • (String)


18585
18586
18587
18588
18589
18590
18591
18592
18593
18594
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 18585

class LaunchTemplateEbsBlockDevice < Struct.new(
  :encrypted,
  :delete_on_termination,
  :iops,
  :kms_key_id,
  :snapshot_id,
  :volume_size,
  :volume_type)
  include Aws::Structure
end

#volume_sizeInteger

The size of the volume, in GiB.

Returns:

  • (Integer)


18585
18586
18587
18588
18589
18590
18591
18592
18593
18594
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 18585

class LaunchTemplateEbsBlockDevice < Struct.new(
  :encrypted,
  :delete_on_termination,
  :iops,
  :kms_key_id,
  :snapshot_id,
  :volume_size,
  :volume_type)
  include Aws::Structure
end

#volume_typeString

The volume type.

Returns:

  • (String)


18585
18586
18587
18588
18589
18590
18591
18592
18593
18594
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 18585

class LaunchTemplateEbsBlockDevice < Struct.new(
  :encrypted,
  :delete_on_termination,
  :iops,
  :kms_key_id,
  :snapshot_id,
  :volume_size,
  :volume_type)
  include Aws::Structure
end