Class: Aws::CloudFormation::Types::ResourceTargetDefinition
- Inherits:
-
Struct
- Object
- Struct
- Aws::CloudFormation::Types::ResourceTargetDefinition
- 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
-
#after_value ⇒ String
The value of the property after the change is executed.
-
#after_value_from ⇒ String
Indicates the source of the after value.
-
#attribute ⇒ String
Indicates which resource attribute is triggering this update, such as a change in the resource attribute’s ‘Metadata`, `Properties`, or `Tags`.
-
#attribute_change_type ⇒ String
The type of change to be made to the property if the change is executed.
-
#before_value ⇒ String
The value of the property before the change is executed.
-
#before_value_from ⇒ String
Indicates the source of the before value.
-
#drift ⇒ Types::LiveResourceDrift
Detailed drift information for the resource property, including actual values, previous deployment values, and drift detection timestamps.
-
#name ⇒ String
If the ‘Attribute` value is `Properties`, the name of the property.
-
#path ⇒ String
The property path of the property.
-
#requires_recreation ⇒ String
If the ‘Attribute` value is `Properties`, indicates whether a change to this property causes the resource to be recreated.
Instance Attribute Details
#after_value ⇒ String
The value of the property after the change is executed. Large values can be truncated.
8087 8088 8089 8090 8091 8092 8093 8094 8095 8096 8097 8098 8099 8100 |
# File 'lib/aws-sdk-cloudformation/types.rb', line 8087 class ResourceTargetDefinition < Struct.new( :attribute, :name, :requires_recreation, :path, :before_value, :after_value, :before_value_from, :after_value_from, :drift, :attribute_change_type) SENSITIVE = [] include Aws::Structure end |
#after_value_from ⇒ String
Indicates the source of the after value. Valid value:
-
‘TEMPLATE` – The after value comes from the new template.
^
Only present for drift-aware change sets.
8087 8088 8089 8090 8091 8092 8093 8094 8095 8096 8097 8098 8099 8100 |
# File 'lib/aws-sdk-cloudformation/types.rb', line 8087 class ResourceTargetDefinition < Struct.new( :attribute, :name, :requires_recreation, :path, :before_value, :after_value, :before_value_from, :after_value_from, :drift, :attribute_change_type) SENSITIVE = [] include Aws::Structure end |
#attribute ⇒ String
Indicates which resource attribute is triggering this update, such as a change in the resource attribute’s ‘Metadata`, `Properties`, or `Tags`.
8087 8088 8089 8090 8091 8092 8093 8094 8095 8096 8097 8098 8099 8100 |
# File 'lib/aws-sdk-cloudformation/types.rb', line 8087 class ResourceTargetDefinition < Struct.new( :attribute, :name, :requires_recreation, :path, :before_value, :after_value, :before_value_from, :after_value_from, :drift, :attribute_change_type) SENSITIVE = [] include Aws::Structure end |
#attribute_change_type ⇒ String
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.
-
‘SyncWithActual` The drift status of this item will be reset but the item will not be modified.
8087 8088 8089 8090 8091 8092 8093 8094 8095 8096 8097 8098 8099 8100 |
# File 'lib/aws-sdk-cloudformation/types.rb', line 8087 class ResourceTargetDefinition < Struct.new( :attribute, :name, :requires_recreation, :path, :before_value, :after_value, :before_value_from, :after_value_from, :drift, :attribute_change_type) SENSITIVE = [] include Aws::Structure end |
#before_value ⇒ String
The value of the property before the change is executed. Large values can be truncated.
8087 8088 8089 8090 8091 8092 8093 8094 8095 8096 8097 8098 8099 8100 |
# File 'lib/aws-sdk-cloudformation/types.rb', line 8087 class ResourceTargetDefinition < Struct.new( :attribute, :name, :requires_recreation, :path, :before_value, :after_value, :before_value_from, :after_value_from, :drift, :attribute_change_type) SENSITIVE = [] include Aws::Structure end |
#before_value_from ⇒ String
Indicates the source of the before value. Valid values:
-
‘ACTUAL_STATE` – The before value represents current actual state.
-
‘PREVIOUS_DEPLOYMENT_STATE` – The before value represents the previous CloudFormation deployment state.
Only present for drift-aware change sets.
8087 8088 8089 8090 8091 8092 8093 8094 8095 8096 8097 8098 8099 8100 |
# File 'lib/aws-sdk-cloudformation/types.rb', line 8087 class ResourceTargetDefinition < Struct.new( :attribute, :name, :requires_recreation, :path, :before_value, :after_value, :before_value_from, :after_value_from, :drift, :attribute_change_type) SENSITIVE = [] include Aws::Structure end |
#drift ⇒ Types::LiveResourceDrift
Detailed drift information for the resource property, including actual values, previous deployment values, and drift detection timestamps.
8087 8088 8089 8090 8091 8092 8093 8094 8095 8096 8097 8098 8099 8100 |
# File 'lib/aws-sdk-cloudformation/types.rb', line 8087 class ResourceTargetDefinition < Struct.new( :attribute, :name, :requires_recreation, :path, :before_value, :after_value, :before_value_from, :after_value_from, :drift, :attribute_change_type) SENSITIVE = [] include Aws::Structure end |
#name ⇒ String
If the ‘Attribute` value is `Properties`, the name of the property. For all other attributes, the value is null.
8087 8088 8089 8090 8091 8092 8093 8094 8095 8096 8097 8098 8099 8100 |
# File 'lib/aws-sdk-cloudformation/types.rb', line 8087 class ResourceTargetDefinition < Struct.new( :attribute, :name, :requires_recreation, :path, :before_value, :after_value, :before_value_from, :after_value_from, :drift, :attribute_change_type) SENSITIVE = [] include Aws::Structure end |
#path ⇒ String
The property path of the property.
8087 8088 8089 8090 8091 8092 8093 8094 8095 8096 8097 8098 8099 8100 |
# File 'lib/aws-sdk-cloudformation/types.rb', line 8087 class ResourceTargetDefinition < Struct.new( :attribute, :name, :requires_recreation, :path, :before_value, :after_value, :before_value_from, :after_value_from, :drift, :attribute_change_type) SENSITIVE = [] include Aws::Structure end |
#requires_recreation ⇒ String
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
8087 8088 8089 8090 8091 8092 8093 8094 8095 8096 8097 8098 8099 8100 |
# File 'lib/aws-sdk-cloudformation/types.rb', line 8087 class ResourceTargetDefinition < Struct.new( :attribute, :name, :requires_recreation, :path, :before_value, :after_value, :before_value_from, :after_value_from, :drift, :attribute_change_type) SENSITIVE = [] include Aws::Structure end |