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