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.