#[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
sourceimpl 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.
sourceimpl StackResourceDriftInformation
impl StackResourceDriftInformation
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture StackResourceDriftInformation
Trait Implementations
sourceimpl Clone for StackResourceDriftInformation
impl Clone for StackResourceDriftInformation
sourcefn clone(&self) -> StackResourceDriftInformation
fn clone(&self) -> StackResourceDriftInformation
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for StackResourceDriftInformation
impl Debug for StackResourceDriftInformation
sourceimpl PartialEq<StackResourceDriftInformation> for StackResourceDriftInformation
impl PartialEq<StackResourceDriftInformation> for StackResourceDriftInformation
sourcefn eq(&self, other: &StackResourceDriftInformation) -> bool
fn eq(&self, other: &StackResourceDriftInformation) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &StackResourceDriftInformation) -> bool
fn ne(&self, other: &StackResourceDriftInformation) -> bool
This method tests for !=
.
impl StructuralPartialEq for StackResourceDriftInformation
Auto Trait Implementations
impl RefUnwindSafe for StackResourceDriftInformation
impl Send for StackResourceDriftInformation
impl Sync for StackResourceDriftInformation
impl Unpin for StackResourceDriftInformation
impl UnwindSafe for StackResourceDriftInformation
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more