Skip to content

CloudFormation  >  Structures  >  StackResourceDriftInformation

StackResourceDriftInformation

Structure Class

StackResourceDriftInformation dataclass

Bases: _SerdeShape

Contains 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 has not checked if the resource differs from its expected configuration.

Any resources that do not currently support drift detection have a status of NOT_CHECKED. For more information, see Resource type support for imports and drift detection.

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