AWS SDK for Go (PILOT)
API Reference

PREVIEW DOCUMENTATION - This is a preview of a new format for the AWS SDK for Go API Reference documentation. For the current AWS SDK for Go API Reference, see https://docs.aws.amazon.com/sdk-for-go/api/.

We welcome your feedback on this new version of the documentation. Send your comments to aws-sdkdocs-feedback@amazon.com.

PropertyDifference

import "github.com/aws/aws-sdk-go/service/cloudformation"

type PropertyDifference struct { ActualValue *string `type:"string" required:"true"` DifferenceType *string `type:"string" required:"true" enum:"DifferenceType"` ExpectedValue *string `type:"string" required:"true"` PropertyPath *string `type:"string" required:"true"` }

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 (https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-stack-drift.html).

ActualValue

Type: *string

The actual property value of the resource property.

ActualValue is a required field

DifferenceType

Type: *string

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).

DifferenceType is a required field

ExpectedValue

Type: *string

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

ExpectedValue is a required field

PropertyPath

Type: *string

The fully-qualified path to the resource property.

PropertyPath is a required field

Method

GoString

func (s PropertyDifference) GoString() string

GoString returns the string representation

SetActualValue

func (s *PropertyDifference) SetActualValue(v string) *PropertyDifference

SetActualValue sets the ActualValue field's value.

SetDifferenceType

func (s *PropertyDifference) SetDifferenceType(v string) *PropertyDifference

SetDifferenceType sets the DifferenceType field's value.

SetExpectedValue

func (s *PropertyDifference) SetExpectedValue(v string) *PropertyDifference

SetExpectedValue sets the ExpectedValue field's value.

SetPropertyPath

func (s *PropertyDifference) SetPropertyPath(v string) *PropertyDifference

SetPropertyPath sets the PropertyPath field's value.

String

func (s PropertyDifference) String() string

String returns the string representation

On this page: