Skip to content

StackDriftInformation

Source code in docs_src/capo_cloudformation/types/stack_drift_information.py
class StackDriftInformation(TypedDict, closed=True):
    stack_drift_status: NotRequired[
        "capo_cloudformation.types.stack_drift_status.StackDriftStatus"
    ]
    """<p>Status of the stack's actual configuration compared to its expected template configuration.</p> <ul> <li> <p> <code>DRIFTED</code>: The stack differs from its expected template configuration. A stack is considered to have drifted if one or more of its resources have drifted.</p> </li> <li> <p> <code>NOT_CHECKED</code>: CloudFormation hasn't checked if the stack differs from its expected template configuration.</p> </li> <li> <p> <code>IN_SYNC</code>: The stack's actual configuration matches its expected template configuration.</p> </li> <li> <p> <code>UNKNOWN</code>: CloudFormation could not run drift detection for a resource in the stack.</p> </li> </ul>"""
    last_check_timestamp: NotRequired["capo_cloudformation.types.timestamp.Timestamp"]
    """<p>Most recent time when a drift detection operation was initiated on the stack, or any of its individual resources that support drift detection.</p>"""

last_check_timestamp instance-attribute

last_check_timestamp: NotRequired[Timestamp]

Most recent time when a drift detection operation was initiated on the stack, or any of its individual resources that support drift detection.

stack_drift_status instance-attribute

stack_drift_status: NotRequired[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: CloudFormation could not run drift detection for a resource in the stack.