#[non_exhaustive]pub struct AwsEc2LaunchTemplateDataBlockDeviceMappingSetEbsDetails {
pub delete_on_termination: Option<bool>,
pub encrypted: Option<bool>,
pub iops: Option<i32>,
pub kms_key_id: Option<String>,
pub snapshot_id: Option<String>,
pub throughput: Option<i32>,
pub volume_size: Option<i32>,
pub volume_type: Option<String>,
}
Expand description
Parameters for a block device for an Amazon Elastic Block Store (Amazon EBS) volume in an Amazon EC2 launch template.
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.delete_on_termination: Option<bool>
Indicates whether the EBS volume is deleted on instance termination.
encrypted: Option<bool>
Indicates whether the EBS volume is encrypted. Encrypted volumes can only be attached to instances that support Amazon EBS encryption. If you're creating a volume from a snapshot, you can't specify an encryption value.
iops: Option<i32>
The number of I/O operations per second (IOPS).
kms_key_id: Option<String>
The Amazon Resource Name (ARN) of the symmetric Key Management Service (KMS) customer managed key used for encryption.
snapshot_id: Option<String>
The ID of the EBS snapshot.
throughput: Option<i32>
The throughput to provision for a gp3 volume, with a maximum of 1,000 MiB/s.
volume_size: Option<i32>
The size of the volume, in GiBs. You must specify either a snapshot ID or a volume size.
volume_type: Option<String>
The volume type.
Implementations§
source§impl AwsEc2LaunchTemplateDataBlockDeviceMappingSetEbsDetails
impl AwsEc2LaunchTemplateDataBlockDeviceMappingSetEbsDetails
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 encrypted(&self) -> Option<bool>
pub fn encrypted(&self) -> Option<bool>
Indicates whether the EBS volume is encrypted. Encrypted volumes can only be attached to instances that support Amazon EBS encryption. If you're creating a volume from a snapshot, you can't specify an encryption value.
sourcepub fn kms_key_id(&self) -> Option<&str>
pub fn kms_key_id(&self) -> Option<&str>
The Amazon Resource Name (ARN) of the symmetric Key Management Service (KMS) customer managed key used for encryption.
sourcepub fn snapshot_id(&self) -> Option<&str>
pub fn snapshot_id(&self) -> Option<&str>
The ID of the EBS snapshot.
sourcepub fn throughput(&self) -> Option<i32>
pub fn throughput(&self) -> Option<i32>
The throughput to provision for a gp3 volume, with a maximum of 1,000 MiB/s.
sourcepub fn volume_size(&self) -> Option<i32>
pub fn volume_size(&self) -> Option<i32>
The size of the volume, in GiBs. You must specify either a snapshot ID or a volume size.
sourcepub fn volume_type(&self) -> Option<&str>
pub fn volume_type(&self) -> Option<&str>
The volume type.
source§impl AwsEc2LaunchTemplateDataBlockDeviceMappingSetEbsDetails
impl AwsEc2LaunchTemplateDataBlockDeviceMappingSetEbsDetails
sourcepub fn builder(
) -> AwsEc2LaunchTemplateDataBlockDeviceMappingSetEbsDetailsBuilder
pub fn builder( ) -> AwsEc2LaunchTemplateDataBlockDeviceMappingSetEbsDetailsBuilder
Creates a new builder-style object to manufacture AwsEc2LaunchTemplateDataBlockDeviceMappingSetEbsDetails
.
Trait Implementations§
source§impl Clone for AwsEc2LaunchTemplateDataBlockDeviceMappingSetEbsDetails
impl Clone for AwsEc2LaunchTemplateDataBlockDeviceMappingSetEbsDetails
source§fn clone(&self) -> AwsEc2LaunchTemplateDataBlockDeviceMappingSetEbsDetails
fn clone(&self) -> AwsEc2LaunchTemplateDataBlockDeviceMappingSetEbsDetails
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl PartialEq for AwsEc2LaunchTemplateDataBlockDeviceMappingSetEbsDetails
impl PartialEq for AwsEc2LaunchTemplateDataBlockDeviceMappingSetEbsDetails
source§fn eq(
&self,
other: &AwsEc2LaunchTemplateDataBlockDeviceMappingSetEbsDetails
) -> bool
fn eq( &self, other: &AwsEc2LaunchTemplateDataBlockDeviceMappingSetEbsDetails ) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for AwsEc2LaunchTemplateDataBlockDeviceMappingSetEbsDetails
Auto Trait Implementations§
impl Freeze for AwsEc2LaunchTemplateDataBlockDeviceMappingSetEbsDetails
impl RefUnwindSafe for AwsEc2LaunchTemplateDataBlockDeviceMappingSetEbsDetails
impl Send for AwsEc2LaunchTemplateDataBlockDeviceMappingSetEbsDetails
impl Sync for AwsEc2LaunchTemplateDataBlockDeviceMappingSetEbsDetails
impl Unpin for AwsEc2LaunchTemplateDataBlockDeviceMappingSetEbsDetails
impl UnwindSafe for AwsEc2LaunchTemplateDataBlockDeviceMappingSetEbsDetails
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
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more