class Aws::OpsWorks::Types::BlockDeviceMapping
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
@note When making an API call, you may pass BlockDeviceMapping
data as a hash: { device_name: "String", no_device: "String", virtual_name: "String", ebs: { snapshot_id: "String", iops: 1, volume_size: 1, volume_type: "gp2", # accepts gp2, io1, standard delete_on_termination: false, }, }
@!attribute [rw] device_name
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 AWS OpsWorks Stacks will provide the correct device name. @return [String]
@!attribute [rw] no_device
Suppresses the specified device included in the AMI's block device mapping. @return [String]
@!attribute [rw] virtual_name
The virtual device name. For more information, see [BlockDeviceMapping][1]. [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_BlockDeviceMapping.html @return [String]
@!attribute [rw] ebs
An `EBSBlockDevice` that defines how to configure an Amazon EBS volume when the instance is launched. @return [Types::EbsBlockDevice]
@see docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/BlockDeviceMapping AWS API Documentation
Constants
- SENSITIVE