Class: Aws::EC2::Types::InstanceBlockDeviceMappingSpecification

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

Overview

Note:

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

{
  device_name: "String",
  ebs: {
    delete_on_termination: false,
    volume_id: "String",
  },
  no_device: "String",
  virtual_name: "String",
}

Describes a block device mapping entry.

Instance Attribute Summary collapse

Instance Attribute Details

#device_nameString

The device name (for example, ‘/dev/sdh` or `xvdh`).

Returns:

  • (String)


22549
22550
22551
22552
22553
22554
22555
# File 'lib/aws-sdk-ec2/types.rb', line 22549

class InstanceBlockDeviceMappingSpecification < Struct.new(
  :device_name,
  :ebs,
  :no_device,
  :virtual_name)
  include Aws::Structure
end

#ebsTypes::EbsInstanceBlockDeviceSpecification

Parameters used to automatically set up EBS volumes when the instance is launched.



22549
22550
22551
22552
22553
22554
22555
# File 'lib/aws-sdk-ec2/types.rb', line 22549

class InstanceBlockDeviceMappingSpecification < Struct.new(
  :device_name,
  :ebs,
  :no_device,
  :virtual_name)
  include Aws::Structure
end

#no_deviceString

suppress the specified device included in the block device mapping.

Returns:

  • (String)


22549
22550
22551
22552
22553
22554
22555
# File 'lib/aws-sdk-ec2/types.rb', line 22549

class InstanceBlockDeviceMappingSpecification < Struct.new(
  :device_name,
  :ebs,
  :no_device,
  :virtual_name)
  include Aws::Structure
end

#virtual_nameString

The virtual device name.

Returns:

  • (String)


22549
22550
22551
22552
22553
22554
22555
# File 'lib/aws-sdk-ec2/types.rb', line 22549

class InstanceBlockDeviceMappingSpecification < Struct.new(
  :device_name,
  :ebs,
  :no_device,
  :virtual_name)
  include Aws::Structure
end