class Amazonite::CloudFormation::PropertyDifference

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 Detect unmanaged configuration changes to stacks and resources with drift detection.

Defined in:

cloudformation/property_difference.cr

Constructors

Instance Method Summary

Constructor Detail

def self.from_xml(node : XML::Node) : self #

[View source]
def self.new(property_path : String, expected_value : String, actual_value : String, difference_type : DifferenceType) #

[View source]

Instance Method Detail

def ==(other : self) #
Description copied from class Reference

Returns true if this reference is the same as other. Invokes same?.


def actual_value : String #

The actual property value of the resource property.


[View source]
def actual_value=(actual_value : String) #

The actual property value of the resource property.


[View source]
def difference_type : DifferenceType #

The type of property difference.

  • ADD: A value has been added to a resource property that's 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).


[View source]
def difference_type=(difference_type : DifferenceType) #

The type of property difference.

  • ADD: A value has been added to a resource property that's 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).


[View source]
def expected_value : String #

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


[View source]
def expected_value=(expected_value : String) #

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


[View source]
def hash(hasher) #
Description copied from class Reference

See Object#hash(hasher)


def property_path : String #

The fully-qualified path to the resource property.


[View source]
def property_path=(property_path : String) #

The fully-qualified path to the resource property.


[View source]
def to_query_params(prefix : String) : Array(Tuple(String, String)) #

[View source]
def validate! : Nil #

[View source]