Struct aws_sdk_ec2::model::LaunchTemplateEbsBlockDevice
source · [−]#[non_exhaustive]pub struct LaunchTemplateEbsBlockDevice {
pub encrypted: Option<bool>,
pub delete_on_termination: Option<bool>,
pub iops: Option<i32>,
pub kms_key_id: Option<String>,
pub snapshot_id: Option<String>,
pub volume_size: Option<i32>,
pub volume_type: Option<VolumeType>,
pub throughput: Option<i32>,
}
Expand description
Describes a block device for an EBS volume.
Fields (Non-exhaustive)
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.encrypted: Option<bool>
Indicates whether the EBS volume is encrypted.
delete_on_termination: Option<bool>
Indicates whether the EBS volume is deleted on instance termination.
iops: Option<i32>
The number of I/O operations per second (IOPS) that the volume supports.
kms_key_id: Option<String>
The ARN of the Key Management Service (KMS) CMK used for encryption.
snapshot_id: Option<String>
The ID of the snapshot.
volume_size: Option<i32>
The size of the volume, in GiB.
volume_type: Option<VolumeType>
The volume type.
throughput: Option<i32>
The throughput that the volume supports, in MiB/s.
Implementations
sourceimpl LaunchTemplateEbsBlockDevice
impl LaunchTemplateEbsBlockDevice
sourcepub fn delete_on_termination(&self) -> Option<bool>
pub fn delete_on_termination(&self) -> Option<bool>
Indicates whether the EBS volume is deleted on instance termination.
sourcepub fn iops(&self) -> Option<i32>
pub fn iops(&self) -> Option<i32>
The number of I/O operations per second (IOPS) that the volume supports.
sourcepub fn kms_key_id(&self) -> Option<&str>
pub fn kms_key_id(&self) -> Option<&str>
The ARN of the Key Management Service (KMS) CMK used for encryption.
sourcepub fn snapshot_id(&self) -> Option<&str>
pub fn snapshot_id(&self) -> Option<&str>
The ID of the snapshot.
sourcepub fn volume_size(&self) -> Option<i32>
pub fn volume_size(&self) -> Option<i32>
The size of the volume, in GiB.
sourcepub fn volume_type(&self) -> Option<&VolumeType>
pub fn volume_type(&self) -> Option<&VolumeType>
The volume type.
sourcepub fn throughput(&self) -> Option<i32>
pub fn throughput(&self) -> Option<i32>
The throughput that the volume supports, in MiB/s.
sourceimpl LaunchTemplateEbsBlockDevice
impl LaunchTemplateEbsBlockDevice
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture LaunchTemplateEbsBlockDevice
.
Trait Implementations
sourceimpl Clone for LaunchTemplateEbsBlockDevice
impl Clone for LaunchTemplateEbsBlockDevice
sourcefn clone(&self) -> LaunchTemplateEbsBlockDevice
fn clone(&self) -> LaunchTemplateEbsBlockDevice
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for LaunchTemplateEbsBlockDevice
impl Debug for LaunchTemplateEbsBlockDevice
sourceimpl PartialEq<LaunchTemplateEbsBlockDevice> for LaunchTemplateEbsBlockDevice
impl PartialEq<LaunchTemplateEbsBlockDevice> for LaunchTemplateEbsBlockDevice
sourcefn eq(&self, other: &LaunchTemplateEbsBlockDevice) -> bool
fn eq(&self, other: &LaunchTemplateEbsBlockDevice) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &LaunchTemplateEbsBlockDevice) -> bool
fn ne(&self, other: &LaunchTemplateEbsBlockDevice) -> bool
This method tests for !=
.
impl StructuralPartialEq for LaunchTemplateEbsBlockDevice
Auto Trait Implementations
impl RefUnwindSafe for LaunchTemplateEbsBlockDevice
impl Send for LaunchTemplateEbsBlockDevice
impl Sync for LaunchTemplateEbsBlockDevice
impl Unpin for LaunchTemplateEbsBlockDevice
impl UnwindSafe for LaunchTemplateEbsBlockDevice
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more