Struct aws_sdk_ec2::types::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§
source§impl 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.
source§impl LaunchTemplateEbsBlockDevice
impl LaunchTemplateEbsBlockDevice
sourcepub fn builder() -> LaunchTemplateEbsBlockDeviceBuilder
pub fn builder() -> LaunchTemplateEbsBlockDeviceBuilder
Creates a new builder-style object to manufacture LaunchTemplateEbsBlockDevice
.
Trait Implementations§
source§impl Clone for LaunchTemplateEbsBlockDevice
impl Clone for LaunchTemplateEbsBlockDevice
source§fn clone(&self) -> LaunchTemplateEbsBlockDevice
fn clone(&self) -> LaunchTemplateEbsBlockDevice
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for LaunchTemplateEbsBlockDevice
impl Debug for LaunchTemplateEbsBlockDevice
source§impl PartialEq<LaunchTemplateEbsBlockDevice> for LaunchTemplateEbsBlockDevice
impl PartialEq<LaunchTemplateEbsBlockDevice> for LaunchTemplateEbsBlockDevice
source§fn eq(&self, other: &LaunchTemplateEbsBlockDevice) -> bool
fn eq(&self, other: &LaunchTemplateEbsBlockDevice) -> bool
self
and other
values to be equal, and is used
by ==
.