ResourceTargetDefinition¶
Structure Class¶
ResourceTargetDefinition
dataclass
¶
Bases: _SerdeShape
The field that CloudFormation will change, such as the name of a resource's property, and whether the resource will be recreated.
Attributes¶
after_value
class-attribute
instance-attribute
¶
after_value: str | None = ...
The value of the property after the change is executed. Large values can be truncated.
after_value_from
class-attribute
instance-attribute
¶
after_value_from: str | None = ...
Indicates the source of the after value. Valid value:
TEMPLATE-- The after value comes from the new template.
Only present for drift-aware change sets.
attribute
class-attribute
instance-attribute
¶
attribute: str | None = ...
Indicates which resource attribute is triggering this update, such as a
change in the resource attribute's Metadata, Properties, or Tags.
attribute_change_type
class-attribute
instance-attribute
¶
attribute_change_type: str | None = ...
The type of change to be made to the property if the change is executed.
-
AddThe item will be added. -
RemoveThe item will be removed. -
ModifyThe item will be modified. -
SyncWithActualThe drift status of this item will be reset but the item will not be modified.
before_value
class-attribute
instance-attribute
¶
before_value: str | None = ...
The value of the property before the change is executed. Large values can be truncated.
before_value_from
class-attribute
instance-attribute
¶
before_value_from: str | None = ...
Indicates the source of the before value. Valid values:
-
ACTUAL_STATE-- The before value represents current actual state. -
PREVIOUS_DEPLOYMENT_STATE-- The before value represents the previous CloudFormation deployment state.
Only present for drift-aware change sets.
drift
class-attribute
instance-attribute
¶
drift: LiveResourceDrift | None = ...
Detailed drift information for the resource property, including actual values, previous deployment values, and drift detection timestamps.
name
class-attribute
instance-attribute
¶
name: str | None = ...
If the Attribute value is Properties, the name of the property. For
all other attributes, the value is null.
requires_recreation
class-attribute
instance-attribute
¶
requires_recreation: str | None = ...
If the Attribute value is Properties, indicates whether a change to
this property causes the resource to be recreated. The value can be
Never, Always, or Conditionally. To determine the conditions for a
Conditionally recreation, see the update behavior for that property in
the Amazon Web Services resource and property types
reference
in the CloudFormation User Guide.