#[non_exhaustive]pub struct StackDriftInformationSummary { /* private fields */ }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.
Implementations§
source§impl 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.
source§impl StackDriftInformationSummary
impl StackDriftInformationSummary
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture StackDriftInformationSummary.
Examples found in repository?
10096 10097 10098 10099 10100 10101 10102 10103 10104 10105 10106 10107 10108 10109 10110 10111 10112 10113 10114 10115 10116 10117 10118 10119 10120 10121 10122 10123 10124 10125 10126 10127 10128 10129 10130 10131 10132 10133 10134 10135
pub fn deser_structure_crate_model_stack_drift_information_summary(
decoder: &mut aws_smithy_xml::decode::ScopedDecoder,
) -> Result<crate::model::StackDriftInformationSummary, aws_smithy_xml::decode::XmlDecodeError> {
#[allow(unused_mut)]
let mut builder = crate::model::StackDriftInformationSummary::builder();
while let Some(mut tag) = decoder.next_tag() {
match tag.start_el() {
s if s.matches("StackDriftStatus") /* StackDriftStatus com.amazonaws.cloudformation#StackDriftInformationSummary$StackDriftStatus */ => {
let var_471 =
Some(
Result::<crate::model::StackDriftStatus, aws_smithy_xml::decode::XmlDecodeError>::Ok(
crate::model::StackDriftStatus::from(
aws_smithy_xml::decode::try_data(&mut tag)?.as_ref()
)
)
?
)
;
builder = builder.set_stack_drift_status(var_471);
}
,
s if s.matches("LastCheckTimestamp") /* LastCheckTimestamp com.amazonaws.cloudformation#StackDriftInformationSummary$LastCheckTimestamp */ => {
let var_472 =
Some(
aws_smithy_types::DateTime::from_str(
aws_smithy_xml::decode::try_data(&mut tag)?.as_ref()
, aws_smithy_types::date_time::Format::DateTime
)
.map_err(|_|aws_smithy_xml::decode::XmlDecodeError::custom("expected (timestamp: `com.amazonaws.cloudformation#Timestamp`)"))
?
)
;
builder = builder.set_last_check_timestamp(var_472);
}
,
_ => {}
}
}
Ok(builder.build())
}Trait Implementations§
source§impl Clone for StackDriftInformationSummary
impl Clone for StackDriftInformationSummary
source§fn clone(&self) -> StackDriftInformationSummary
fn clone(&self) -> StackDriftInformationSummary
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more