#[non_exhaustive]pub struct AwsEc2LaunchTemplateDataBlockDeviceMappingSetEbsDetails { /* private fields */ }
Expand description
Parameters for a block device for an Amazon Elastic Block Store (Amazon EBS) volume in an Amazon EC2 launch template.
Implementations§
source§impl AwsEc2LaunchTemplateDataBlockDeviceMappingSetEbsDetails
impl AwsEc2LaunchTemplateDataBlockDeviceMappingSetEbsDetails
sourcepub fn delete_on_termination(&self) -> bool
pub fn delete_on_termination(&self) -> bool
Indicates whether the EBS volume is deleted on instance termination.
sourcepub fn encrypted(&self) -> bool
pub fn encrypted(&self) -> 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) -> i32
pub fn throughput(&self) -> i32
The throughput to provision for a gp3 volume, with a maximum of 1,000 MiB/s.
sourcepub fn volume_size(&self) -> i32
pub fn volume_size(&self) -> 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() -> Builder
pub fn builder() -> Builder
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<AwsEc2LaunchTemplateDataBlockDeviceMappingSetEbsDetails> for AwsEc2LaunchTemplateDataBlockDeviceMappingSetEbsDetails
impl PartialEq<AwsEc2LaunchTemplateDataBlockDeviceMappingSetEbsDetails> 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 ==
.