Skip to content

CloudFormation  >  Structures  >  StackResourceDriftInformationSummary

StackResourceDriftInformationSummary

Structure Class

StackResourceDriftInformationSummary dataclass

Bases: _SerdeShape

Summarizes information about whether the resource's actual configuration differs, or has drifted, from its expected configuration.

Attributes

last_check_timestamp class-attribute instance-attribute
last_check_timestamp: datetime | None = ...

When CloudFormation last checked if the resource had drifted from its expected configuration.

stack_resource_drift_status class-attribute instance-attribute
stack_resource_drift_status: str | None = ...

Status of the resource's actual configuration compared to its expected configuration.

  • DELETED: The resource differs from its expected configuration in that it has been deleted.

  • MODIFIED: The resource differs from its expected configuration.

  • NOT_CHECKED: CloudFormation hasn't checked if the resource differs from its expected configuration.

Any resources that don't currently support drift detection have a status of NOT_CHECKED. For more information, see Resource type support for imports and drift detection. If you performed a ContinueUpdateRollback operation on a stack, resources skipped using ResourcesToSkip or ForceRollback also have a status of NOT_CHECKED. To detect whether a skipped resource actually differs from the template, run DetectStackResourceDrift. For more information about skipping resources during rollback operations, see Continue rolling back an update in the CloudFormation User Guide.

  • IN_SYNC: The resource's actual configuration matches its expected configuration.