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.

RollbackTrigger

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

type RollbackTrigger struct { Arn *string `locationName:"arn" type:"string" required:"true"` Type *string `locationName:"type" type:"string" required:"true"` }

This property corresponds to the AWS CloudFormation RollbackTrigger (https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/RollbackTrigger) Data Type.

Arn

Type: *string

This property corresponds to the content of the same name for the AWS CloudFormation RollbackTrigger (https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/RollbackTrigger) Data Type.

Arn is a required field

Type

Type: *string

This property corresponds to the content of the same name for the AWS CloudFormation RollbackTrigger (https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/RollbackTrigger) Data Type.

Type is a required field

Method

GoString

func (s RollbackTrigger) GoString() string

GoString returns the string representation

SetArn

func (s *RollbackTrigger) SetArn(v string) *RollbackTrigger

SetArn sets the Arn field's value.

SetType

func (s *RollbackTrigger) SetType(v string) *RollbackTrigger

SetType sets the Type field's value.

String

func (s RollbackTrigger) String() string

String returns the string representation

Validate

func (s *RollbackTrigger) Validate() error

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

On this page: