[][src]Struct rusoto_opsworks::BlockDeviceMapping

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 PartialEq<BlockDeviceMapping> for BlockDeviceMapping[src]

impl Default for BlockDeviceMapping[src]

impl Clone for BlockDeviceMapping[src]

fn clone_from(&mut self, source: &Self)
1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for BlockDeviceMapping[src]

impl<'de> Deserialize<'de> for BlockDeviceMapping[src]

impl Serialize for BlockDeviceMapping[src]

Auto Trait Implementations

Blanket Implementations

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

impl<T> From for T[src]

impl<T, U> TryFrom for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]

impl<T> Erased for T

impl<T> Same for T

type Output = T

Should always be Self