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.

CloudWatchLoggingOptionDescription

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

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

Description of the CloudWatch logging option.

CloudWatchLoggingOptionId

Type: *string

ID of the CloudWatch logging option description.

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 used must have the PutLogEvents policy action enabled.

RoleARN is a required field

Method

GoString

func (s CloudWatchLoggingOptionDescription) GoString() string

GoString returns the string representation

SetCloudWatchLoggingOptionId

func (s *CloudWatchLoggingOptionDescription) SetCloudWatchLoggingOptionId(v string) *CloudWatchLoggingOptionDescription

SetCloudWatchLoggingOptionId sets the CloudWatchLoggingOptionId field's value.

SetLogStreamARN

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

SetLogStreamARN sets the LogStreamARN field's value.

SetRoleARN

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

SetRoleARN sets the RoleARN field's value.

String

func (s CloudWatchLoggingOptionDescription) String() string

String returns the string representation

On this page: