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.

SignalResourceInput

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

type SignalResourceInput struct { LogicalResourceId *string `type:"string" required:"true"` StackName *string `min:"1" type:"string" required:"true"` Status *string `type:"string" required:"true" enum:"ResourceSignalStatus"` UniqueId *string `min:"1" type:"string" required:"true"` }

The input for the SignalResource action.

LogicalResourceId

Type: *string

The logical ID of the resource that you want to signal. The logical ID is the name of the resource that given in the template.

LogicalResourceId is a required field

StackName

Type: *string

The stack name or unique stack ID that includes the resource that you want to signal.

StackName is a required field

Status

Type: *string

The status of the signal, which is either success or failure. A failure signal causes AWS CloudFormation to immediately fail the stack creation or update.

Status is a required field

UniqueId

Type: *string

A unique ID of the signal. When you signal Amazon EC2 instances or Auto Scaling groups, specify the instance ID that you are signaling as the unique ID. If you send multiple signals to a single resource (such as signaling a wait condition), each signal requires a different unique ID.

UniqueId is a required field

Method

GoString

func (s SignalResourceInput) GoString() string

GoString returns the string representation

SetLogicalResourceId

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

SetLogicalResourceId sets the LogicalResourceId field's value.

SetStackName

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

SetStackName sets the StackName field's value.

SetStatus

func (s *SignalResourceInput) SetStatus(v string) *SignalResourceInput

SetStatus sets the Status field's value.

SetUniqueId

func (s *SignalResourceInput) SetUniqueId(v string) *SignalResourceInput

SetUniqueId sets the UniqueId field's value.

String

func (s SignalResourceInput) String() string

String returns the string representation

Validate

func (s *SignalResourceInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

On this page: