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.

StackSummary

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

type StackSummary struct { CreationTime *time.Time `type:"timestamp" required:"true"` DeletionTime *time.Time `type:"timestamp"` DriftInformation *StackDriftInformationSummary `type:"structure"` LastUpdatedTime *time.Time `type:"timestamp"` ParentId *string `type:"string"` RootId *string `type:"string"` StackId *string `type:"string"` StackName *string `type:"string" required:"true"` StackStatus *string `type:"string" required:"true" enum:"StackStatus"` StackStatusReason *string `type:"string"` TemplateDescription *string `type:"string"` }

The StackSummary Data Type

CreationTime

Type: *time.Time

The time the stack was created.

CreationTime is a required field

DeletionTime

Type: *time.Time

The time the stack was deleted.

DriftInformation

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.

LastUpdatedTime

Type: *time.Time

The time the stack was last updated. This field will only be returned if the stack has been updated at least once.

ParentId

Type: *string

For nested stacks--stacks created as resources for another stack--the stack ID of the direct parent of this stack. For the first level of nested stacks, the root stack is also the parent stack.

For more information, see Working with Nested Stacks (https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-nested-stacks.html) in the AWS CloudFormation User Guide.

RootId

Type: *string

For nested stacks--stacks created as resources for another stack--the stack ID of the the top-level stack to which the nested stack ultimately belongs.

For more information, see Working with Nested Stacks (https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-nested-stacks.html) in the AWS CloudFormation User Guide.

StackId

Type: *string

Unique stack identifier.

StackName

Type: *string

The name associated with the stack.

StackName is a required field

StackStatus

Type: *string

The current status of the stack.

StackStatus is a required field

StackStatusReason

Type: *string

Success/Failure message associated with the stack status.

TemplateDescription

Type: *string

The template description of the template used to create the stack.

Method

GoString

func (s StackSummary) GoString() string

GoString returns the string representation

SetCreationTime

func (s *StackSummary) SetCreationTime(v time.Time) *StackSummary

SetCreationTime sets the CreationTime field's value.

SetDeletionTime

func (s *StackSummary) SetDeletionTime(v time.Time) *StackSummary

SetDeletionTime sets the DeletionTime field's value.

SetDriftInformation

func (s *StackSummary) SetDriftInformation(v *StackDriftInformationSummary) *StackSummary

SetDriftInformation sets the DriftInformation field's value.

SetLastUpdatedTime

func (s *StackSummary) SetLastUpdatedTime(v time.Time) *StackSummary

SetLastUpdatedTime sets the LastUpdatedTime field's value.

SetParentId

func (s *StackSummary) SetParentId(v string) *StackSummary

SetParentId sets the ParentId field's value.

SetRootId

func (s *StackSummary) SetRootId(v string) *StackSummary

SetRootId sets the RootId field's value.

SetStackId

func (s *StackSummary) SetStackId(v string) *StackSummary

SetStackId sets the StackId field's value.

SetStackName

func (s *StackSummary) SetStackName(v string) *StackSummary

SetStackName sets the StackName field's value.

SetStackStatus

func (s *StackSummary) SetStackStatus(v string) *StackSummary

SetStackStatus sets the StackStatus field's value.

SetStackStatusReason

func (s *StackSummary) SetStackStatusReason(v string) *StackSummary

SetStackStatusReason sets the StackStatusReason field's value.

SetTemplateDescription

func (s *StackSummary) SetTemplateDescription(v string) *StackSummary

SetTemplateDescription sets the TemplateDescription field's value.

String

func (s StackSummary) String() string

String returns the string representation

On this page: