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.

AutoRollbackConfiguration

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

type AutoRollbackConfiguration struct { Enabled *bool `locationName:"enabled" type:"boolean"` Events []*string `locationName:"events" type:"list"` }

Information about a configuration for automatically rolling back to a previous version of an application revision when a deployment is not completed successfully.

Enabled

Type: *bool

Indicates whether a defined automatic rollback configuration is currently enabled.

Events

Type: []*string

The event type or types that trigger a rollback.

Method

GoString

func (s AutoRollbackConfiguration) GoString() string

GoString returns the string representation

SetEnabled

func (s *AutoRollbackConfiguration) SetEnabled(v bool) *AutoRollbackConfiguration

SetEnabled sets the Enabled field's value.

SetEvents

func (s *AutoRollbackConfiguration) SetEvents(v []*string) *AutoRollbackConfiguration

SetEvents sets the Events field's value.

String

func (s AutoRollbackConfiguration) String() string

String returns the string representation

On this page: