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

Class: Aws::EC2::Types::EbsInstanceBlockDeviceSpecification

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

Overview

Note:

When making an API call, you may pass EbsInstanceBlockDeviceSpecification data as a hash:

{
  delete_on_termination: false,
  volume_id: "String",
}

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

Instance Attribute Summary collapse

Instance Attribute Details

#delete_on_terminationBoolean

Indicates whether the volume is deleted on instance termination.

Returns:

  • (Boolean)


12506
12507
12508
12509
12510
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 12506

class EbsInstanceBlockDeviceSpecification < Struct.new(
  :delete_on_termination,
  :volume_id)
  include Aws::Structure
end

#volume_idString

The ID of the EBS volume.

Returns:

  • (String)


12506
12507
12508
12509
12510
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 12506

class EbsInstanceBlockDeviceSpecification < Struct.new(
  :delete_on_termination,
  :volume_id)
  include Aws::Structure
end