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

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

Overview

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

[1]: docs.aws.amazon.com/AWSEC2/latest/APIReference/API_BlockDeviceMapping.html

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 '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 '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 '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

Returns:

  • (String)


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

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