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

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

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 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 exposed to the instance (for example, /dev/sdh or xvdh).

Returns:

  • (String)


15024
15025
15026
15027
15028
15029
15030
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 15024

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.



15024
15025
15026
15027
15028
15029
15030
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 15024

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)


15024
15025
15026
15027
15028
15029
15030
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 15024

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

#virtual_nameString

The virtual device name.

Returns:

  • (String)


15024
15025
15026
15027
15028
15029
15030
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 15024

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