Struct rusoto_opsworks::BlockDeviceMapping [−][src]
pub struct BlockDeviceMapping { pub device_name: Option<String>, pub ebs: Option<EbsBlockDevice>, pub no_device: Option<String>, pub virtual_name: Option<String>, }
Describes a block device mapping. This data type maps directly to the Amazon EC2 BlockDeviceMapping data type.
Fields
device_name: Option<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 AWS OpsWorks Stacks will provide the correct device name.
ebs: Option<EbsBlockDevice>
An EBSBlockDevice
that defines how to configure an Amazon EBS volume when the instance is launched.
no_device: Option<String>
Suppresses the specified device included in the AMI's block device mapping.
virtual_name: Option<String>
The virtual device name. For more information, see BlockDeviceMapping.
Trait Implementations
impl Default for BlockDeviceMapping
[src]
impl Default for BlockDeviceMapping
fn default() -> BlockDeviceMapping
[src]
fn default() -> BlockDeviceMapping
Returns the "default value" for a type. Read more
impl Debug for BlockDeviceMapping
[src]
impl Debug for BlockDeviceMapping
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Clone for BlockDeviceMapping
[src]
impl Clone for BlockDeviceMapping
fn clone(&self) -> BlockDeviceMapping
[src]
fn clone(&self) -> BlockDeviceMapping
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
impl PartialEq for BlockDeviceMapping
[src]
impl PartialEq for BlockDeviceMapping
fn eq(&self, other: &BlockDeviceMapping) -> bool
[src]
fn eq(&self, other: &BlockDeviceMapping) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &BlockDeviceMapping) -> bool
[src]
fn ne(&self, other: &BlockDeviceMapping) -> bool
This method tests for !=
.
Auto Trait Implementations
impl Send for BlockDeviceMapping
impl Send for BlockDeviceMapping
impl Sync for BlockDeviceMapping
impl Sync for BlockDeviceMapping