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.

StackDriftInformation

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

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

Contains information about whether the stack's actual configuration differs, or has drifted, from its expected configuration, as defined in the stack template and any values specified as template parameters. A stack is considered to have drifted if one or more of its resources have drifted.

LastCheckTimestamp

Type: *time.Time

Most recent time when a drift detection operation was initiated on the stack, or any of its individual resources that support drift detection.

StackDriftStatus

Type: *string

Status of the stack's actual configuration compared to its expected template configuration.

  • DRIFTED: The stack differs from its expected template configuration. A stack is considered to have drifted if one or more of its resources have drifted.

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

  • IN_SYNC: The stack's actual configuration matches its expected template configuration.

  • UNKNOWN: This value is reserved for future use.

StackDriftStatus is a required field

Method

GoString

func (s StackDriftInformation) GoString() string

GoString returns the string representation

SetLastCheckTimestamp

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

SetLastCheckTimestamp sets the LastCheckTimestamp field's value.

SetStackDriftStatus

func (s *StackDriftInformation) SetStackDriftStatus(v string) *StackDriftInformation

SetStackDriftStatus sets the StackDriftStatus field's value.

String

func (s StackDriftInformation) String() string

String returns the string representation

On this page: