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.

StackResourceDriftInformationSummary

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

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

Summarizes 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). If you performed an ContinueUpdateRollback operation on a stack, any resources included in ResourcesToSkip will also have a status of NOT_CHECKED. For more information on skipping resources during rollback operations, see Continue Rolling Back an Update (http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-continueupdaterollback.html) in the AWS CloudFormation User Guide.
  • IN_SYNC: The resources's actual configuration matches its expected configuration.

StackResourceDriftStatus is a required field

Method

GoString

func (s StackResourceDriftInformationSummary) GoString() string

GoString returns the string representation

SetLastCheckTimestamp

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

SetLastCheckTimestamp sets the LastCheckTimestamp field's value.

SetStackResourceDriftStatus

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

SetStackResourceDriftStatus sets the StackResourceDriftStatus field's value.

String

func (s StackResourceDriftInformationSummary) String() string

String returns the string representation

On this page: