Struct aws_sdk_config::types::SsmControls
source · #[non_exhaustive]pub struct SsmControls {
pub concurrent_execution_rate_percentage: Option<i32>,
pub error_percentage: Option<i32>,
}Expand description
Amazon Web Services Systems Manager (SSM) specific remediation controls.
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.concurrent_execution_rate_percentage: Option<i32>The maximum percentage of remediation actions allowed to run in parallel on the non-compliant resources for that specific rule. You can specify a percentage, such as 10%. The default value is 10.
error_percentage: Option<i32>The percentage of errors that are allowed before SSM stops running automations on non-compliant resources for that specific rule. You can specify a percentage of errors, for example 10%. If you do not specifiy a percentage, the default is 50%. For example, if you set the ErrorPercentage to 40% for 10 non-compliant resources, then SSM stops running the automations when the fifth error is received.
Implementations§
source§impl SsmControls
impl SsmControls
sourcepub fn concurrent_execution_rate_percentage(&self) -> Option<i32>
pub fn concurrent_execution_rate_percentage(&self) -> Option<i32>
The maximum percentage of remediation actions allowed to run in parallel on the non-compliant resources for that specific rule. You can specify a percentage, such as 10%. The default value is 10.
sourcepub fn error_percentage(&self) -> Option<i32>
pub fn error_percentage(&self) -> Option<i32>
The percentage of errors that are allowed before SSM stops running automations on non-compliant resources for that specific rule. You can specify a percentage of errors, for example 10%. If you do not specifiy a percentage, the default is 50%. For example, if you set the ErrorPercentage to 40% for 10 non-compliant resources, then SSM stops running the automations when the fifth error is received.
source§impl SsmControls
impl SsmControls
sourcepub fn builder() -> SsmControlsBuilder
pub fn builder() -> SsmControlsBuilder
Creates a new builder-style object to manufacture SsmControls.
Trait Implementations§
source§impl Clone for SsmControls
impl Clone for SsmControls
source§fn clone(&self) -> SsmControls
fn clone(&self) -> SsmControls
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for SsmControls
impl Debug for SsmControls
source§impl PartialEq for SsmControls
impl PartialEq for SsmControls
source§fn eq(&self, other: &SsmControls) -> bool
fn eq(&self, other: &SsmControls) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for SsmControls
Auto Trait Implementations§
impl Freeze for SsmControls
impl RefUnwindSafe for SsmControls
impl Send for SsmControls
impl Sync for SsmControls
impl Unpin for SsmControls
impl UnwindSafe for SsmControls
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit)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