You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

Class: Aws::CloudFormation::Types::ResourceTargetDefinition

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

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

Returned by:

Instance Attribute Summary collapse

Instance Attribute Details

#attributeString

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

Possible values:

  • Properties
  • Metadata
  • CreationPolicy
  • UpdatePolicy
  • DeletionPolicy
  • Tags

Returns:

  • (String)

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

#nameString

If the Attribute value is Properties, the name of the property. For all other attributes, the value is null.

Returns:

  • (String)

    If the Attribute value is Properties, the name of the property.

#requires_recreationString

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 CloudFormation User Guide.

Returns:

  • (String)

    If the Attribute value is Properties, indicates whether a change to this property causes the resource to be recreated.