#[non_exhaustive]pub struct UnusedAccessConfiguration {
pub unused_access_age: Option<i32>,
}
Expand description
Contains information about an unused access analyzer.
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.unused_access_age: Option<i32>
The specified access age in days for which to generate findings for unused access. For example, if you specify 90 days, the analyzer will generate findings for IAM entities within the accounts of the selected organization for any access that hasn't been used in 90 or more days since the analyzer's last scan. You can choose a value between 1 and 180 days.
Implementations§
source§impl UnusedAccessConfiguration
impl UnusedAccessConfiguration
sourcepub fn unused_access_age(&self) -> Option<i32>
pub fn unused_access_age(&self) -> Option<i32>
The specified access age in days for which to generate findings for unused access. For example, if you specify 90 days, the analyzer will generate findings for IAM entities within the accounts of the selected organization for any access that hasn't been used in 90 or more days since the analyzer's last scan. You can choose a value between 1 and 180 days.
source§impl UnusedAccessConfiguration
impl UnusedAccessConfiguration
sourcepub fn builder() -> UnusedAccessConfigurationBuilder
pub fn builder() -> UnusedAccessConfigurationBuilder
Creates a new builder-style object to manufacture UnusedAccessConfiguration
.
Trait Implementations§
source§impl Clone for UnusedAccessConfiguration
impl Clone for UnusedAccessConfiguration
source§fn clone(&self) -> UnusedAccessConfiguration
fn clone(&self) -> UnusedAccessConfiguration
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for UnusedAccessConfiguration
impl Debug for UnusedAccessConfiguration
source§impl PartialEq for UnusedAccessConfiguration
impl PartialEq for UnusedAccessConfiguration
source§fn eq(&self, other: &UnusedAccessConfiguration) -> bool
fn eq(&self, other: &UnusedAccessConfiguration) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for UnusedAccessConfiguration
Auto Trait Implementations§
impl Freeze for UnusedAccessConfiguration
impl RefUnwindSafe for UnusedAccessConfiguration
impl Send for UnusedAccessConfiguration
impl Sync for UnusedAccessConfiguration
impl Unpin for UnusedAccessConfiguration
impl UnwindSafe for UnusedAccessConfiguration
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