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.

StackResourceSummary

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

type StackResourceSummary struct { DriftInformation *StackResourceDriftInformationSummary `type:"structure"` LastUpdatedTimestamp *time.Time `type:"timestamp" required:"true"` LogicalResourceId *string `type:"string" required:"true"` PhysicalResourceId *string `type:"string"` ResourceStatus *string `type:"string" required:"true" enum:"ResourceStatus"` ResourceStatusReason *string `type:"string"` ResourceType *string `min:"1" type:"string" required:"true"` }

Contains high-level information about the specified stack resource.

DriftInformation

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

LastUpdatedTimestamp

Type: *time.Time

Time the status was updated.

LastUpdatedTimestamp is a required field

LogicalResourceId

Type: *string

The logical name of the resource specified in the template.

LogicalResourceId is a required field

PhysicalResourceId

Type: *string

The name or unique identifier that corresponds to a physical instance ID of the resource.

ResourceStatus

Type: *string

Current status of the resource.

ResourceStatus is a required field

ResourceStatusReason

Type: *string

Success/failure message associated with the resource.

ResourceType

Type: *string

Type of resource. (For more information, go to AWS Resource Types Reference (https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-template-resource-type-ref.html) in the AWS CloudFormation User Guide.)

ResourceType is a required field

Method

GoString

func (s StackResourceSummary) GoString() string

GoString returns the string representation

SetDriftInformation

func (s *StackResourceSummary) SetDriftInformation(v *StackResourceDriftInformationSummary) *StackResourceSummary

SetDriftInformation sets the DriftInformation field's value.

SetLastUpdatedTimestamp

func (s *StackResourceSummary) SetLastUpdatedTimestamp(v time.Time) *StackResourceSummary

SetLastUpdatedTimestamp sets the LastUpdatedTimestamp field's value.

SetLogicalResourceId

func (s *StackResourceSummary) SetLogicalResourceId(v string) *StackResourceSummary

SetLogicalResourceId sets the LogicalResourceId field's value.

SetPhysicalResourceId

func (s *StackResourceSummary) SetPhysicalResourceId(v string) *StackResourceSummary

SetPhysicalResourceId sets the PhysicalResourceId field's value.

SetResourceStatus

func (s *StackResourceSummary) SetResourceStatus(v string) *StackResourceSummary

SetResourceStatus sets the ResourceStatus field's value.

SetResourceStatusReason

func (s *StackResourceSummary) SetResourceStatusReason(v string) *StackResourceSummary

SetResourceStatusReason sets the ResourceStatusReason field's value.

SetResourceType

func (s *StackResourceSummary) SetResourceType(v string) *StackResourceSummary

SetResourceType sets the ResourceType field's value.

String

func (s StackResourceSummary) String() string

String returns the string representation

On this page: