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

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

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-cloudformation/lib/aws-sdk-cloudformation/types.rb

Overview

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

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.

Returns:

  • (String)


2960
2961
2962
2963
2964
2965
# File 'gems/aws-sdk-cloudformation/lib/aws-sdk-cloudformation/types.rb', line 2960

class ResourceTargetDefinition < Struct.new(
  :attribute,
  :name,
  :requires_recreation)
  include Aws::Structure
end

#nameString

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

Returns:

  • (String)


2960
2961
2962
2963
2964
2965
# File 'gems/aws-sdk-cloudformation/lib/aws-sdk-cloudformation/types.rb', line 2960

class ResourceTargetDefinition < Struct.new(
  :attribute,
  :name,
  :requires_recreation)
  include Aws::Structure
end

#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)


2960
2961
2962
2963
2964
2965
# File 'gems/aws-sdk-cloudformation/lib/aws-sdk-cloudformation/types.rb', line 2960

class ResourceTargetDefinition < Struct.new(
  :attribute,
  :name,
  :requires_recreation)
  include Aws::Structure
end