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

Class: Aws::EC2::Types::LaunchTemplateBlockDeviceMapping

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

Overview

Describes a block device mapping.

Instance Attribute Summary collapse

Instance Attribute Details

#device_nameString

The device name.

Returns:

  • (String)


19272
19273
19274
19275
19276
19277
19278
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 19272

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

#ebsTypes::LaunchTemplateEbsBlockDevice

Information about the block device for an EBS volume.



19272
19273
19274
19275
19276
19277
19278
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 19272

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

#no_deviceString

Suppresses the specified device included in the block device mapping of the AMI.

Returns:

  • (String)


19272
19273
19274
19275
19276
19277
19278
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 19272

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

#virtual_nameString

The virtual device name (ephemeralN).

Returns:

  • (String)


19272
19273
19274
19275
19276
19277
19278
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 19272

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