Struct aws_sdk_cloudformation::operation::describe_stack_drift_detection_status::DescribeStackDriftDetectionStatusOutput
source · #[non_exhaustive]pub struct DescribeStackDriftDetectionStatusOutput {
pub stack_id: Option<String>,
pub stack_drift_detection_id: Option<String>,
pub stack_drift_status: Option<StackDriftStatus>,
pub detection_status: Option<StackDriftDetectionStatus>,
pub detection_status_reason: Option<String>,
pub drifted_stack_resource_count: Option<i32>,
pub timestamp: Option<DateTime>,
/* private fields */
}
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_id: Option<String>
The ID of the stack.
stack_drift_detection_id: Option<String>
The ID of the drift detection results of this operation.
CloudFormation generates new results, with a new drift detection ID, each time this operation is run. However, the number of reports CloudFormation retains for any given stack, and for how long, may vary.
stack_drift_status: Option<StackDriftStatus>
Status of the stack's actual configuration compared to its expected 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.
detection_status: Option<StackDriftDetectionStatus>
The status of the stack drift detection operation.
-
DETECTION_COMPLETE
: The stack drift detection operation has successfully completed for all resources in the stack that support drift detection. (Resources that don't currently support stack detection remain unchecked.)If you specified logical resource IDs for CloudFormation to use as a filter for the stack drift detection operation, only the resources with those logical IDs are checked for drift.
-
DETECTION_FAILED
: The stack drift detection operation has failed for at least one resource in the stack. Results will be available for resources on which CloudFormation successfully completed drift detection. -
DETECTION_IN_PROGRESS
: The stack drift detection operation is currently in progress.
detection_status_reason: Option<String>
The reason the stack drift detection operation has its current status.
drifted_stack_resource_count: Option<i32>
Total number of stack resources that have drifted. This is NULL until the drift detection operation reaches a status of DETECTION_COMPLETE
. This value will be 0 for stacks whose drift status is IN_SYNC
.
timestamp: Option<DateTime>
Time at which the stack drift detection operation was initiated.
Implementations§
source§impl DescribeStackDriftDetectionStatusOutput
impl DescribeStackDriftDetectionStatusOutput
sourcepub fn stack_drift_detection_id(&self) -> Option<&str>
pub fn stack_drift_detection_id(&self) -> Option<&str>
The ID of the drift detection results of this operation.
CloudFormation generates new results, with a new drift detection ID, each time this operation is run. However, the number of reports CloudFormation retains for any given stack, and for how long, may vary.
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 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 detection_status(&self) -> Option<&StackDriftDetectionStatus>
pub fn detection_status(&self) -> Option<&StackDriftDetectionStatus>
The status of the stack drift detection operation.
-
DETECTION_COMPLETE
: The stack drift detection operation has successfully completed for all resources in the stack that support drift detection. (Resources that don't currently support stack detection remain unchecked.)If you specified logical resource IDs for CloudFormation to use as a filter for the stack drift detection operation, only the resources with those logical IDs are checked for drift.
-
DETECTION_FAILED
: The stack drift detection operation has failed for at least one resource in the stack. Results will be available for resources on which CloudFormation successfully completed drift detection. -
DETECTION_IN_PROGRESS
: The stack drift detection operation is currently in progress.
sourcepub fn detection_status_reason(&self) -> Option<&str>
pub fn detection_status_reason(&self) -> Option<&str>
The reason the stack drift detection operation has its current status.
sourcepub fn drifted_stack_resource_count(&self) -> Option<i32>
pub fn drifted_stack_resource_count(&self) -> Option<i32>
Total number of stack resources that have drifted. This is NULL until the drift detection operation reaches a status of DETECTION_COMPLETE
. This value will be 0 for stacks whose drift status is IN_SYNC
.
source§impl DescribeStackDriftDetectionStatusOutput
impl DescribeStackDriftDetectionStatusOutput
sourcepub fn builder() -> DescribeStackDriftDetectionStatusOutputBuilder
pub fn builder() -> DescribeStackDriftDetectionStatusOutputBuilder
Creates a new builder-style object to manufacture DescribeStackDriftDetectionStatusOutput
.
Trait Implementations§
source§impl Clone for DescribeStackDriftDetectionStatusOutput
impl Clone for DescribeStackDriftDetectionStatusOutput
source§fn clone(&self) -> DescribeStackDriftDetectionStatusOutput
fn clone(&self) -> DescribeStackDriftDetectionStatusOutput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl PartialEq for DescribeStackDriftDetectionStatusOutput
impl PartialEq for DescribeStackDriftDetectionStatusOutput
source§fn eq(&self, other: &DescribeStackDriftDetectionStatusOutput) -> bool
fn eq(&self, other: &DescribeStackDriftDetectionStatusOutput) -> bool
self
and other
values to be equal, and is used
by ==
.source§impl RequestId for DescribeStackDriftDetectionStatusOutput
impl RequestId for DescribeStackDriftDetectionStatusOutput
source§fn request_id(&self) -> Option<&str>
fn request_id(&self) -> Option<&str>
None
if the service could not be reached.impl StructuralPartialEq for DescribeStackDriftDetectionStatusOutput
Auto Trait Implementations§
impl Freeze for DescribeStackDriftDetectionStatusOutput
impl RefUnwindSafe for DescribeStackDriftDetectionStatusOutput
impl Send for DescribeStackDriftDetectionStatusOutput
impl Sync for DescribeStackDriftDetectionStatusOutput
impl Unpin for DescribeStackDriftDetectionStatusOutput
impl UnwindSafe for DescribeStackDriftDetectionStatusOutput
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