pub struct EbsInstanceBlockDeviceSpecification {
pub delete_on_termination: Option<bool>,
pub encrypted: Option<bool>,
pub iops: Option<i64>,
pub kms_key_id: Option<String>,
pub snapshot_id: Option<String>,
pub volume_size: Option<i64>,
pub volume_type: Option<String>,
}
Expand description
Amazon EBS-specific block device mapping specifications.
Fields§
§delete_on_termination: Option<bool>
Use to configure delete on termination of the associated device.
encrypted: Option<bool>
Use to configure device encryption.
iops: Option<i64>
Use to configure device IOPS.
kms_key_id: Option<String>
Use to configure the KMS key to use when encrypting the device.
snapshot_id: Option<String>
The snapshot that defines the device contents.
volume_size: Option<i64>
Use to override the device's volume size.
volume_type: Option<String>
Use to override the device's volume type.
Trait Implementations§
Source§impl Clone for EbsInstanceBlockDeviceSpecification
impl Clone for EbsInstanceBlockDeviceSpecification
Source§fn clone(&self) -> EbsInstanceBlockDeviceSpecification
fn clone(&self) -> EbsInstanceBlockDeviceSpecification
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Default for EbsInstanceBlockDeviceSpecification
impl Default for EbsInstanceBlockDeviceSpecification
Source§fn default() -> EbsInstanceBlockDeviceSpecification
fn default() -> EbsInstanceBlockDeviceSpecification
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for EbsInstanceBlockDeviceSpecification
impl<'de> Deserialize<'de> for EbsInstanceBlockDeviceSpecification
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for EbsInstanceBlockDeviceSpecification
impl PartialEq for EbsInstanceBlockDeviceSpecification
Source§fn eq(&self, other: &EbsInstanceBlockDeviceSpecification) -> bool
fn eq(&self, other: &EbsInstanceBlockDeviceSpecification) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for EbsInstanceBlockDeviceSpecification
Auto Trait Implementations§
impl Freeze for EbsInstanceBlockDeviceSpecification
impl RefUnwindSafe for EbsInstanceBlockDeviceSpecification
impl Send for EbsInstanceBlockDeviceSpecification
impl Sync for EbsInstanceBlockDeviceSpecification
impl Unpin for EbsInstanceBlockDeviceSpecification
impl UnwindSafe for EbsInstanceBlockDeviceSpecification
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more