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.

StackResourceDriftInformation

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

type StackResourceDriftInformation struct { LastCheckTimestamp *time.Time `type:"timestamp"` StackResourceDriftStatus *string `type:"string" required:"true" enum:"StackResourceDriftStatus"` }

Contains information about whether the resource's actual configuration differs, or has drifted, from its expected configuration.

LastCheckTimestamp

Type: *time.Time

When AWS CloudFormation last checked if the resource had drifted from its expected configuration.

StackResourceDriftStatus

Type: *string

Status of the resource's actual configuration compared to its expected configuration

  • DELETED: The resource differs from its expected configuration in that it has been deleted.

  • MODIFIED: The resource differs from its expected configuration.

  • NOT_CHECKED: AWS CloudFormation has not checked if the resource differs from its expected configuration.

Any resources that do not currently support drift detection have a status

of NOT_CHECKED. For more information, see Resources that Support Drift Detection (http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-stack-drift-resource-list.html).
  • IN_SYNC: The resources's actual configuration matches its expected configuration.

StackResourceDriftStatus is a required field

Method

GoString

func (s StackResourceDriftInformation) GoString() string

GoString returns the string representation

SetLastCheckTimestamp

func (s *StackResourceDriftInformation) SetLastCheckTimestamp(v time.Time) *StackResourceDriftInformation

SetLastCheckTimestamp sets the LastCheckTimestamp field's value.

SetStackResourceDriftStatus

func (s *StackResourceDriftInformation) SetStackResourceDriftStatus(v string) *StackResourceDriftInformation

SetStackResourceDriftStatus sets the StackResourceDriftStatus field's value.

String

func (s StackResourceDriftInformation) String() string

String returns the string representation

On this page: