Skip to content

CloudFormation  >  Structures  >  PropertyDifference

PropertyDifference

Structure Class

PropertyDifference dataclass

Bases: _SerdeShape

Information about a resource property whose actual value differs from its expected value, as defined in the stack template and any values specified as template parameters. These will be present only for resources whose StackResourceDriftStatus is MODIFIED. For more information, see Detect unmanaged configuration changes to stacks and resources with drift detection.

Attributes

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

The actual property value of the resource property.

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

The type of property difference.

  • ADD: A value has been added to a resource property that's an array or list data type.

  • REMOVE: The property has been removed from the current resource configuration.

  • NOT_EQUAL: The current property value differs from its expected value (as defined in the stack template and any values specified as template parameters).

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

The expected property value of the resource property, as defined in the stack template and any values specified as template parameters.

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

The fully-qualified path to the resource property.