ResourceTargetDefinition
The field that CloudFormation will change, such as the name of a resource's property, and whether the resource will be recreated.
Contents
- AfterValue
-
The value of the property after the change is executed. Large values can be truncated.
Type: String
Required: No
- AfterValueFrom
-
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.
Type: String
Valid Values:
TEMPLATERequired: No
-
- Attribute
-
Indicates which resource attribute is triggering this update, such as a change in the resource attribute's
Metadata,Properties, orTags.Type: String
Valid Values:
Properties | Metadata | CreationPolicy | UpdatePolicy | DeletionPolicy | UpdateReplacePolicy | TagsRequired: No
- AttributeChangeType
-
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.
Type: String
Valid Values:
Add | Remove | Modify | SyncWithActualRequired: No
-
- BeforeValue
-
The value of the property before the change is executed. Large values can be truncated.
Type: String
Required: No
- BeforeValueFrom
-
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.
Type: String
Valid Values:
PREVIOUS_DEPLOYMENT_STATE | ACTUAL_STATERequired: No
-
- Drift
-
Detailed drift information for the resource property, including actual values, previous deployment values, and drift detection timestamps.
Type: LiveResourceDrift object
Required: No
- Name
-
If the
Attributevalue isProperties, the name of the property. For all other attributes, the value is null.Type: String
Required: No
- Path
-
The property path of the property.
Type: String
Required: No
- RequiresRecreation
-
If the
Attributevalue isProperties, indicates whether a change to this property causes the resource to be recreated. The value can beNever,Always, orConditionally. To determine the conditions for aConditionallyrecreation, see the update behavior for that property in the AWS resource and property types reference in the AWS CloudFormation User Guide.Type: String
Valid Values:
Never | Conditionally | AlwaysRequired: No
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the following: