[][src]Struct rusoto_opsworks::EbsBlockDevice

pub struct EbsBlockDevice {
    pub delete_on_termination: Option<bool>,
    pub iops: Option<i64>,
    pub snapshot_id: Option<String>,
    pub volume_size: Option<i64>,
    pub volume_type: Option<String>,
}

Describes an Amazon EBS volume. This data type maps directly to the Amazon EC2 EbsBlockDevice data type.

Fields

delete_on_termination: Option<bool>

Whether the volume is deleted on instance termination.

iops: Option<i64>

The number of I/O operations per second (IOPS) that the volume supports. For more information, see EbsBlockDevice.

snapshot_id: Option<String>

The snapshot ID.

volume_size: Option<i64>

The volume size, in GiB. For more information, see EbsBlockDevice.

volume_type: Option<String>

The volume type. gp2 for General Purpose (SSD) volumes, io1 for Provisioned IOPS (SSD) volumes, st1 for Throughput Optimized hard disk drives (HDD), sc1 for Cold HDD,and standard for Magnetic volumes.

If you specify the io1 volume type, you must also specify a value for the Iops attribute. The maximum ratio of provisioned IOPS to requested volume size (in GiB) is 50:1. AWS uses the default volume size (in GiB) specified in the AMI attributes to set IOPS to 50 x (volume size).

Trait Implementations

impl Clone for EbsBlockDevice[src]

impl Default for EbsBlockDevice[src]

impl PartialEq<EbsBlockDevice> for EbsBlockDevice[src]

impl Debug for EbsBlockDevice[src]

impl Serialize for EbsBlockDevice[src]

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

Auto Trait Implementations

Blanket Implementations

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

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

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.

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

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

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

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

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,