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.

CloudWatchLoggingOption

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

type CloudWatchLoggingOption struct { LogStreamARN *string `min:"1" type:"string" required:"true"` RoleARN *string `min:"1" type:"string" required:"true"` }

Provides a description of CloudWatch logging options, including the log stream Amazon Resource Name (ARN) and the role ARN.

LogStreamARN

Type: *string

ARN of the CloudWatch log to receive application messages.

LogStreamARN is a required field

RoleARN

Type: *string

IAM ARN of the role to use to send application messages. Note: To write application messages to CloudWatch, the IAM role that is used must have the PutLogEvents policy action enabled.

RoleARN is a required field

Method

GoString

func (s CloudWatchLoggingOption) GoString() string

GoString returns the string representation

SetLogStreamARN

func (s *CloudWatchLoggingOption) SetLogStreamARN(v string) *CloudWatchLoggingOption

SetLogStreamARN sets the LogStreamARN field's value.

SetRoleARN

func (s *CloudWatchLoggingOption) SetRoleARN(v string) *CloudWatchLoggingOption

SetRoleARN sets the RoleARN field's value.

String

func (s CloudWatchLoggingOption) String() string

String returns the string representation

Validate

func (s *CloudWatchLoggingOption) Validate() error

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

On this page: