#[non_exhaustive]pub struct StackDriftInformationSummary {
pub stack_drift_status: Option<StackDriftStatus>,
pub last_check_timestamp: Option<DateTime>,
}
Expand description
Contains information about whether the stack's actual configuration differs, or has drifted, from its expected configuration, as defined in the stack template and any values specified as template parameters. A stack is considered to have drifted if one or more of its resources have drifted.
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_drift_status: Option<StackDriftStatus>
Status of the stack's actual configuration compared to its expected template configuration.
-
DRIFTED
: The stack differs from its expected template configuration. A stack is considered to have drifted if one or more of its resources have drifted. -
NOT_CHECKED
: CloudFormation hasn't checked if the stack differs from its expected template configuration. -
IN_SYNC
: The stack's actual configuration matches its expected template configuration. -
UNKNOWN
: This value is reserved for future use.
last_check_timestamp: Option<DateTime>
Most recent time when a drift detection operation was initiated on the stack, or any of its individual resources that support drift detection.
Implementations
sourceimpl StackDriftInformationSummary
impl StackDriftInformationSummary
sourcepub fn stack_drift_status(&self) -> Option<&StackDriftStatus>
pub fn stack_drift_status(&self) -> Option<&StackDriftStatus>
Status of the stack's actual configuration compared to its expected template configuration.
-
DRIFTED
: The stack differs from its expected template configuration. A stack is considered to have drifted if one or more of its resources have drifted. -
NOT_CHECKED
: CloudFormation hasn't checked if the stack differs from its expected template configuration. -
IN_SYNC
: The stack's actual configuration matches its expected template configuration. -
UNKNOWN
: This value is reserved for future use.
sourcepub fn last_check_timestamp(&self) -> Option<&DateTime>
pub fn last_check_timestamp(&self) -> Option<&DateTime>
Most recent time when a drift detection operation was initiated on the stack, or any of its individual resources that support drift detection.
sourceimpl StackDriftInformationSummary
impl StackDriftInformationSummary
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture StackDriftInformationSummary
.
Trait Implementations
sourceimpl Clone for StackDriftInformationSummary
impl Clone for StackDriftInformationSummary
sourcefn clone(&self) -> StackDriftInformationSummary
fn clone(&self) -> StackDriftInformationSummary
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 StackDriftInformationSummary
impl Debug for StackDriftInformationSummary
sourceimpl PartialEq<StackDriftInformationSummary> for StackDriftInformationSummary
impl PartialEq<StackDriftInformationSummary> for StackDriftInformationSummary
sourcefn eq(&self, other: &StackDriftInformationSummary) -> bool
fn eq(&self, other: &StackDriftInformationSummary) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &StackDriftInformationSummary) -> bool
fn ne(&self, other: &StackDriftInformationSummary) -> bool
This method tests for !=
.
impl StructuralPartialEq for StackDriftInformationSummary
Auto Trait Implementations
impl RefUnwindSafe for StackDriftInformationSummary
impl Send for StackDriftInformationSummary
impl Sync for StackDriftInformationSummary
impl Unpin for StackDriftInformationSummary
impl UnwindSafe for StackDriftInformationSummary
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