#[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 ==
.