#[non_exhaustive]pub struct StackResourceDriftInformation {
pub stack_resource_drift_status: Option<StackResourceDriftStatus>,
pub last_check_timestamp: Option<DateTime>,
}
Expand description
Contains information about whether the resource's actual configuration differs, or has drifted, from its expected configuration.
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.stack_resource_drift_status: Option<StackResourceDriftStatus>
Status of the resource's actual configuration compared to its expected configuration
-
DELETED
: The resource differs from its expected configuration in that it has been deleted. -
MODIFIED
: The resource differs from its expected configuration. -
NOT_CHECKED
: CloudFormation has not checked if the resource differs from its expected configuration.Any resources that do not currently support drift detection have a status of
NOT_CHECKED
. For more information, see Resources that Support Drift Detection. -
IN_SYNC
: The resource's actual configuration matches its expected configuration.
last_check_timestamp: Option<DateTime>
When CloudFormation last checked if the resource had drifted from its expected configuration.
Implementations§
source§impl StackResourceDriftInformation
impl StackResourceDriftInformation
sourcepub fn stack_resource_drift_status(&self) -> Option<&StackResourceDriftStatus>
pub fn stack_resource_drift_status(&self) -> Option<&StackResourceDriftStatus>
Status of the resource's actual configuration compared to its expected configuration
-
DELETED
: The resource differs from its expected configuration in that it has been deleted. -
MODIFIED
: The resource differs from its expected configuration. -
NOT_CHECKED
: CloudFormation has not checked if the resource differs from its expected configuration.Any resources that do not currently support drift detection have a status of
NOT_CHECKED
. For more information, see Resources that Support Drift Detection. -
IN_SYNC
: The resource's actual configuration matches its expected configuration.
sourcepub fn last_check_timestamp(&self) -> Option<&DateTime>
pub fn last_check_timestamp(&self) -> Option<&DateTime>
When CloudFormation last checked if the resource had drifted from its expected configuration.
source§impl StackResourceDriftInformation
impl StackResourceDriftInformation
sourcepub fn builder() -> StackResourceDriftInformationBuilder
pub fn builder() -> StackResourceDriftInformationBuilder
Creates a new builder-style object to manufacture StackResourceDriftInformation
.
Trait Implementations§
source§impl Clone for StackResourceDriftInformation
impl Clone for StackResourceDriftInformation
source§fn clone(&self) -> StackResourceDriftInformation
fn clone(&self) -> StackResourceDriftInformation
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl PartialEq for StackResourceDriftInformation
impl PartialEq for StackResourceDriftInformation
source§fn eq(&self, other: &StackResourceDriftInformation) -> bool
fn eq(&self, other: &StackResourceDriftInformation) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for StackResourceDriftInformation
Auto Trait Implementations§
impl Freeze for StackResourceDriftInformation
impl RefUnwindSafe for StackResourceDriftInformation
impl Send for StackResourceDriftInformation
impl Sync for StackResourceDriftInformation
impl Unpin for StackResourceDriftInformation
impl UnwindSafe for StackResourceDriftInformation
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