ResourceTargetDefinition - Amazon CloudFormation
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China.

ResourceTargetDefinition

The field that Amazon CloudFormation will change, such as the name of a resource's property, and whether the resource will be recreated.

Contents

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 | Tags

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

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 Amazon 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 Amazon SDKs, see the following: