Struct aws_sdk_securityhub::model::AwsAutoScalingLaunchConfigurationBlockDeviceMappingsEbsDetails
source · [−]#[non_exhaustive]pub struct AwsAutoScalingLaunchConfigurationBlockDeviceMappingsEbsDetails { /* private fields */ }Expand description
Parameters that are used to automatically set up EBS volumes when an instance is launched.
Implementations
sourceimpl AwsAutoScalingLaunchConfigurationBlockDeviceMappingsEbsDetails
impl AwsAutoScalingLaunchConfigurationBlockDeviceMappingsEbsDetails
sourcepub fn delete_on_termination(&self) -> bool
pub fn delete_on_termination(&self) -> bool
Whether to delete the volume when the instance is terminated.
sourcepub fn iops(&self) -> i32
pub fn iops(&self) -> i32
The number of input/output (I/O) operations per second (IOPS) to provision for the volume.
Only supported for gp3 or io1 volumes. Required for io1 volumes. Not used with standard, gp2, st1, or sc1 volumes.
sourcepub fn snapshot_id(&self) -> Option<&str>
pub fn snapshot_id(&self) -> Option<&str>
The snapshot ID of the volume to use.
You must specify either VolumeSize or SnapshotId.
sourcepub fn volume_size(&self) -> i32
pub fn volume_size(&self) -> i32
The volume size, in GiBs. The following are the supported volumes sizes for each volume type:
-
gp2 and gp3: 1-16,384
-
io1: 4-16,384
-
st1 and sc1: 125-16,384
-
standard: 1-1,024
You must specify either SnapshotId or VolumeSize. If you specify both SnapshotId and VolumeSize, the volume size must be equal or greater than the size of the snapshot.
sourcepub fn volume_type(&self) -> Option<&str>
pub fn volume_type(&self) -> Option<&str>
The volume type. Valid values are as follows:
-
gp2 -
gp3 -
io1 -
sc1 -
st1 -
standard
sourceimpl AwsAutoScalingLaunchConfigurationBlockDeviceMappingsEbsDetails
impl AwsAutoScalingLaunchConfigurationBlockDeviceMappingsEbsDetails
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture AwsAutoScalingLaunchConfigurationBlockDeviceMappingsEbsDetails.
Trait Implementations
sourceimpl Clone for AwsAutoScalingLaunchConfigurationBlockDeviceMappingsEbsDetails
impl Clone for AwsAutoScalingLaunchConfigurationBlockDeviceMappingsEbsDetails
sourcefn clone(
&self
) -> AwsAutoScalingLaunchConfigurationBlockDeviceMappingsEbsDetails
fn clone(
&self
) -> AwsAutoScalingLaunchConfigurationBlockDeviceMappingsEbsDetails
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 PartialEq<AwsAutoScalingLaunchConfigurationBlockDeviceMappingsEbsDetails> for AwsAutoScalingLaunchConfigurationBlockDeviceMappingsEbsDetails
impl PartialEq<AwsAutoScalingLaunchConfigurationBlockDeviceMappingsEbsDetails> for AwsAutoScalingLaunchConfigurationBlockDeviceMappingsEbsDetails
sourcefn eq(
&self,
other: &AwsAutoScalingLaunchConfigurationBlockDeviceMappingsEbsDetails
) -> bool
fn eq(
&self,
other: &AwsAutoScalingLaunchConfigurationBlockDeviceMappingsEbsDetails
) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
impl StructuralPartialEq for AwsAutoScalingLaunchConfigurationBlockDeviceMappingsEbsDetails
Auto Trait Implementations
impl RefUnwindSafe for AwsAutoScalingLaunchConfigurationBlockDeviceMappingsEbsDetails
impl Send for AwsAutoScalingLaunchConfigurationBlockDeviceMappingsEbsDetails
impl Sync for AwsAutoScalingLaunchConfigurationBlockDeviceMappingsEbsDetails
impl Unpin for AwsAutoScalingLaunchConfigurationBlockDeviceMappingsEbsDetails
impl UnwindSafe for AwsAutoScalingLaunchConfigurationBlockDeviceMappingsEbsDetails
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