Class: Aws::OpsWorks::Types::BlockDeviceMapping
- Inherits:
-
Struct
- Object
- Struct
- Aws::OpsWorks::Types::BlockDeviceMapping
- 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
-
#device_name ⇒ String
The device name that is exposed to the instance, such as ‘/dev/sdh`.
-
#ebs ⇒ Types::EbsBlockDevice
An ‘EBSBlockDevice` that defines how to configure an Amazon EBS volume when the instance is launched.
-
#no_device ⇒ String
Suppresses the specified device included in the AMI’s block device mapping.
-
#virtual_name ⇒ String
The virtual device name.
Instance Attribute Details
#device_name ⇒ String
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.
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 |
#ebs ⇒ Types::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_device ⇒ String
Suppresses the specified device included in the AMI’s block device mapping.
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_name ⇒ String
The virtual device name. For more information, see [BlockDeviceMapping].
[1]: docs.aws.amazon.com/AWSEC2/latest/APIReference/API_BlockDeviceMapping.html
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 |