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.

UpdateTerminationProtectionInput

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

type UpdateTerminationProtectionInput struct { EnableTerminationProtection *bool `type:"boolean" required:"true"` StackName *string `min:"1" type:"string" required:"true"` }

EnableTerminationProtection

Type: *bool

Whether to enable termination protection on the specified stack.

EnableTerminationProtection is a required field

StackName

Type: *string

The name or unique ID of the stack for which you want to set termination protection.

StackName is a required field

Method

GoString

func (s UpdateTerminationProtectionInput) GoString() string

GoString returns the string representation

SetEnableTerminationProtection

func (s *UpdateTerminationProtectionInput) SetEnableTerminationProtection(v bool) *UpdateTerminationProtectionInput

SetEnableTerminationProtection sets the EnableTerminationProtection field's value.

SetStackName

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

SetStackName sets the StackName field's value.

String

func (s UpdateTerminationProtectionInput) String() string

String returns the string representation

Validate

func (s *UpdateTerminationProtectionInput) Validate() error

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

On this page: