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.

CloudWatchOutputConfig

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

type CloudWatchOutputConfig struct { CloudWatchLogGroupName *string `min:"1" type:"string"` CloudWatchOutputEnabled *bool `type:"boolean"` }

Configuration options for sending command output to CloudWatch Logs.

CloudWatchLogGroupName

Type: *string

The name of the CloudWatch log group where you want to send command output. If you don't specify a group name, Systems Manager automatically creates a log group for you. The log group uses the following naming format: aws/ssm/SystemsManagerDocumentName.

CloudWatchOutputEnabled

Type: *bool

Enables Systems Manager to send command output to CloudWatch Logs.

Method

GoString

func (s CloudWatchOutputConfig) GoString() string

GoString returns the string representation

SetCloudWatchLogGroupName

func (s *CloudWatchOutputConfig) SetCloudWatchLogGroupName(v string) *CloudWatchOutputConfig

SetCloudWatchLogGroupName sets the CloudWatchLogGroupName field's value.

SetCloudWatchOutputEnabled

func (s *CloudWatchOutputConfig) SetCloudWatchOutputEnabled(v bool) *CloudWatchOutputConfig

SetCloudWatchOutputEnabled sets the CloudWatchOutputEnabled field's value.

String

func (s CloudWatchOutputConfig) String() string

String returns the string representation

Validate

func (s *CloudWatchOutputConfig) Validate() error

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

On this page: