#[non_exhaustive]pub struct StackDriftInformation {
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§
source§impl StackDriftInformation
impl StackDriftInformation
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.
source§impl StackDriftInformation
impl StackDriftInformation
sourcepub fn builder() -> StackDriftInformationBuilder
pub fn builder() -> StackDriftInformationBuilder
Creates a new builder-style object to manufacture StackDriftInformation
.
Trait Implementations§
source§impl Clone for StackDriftInformation
impl Clone for StackDriftInformation
source§fn clone(&self) -> StackDriftInformation
fn clone(&self) -> StackDriftInformation
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for StackDriftInformation
impl Debug for StackDriftInformation
source§impl PartialEq for StackDriftInformation
impl PartialEq for StackDriftInformation
source§fn eq(&self, other: &StackDriftInformation) -> bool
fn eq(&self, other: &StackDriftInformation) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for StackDriftInformation
Auto Trait Implementations§
impl Freeze for StackDriftInformation
impl RefUnwindSafe for StackDriftInformation
impl Send for StackDriftInformation
impl Sync for StackDriftInformation
impl Unpin for StackDriftInformation
impl UnwindSafe for StackDriftInformation
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