#[non_exhaustive]pub struct StackResourceDriftInformationSummary {
pub stack_resource_drift_status: Option<StackResourceDriftStatus>,
pub last_check_timestamp: Option<DateTime>,
}
Expand description
Summarizes 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 hasn't checked if the resource differs from its expected configuration.Any resources that don't currently support drift detection have a status of
NOT_CHECKED
. For more information, see Resources that Support Drift Detection. If you performed anContinueUpdateRollback
operation on a stack, any resources included inResourcesToSkip
will also have a status ofNOT_CHECKED
. For more information about skipping resources during rollback operations, see Continue Rolling Back an Update in the CloudFormation User Guide. -
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 StackResourceDriftInformationSummary
impl StackResourceDriftInformationSummary
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 hasn't checked if the resource differs from its expected configuration.Any resources that don't currently support drift detection have a status of
NOT_CHECKED
. For more information, see Resources that Support Drift Detection. If you performed anContinueUpdateRollback
operation on a stack, any resources included inResourcesToSkip
will also have a status ofNOT_CHECKED
. For more information about skipping resources during rollback operations, see Continue Rolling Back an Update in the CloudFormation User Guide. -
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 StackResourceDriftInformationSummary
impl StackResourceDriftInformationSummary
sourcepub fn builder() -> StackResourceDriftInformationSummaryBuilder
pub fn builder() -> StackResourceDriftInformationSummaryBuilder
Creates a new builder-style object to manufacture StackResourceDriftInformationSummary
.
Trait Implementations§
source§impl Clone for StackResourceDriftInformationSummary
impl Clone for StackResourceDriftInformationSummary
source§fn clone(&self) -> StackResourceDriftInformationSummary
fn clone(&self) -> StackResourceDriftInformationSummary
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl PartialEq for StackResourceDriftInformationSummary
impl PartialEq for StackResourceDriftInformationSummary
source§fn eq(&self, other: &StackResourceDriftInformationSummary) -> bool
fn eq(&self, other: &StackResourceDriftInformationSummary) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for StackResourceDriftInformationSummary
Auto Trait Implementations§
impl Freeze for StackResourceDriftInformationSummary
impl RefUnwindSafe for StackResourceDriftInformationSummary
impl Send for StackResourceDriftInformationSummary
impl Sync for StackResourceDriftInformationSummary
impl Unpin for StackResourceDriftInformationSummary
impl UnwindSafe for StackResourceDriftInformationSummary
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