Select your cookie preferences

We use essential cookies and similar tools that are necessary to provide our site and services. We use performance cookies to collect anonymous statistics, so we can understand how customers use our site and make improvements. Essential cookies cannot be deactivated, but you can choose “Customize” or “Decline” to decline performance cookies.

If you agree, AWS and approved third parties will also use cookies to provide useful site features, remember your preferences, and display relevant content, including relevant advertising. To accept or decline all non-essential cookies, choose “Accept” or “Decline.” To make more detailed choices, choose “Customize.”

ResourceTargetDefinition - AWS CloudFormation

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

Attribute

Indicates which resource attribute is triggering this update, such as a change in the resource attribute's Metadata, Properties, or Tags.

Type: String

Valid Values: Properties | Metadata | CreationPolicy | UpdatePolicy | DeletionPolicy | UpdateReplacePolicy | Tags

Required: No

AttributeChangeType

The type of change to be made to the property if the change is executed.

  • Add The item will be added.

  • Remove The item will be removed.

  • Modify The item will be modified.

Type: String

Valid Values: Add | Remove | Modify

Required: No

BeforeValue

The value of the property before the change is executed. Large values can be truncated.

Type: String

Required: No

Name

If the Attribute value is Properties, 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 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 AWS resource and property types reference in the AWS CloudFormation User Guide.

Type: String

Valid Values: Never | Conditionally | Always

Required: No

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following:

PrivacySite termsCookie preferences
© 2025, Amazon Web Services, Inc. or its affiliates. All rights reserved.