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.

CloudWatchLogsConfiguration

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

type CloudWatchLogsConfiguration struct { Enabled *bool `type:"boolean"` LogStreams []*CloudWatchLogsLogStream `type:"list"` }

Describes the Amazon CloudWatch logs configuration for a layer.

Enabled

Type: *bool

Whether CloudWatch Logs is enabled for a layer.

LogStreams

Describes the Amazon CloudWatch logs configuration for a layer. For detailed information about members of this data type, see the CloudWatch Logs Agent Reference (https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/AgentReference.html).

Method

GoString

func (s CloudWatchLogsConfiguration) GoString() string

GoString returns the string representation

SetEnabled

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

SetEnabled sets the Enabled field's value.

SetLogStreams

func (s *CloudWatchLogsConfiguration) SetLogStreams(v []*CloudWatchLogsLogStream) *CloudWatchLogsConfiguration

SetLogStreams sets the LogStreams field's value.

String

func (s CloudWatchLogsConfiguration) String() string

String returns the string representation

On this page: