[][src]Struct rusoto_autoscaling::BlockDeviceMapping

pub struct BlockDeviceMapping {
    pub device_name: String,
    pub ebs: Option<Ebs>,
    pub no_device: Option<bool>,
    pub virtual_name: Option<String>,
}

Describes a block device mapping.

Fields

device_name: String

The device name exposed to the EC2 instance (for example, /dev/sdh or xvdh). For more information, see Device Naming on Linux Instances in the Amazon EC2 User Guide for Linux Instances.

ebs: Option<Ebs>

Parameters used to automatically set up EBS volumes when an instance is launched.

You can specify either VirtualName or Ebs, but not both.

no_device: Option<bool>

Setting this value to true suppresses the specified device included in the block device mapping of the AMI.

If NoDevice is true for the root device, instances might fail the EC2 health check. In that case, Amazon EC2 Auto Scaling launches replacement instances.

If you specify NoDevice, you cannot specify Ebs.

virtual_name: Option<String>

The name of the virtual device (for example, ephemeral0).

You can specify either VirtualName or Ebs, but not both.

Trait Implementations

impl Clone for BlockDeviceMapping[src]

impl Debug for BlockDeviceMapping[src]

impl Default for BlockDeviceMapping[src]

impl PartialEq<BlockDeviceMapping> for BlockDeviceMapping[src]

impl StructuralPartialEq for BlockDeviceMapping[src]

Auto Trait Implementations

Blanket Implementations

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

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

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

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

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

impl<T> Same<T> for T

type Output = T

Should always be Self

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

type Owned = T

The resulting type after obtaining ownership.

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

type Error = Infallible

The type returned in the event of a conversion error.

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

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

The type returned in the event of a conversion error.