Class: Aws::CloudFormation::Types::PropertyDifference

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

Overview

Information about a resource property whose actual value differs from its expected value, as defined in the stack template and any values specified as template parameters. These will be present only for resources whose ‘StackResourceDriftStatus` is `MODIFIED`. For more information, see [Detecting Unregulated Configuration Changes to Stacks and Resources].

[1]: docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-stack-drift.html

Instance Attribute Summary collapse

Instance Attribute Details

#actual_valueString

The actual property value of the resource property.

Returns:

  • (String)


3434
3435
3436
3437
3438
3439
3440
# File 'lib/aws-sdk-cloudformation/types.rb', line 3434

class PropertyDifference < Struct.new(
  :property_path,
  :expected_value,
  :actual_value,
  :difference_type)
  include Aws::Structure
end

#difference_typeString

The type of property difference.

  • ‘ADD`: A value has been added to a resource property that is an array or list data type.

  • ‘REMOVE`: The property has been removed from the current resource configuration.

  • ‘NOT_EQUAL`: The current property value differs from its expected value (as defined in the stack template and any values specified as template parameters).

Returns:

  • (String)


3434
3435
3436
3437
3438
3439
3440
# File 'lib/aws-sdk-cloudformation/types.rb', line 3434

class PropertyDifference < Struct.new(
  :property_path,
  :expected_value,
  :actual_value,
  :difference_type)
  include Aws::Structure
end

#expected_valueString

The expected property value of the resource property, as defined in the stack template and any values specified as template parameters.

Returns:

  • (String)


3434
3435
3436
3437
3438
3439
3440
# File 'lib/aws-sdk-cloudformation/types.rb', line 3434

class PropertyDifference < Struct.new(
  :property_path,
  :expected_value,
  :actual_value,
  :difference_type)
  include Aws::Structure
end

#property_pathString

The fully-qualified path to the resource property.

Returns:

  • (String)


3434
3435
3436
3437
3438
3439
3440
# File 'lib/aws-sdk-cloudformation/types.rb', line 3434

class PropertyDifference < Struct.new(
  :property_path,
  :expected_value,
  :actual_value,
  :difference_type)
  include Aws::Structure
end