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

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

Overview

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

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#after_valueString

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

Returns:

  • (String)


7128
7129
7130
7131
7132
7133
7134
7135
7136
7137
7138
# File 'lib/aws-sdk-cloudformation/types.rb', line 7128

class ResourceTargetDefinition < Struct.new(
  :attribute,
  :name,
  :requires_recreation,
  :path,
  :before_value,
  :after_value,
  :attribute_change_type)
  SENSITIVE = []
  include Aws::Structure
end

#attributeString

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

Returns:

  • (String)


7128
7129
7130
7131
7132
7133
7134
7135
7136
7137
7138
# File 'lib/aws-sdk-cloudformation/types.rb', line 7128

class ResourceTargetDefinition < Struct.new(
  :attribute,
  :name,
  :requires_recreation,
  :path,
  :before_value,
  :after_value,
  :attribute_change_type)
  SENSITIVE = []
  include Aws::Structure
end

#attribute_change_typeString

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.

Returns:

  • (String)


7128
7129
7130
7131
7132
7133
7134
7135
7136
7137
7138
# File 'lib/aws-sdk-cloudformation/types.rb', line 7128

class ResourceTargetDefinition < Struct.new(
  :attribute,
  :name,
  :requires_recreation,
  :path,
  :before_value,
  :after_value,
  :attribute_change_type)
  SENSITIVE = []
  include Aws::Structure
end

#before_valueString

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

Returns:

  • (String)


7128
7129
7130
7131
7132
7133
7134
7135
7136
7137
7138
# File 'lib/aws-sdk-cloudformation/types.rb', line 7128

class ResourceTargetDefinition < Struct.new(
  :attribute,
  :name,
  :requires_recreation,
  :path,
  :before_value,
  :after_value,
  :attribute_change_type)
  SENSITIVE = []
  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)


7128
7129
7130
7131
7132
7133
7134
7135
7136
7137
7138
# File 'lib/aws-sdk-cloudformation/types.rb', line 7128

class ResourceTargetDefinition < Struct.new(
  :attribute,
  :name,
  :requires_recreation,
  :path,
  :before_value,
  :after_value,
  :attribute_change_type)
  SENSITIVE = []
  include Aws::Structure
end

#pathString

The property path of the property.

Returns:

  • (String)


7128
7129
7130
7131
7132
7133
7134
7135
7136
7137
7138
# File 'lib/aws-sdk-cloudformation/types.rb', line 7128

class ResourceTargetDefinition < Struct.new(
  :attribute,
  :name,
  :requires_recreation,
  :path,
  :before_value,
  :after_value,
  :attribute_change_type)
  SENSITIVE = []
  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 [Amazon Web Services resource and property types reference] in the *CloudFormation User Guide*.

[1]: docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-template-resource-type-ref.html

Returns:

  • (String)


7128
7129
7130
7131
7132
7133
7134
7135
7136
7137
7138
# File 'lib/aws-sdk-cloudformation/types.rb', line 7128

class ResourceTargetDefinition < Struct.new(
  :attribute,
  :name,
  :requires_recreation,
  :path,
  :before_value,
  :after_value,
  :attribute_change_type)
  SENSITIVE = []
  include Aws::Structure
end