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: "VolumeId",
  },
  no_device: "String",
  virtual_name: "String",
}

Describes a block device mapping entry.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#device_nameString

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

Returns:

  • (String)


29887
29888
29889
29890
29891
29892
29893
29894
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 29887

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

#ebsTypes::EbsInstanceBlockDeviceSpecification

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



29887
29888
29889
29890
29891
29892
29893
29894
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 29887

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

#no_deviceString

suppress the specified device included in the block device mapping.

Returns:

  • (String)


29887
29888
29889
29890
29891
29892
29893
29894
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 29887

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

#virtual_nameString

The virtual device name.

Returns:

  • (String)


29887
29888
29889
29890
29891
29892
29893
29894
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 29887

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