Class: Aws::OpsWorks::Types::BlockDeviceMapping

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

Overview

Describes a block device mapping. This data type maps directly to the Amazon EC2 BlockDeviceMapping data type.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#device_nameString

The device name that is exposed to the instance, such as /dev/sdh. For the root device, you can use the explicit device name or you can set this parameter to ROOT_DEVICE and OpsWorks Stacks will provide the correct device name.

Returns:

  • (String)


310
311
312
313
314
315
316
317
# File 'gems/aws-sdk-opsworks/lib/aws-sdk-opsworks/types.rb', line 310

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

#ebsTypes::EbsBlockDevice

An EBSBlockDevice that defines how to configure an Amazon EBS volume when the instance is launched.



310
311
312
313
314
315
316
317
# File 'gems/aws-sdk-opsworks/lib/aws-sdk-opsworks/types.rb', line 310

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

#no_deviceString

Suppresses the specified device included in the AMI's block device mapping.

Returns:

  • (String)


310
311
312
313
314
315
316
317
# File 'gems/aws-sdk-opsworks/lib/aws-sdk-opsworks/types.rb', line 310

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

#virtual_nameString

The virtual device name. For more information, see BlockDeviceMapping.

Returns:

  • (String)


310
311
312
313
314
315
316
317
# File 'gems/aws-sdk-opsworks/lib/aws-sdk-opsworks/types.rb', line 310

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