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

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#actual_valueString

The actual property value of the resource property.

Returns:

  • (String)

5577
5578
5579
5580
5581
5582
5583
5584
# File 'lib/aws-sdk-cloudformation/types.rb', line 5577

class PropertyDifference < Struct.new(
  :property_path,
  :expected_value,
  :actual_value,
  :difference_type)
  SENSITIVE = []
  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)

5577
5578
5579
5580
5581
5582
5583
5584
# File 'lib/aws-sdk-cloudformation/types.rb', line 5577

class PropertyDifference < Struct.new(
  :property_path,
  :expected_value,
  :actual_value,
  :difference_type)
  SENSITIVE = []
  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)

5577
5578
5579
5580
5581
5582
5583
5584
# File 'lib/aws-sdk-cloudformation/types.rb', line 5577

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

#property_pathString

The fully-qualified path to the resource property.

Returns:

  • (String)

5577
5578
5579
5580
5581
5582
5583
5584
# File 'lib/aws-sdk-cloudformation/types.rb', line 5577

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