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.

StackResourceDetail

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

type StackResourceDetail struct { Description *string `min:"1" type:"string"` DriftInformation *StackResourceDriftInformation `type:"structure"` LastUpdatedTimestamp *time.Time `type:"timestamp" required:"true"` LogicalResourceId *string `type:"string" required:"true"` Metadata *string `type:"string"` PhysicalResourceId *string `type:"string"` ResourceStatus *string `type:"string" required:"true" enum:"ResourceStatus"` ResourceStatusReason *string `type:"string"` ResourceType *string `min:"1" type:"string" required:"true"` StackId *string `type:"string"` StackName *string `type:"string"` }

Contains detailed information about the specified stack resource.

Description

Type: *string

User defined description associated with the resource.

DriftInformation

Contains 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

Metadata

Type: *string

The content of the Metadata attribute declared for the resource. For more information, see Metadata Attribute (https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-attribute-metadata.html) in the AWS CloudFormation User Guide.

PhysicalResourceId

Type: *string

The name or unique identifier that corresponds to a physical instance ID of a resource supported by AWS CloudFormation.

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

StackId

Type: *string

Unique identifier of the stack.

StackName

Type: *string

The name associated with the stack.

Method

GoString

func (s StackResourceDetail) GoString() string

GoString returns the string representation

SetDescription

func (s *StackResourceDetail) SetDescription(v string) *StackResourceDetail

SetDescription sets the Description field's value.

SetDriftInformation

func (s *StackResourceDetail) SetDriftInformation(v *StackResourceDriftInformation) *StackResourceDetail

SetDriftInformation sets the DriftInformation field's value.

SetLastUpdatedTimestamp

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

SetLastUpdatedTimestamp sets the LastUpdatedTimestamp field's value.

SetLogicalResourceId

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

SetLogicalResourceId sets the LogicalResourceId field's value.

SetMetadata

func (s *StackResourceDetail) SetMetadata(v string) *StackResourceDetail

SetMetadata sets the Metadata field's value.

SetPhysicalResourceId

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

SetPhysicalResourceId sets the PhysicalResourceId field's value.

SetResourceStatus

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

SetResourceStatus sets the ResourceStatus field's value.

SetResourceStatusReason

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

SetResourceStatusReason sets the ResourceStatusReason field's value.

SetResourceType

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

SetResourceType sets the ResourceType field's value.

SetStackId

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

SetStackId sets the StackId field's value.

SetStackName

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

SetStackName sets the StackName field's value.

String

func (s StackResourceDetail) String() string

String returns the string representation

On this page: