You are viewing documentation for version 3 of the AWS SDK for Ruby. Version 2 documentation can be found here.

Class: Aws::KinesisAnalytics::Types::CloudWatchLoggingOption

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-kinesisanalytics/lib/aws-sdk-kinesisanalytics/types.rb

Overview

Note:

When making an API call, you may pass CloudWatchLoggingOption data as a hash:

{
  log_stream_arn: "LogStreamARN", # required
  role_arn: "RoleARN", # required
}

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

Instance Attribute Summary collapse

Instance Attribute Details

#log_stream_arnString

ARN of the CloudWatch log to receive application messages.

Returns:

  • (String)


561
562
563
564
565
# File 'gems/aws-sdk-kinesisanalytics/lib/aws-sdk-kinesisanalytics/types.rb', line 561

class CloudWatchLoggingOption < Struct.new(
  :log_stream_arn,
  :role_arn)
  include Aws::Structure
end

#role_arnString

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.

Returns:

  • (String)


561
562
563
564
565
# File 'gems/aws-sdk-kinesisanalytics/lib/aws-sdk-kinesisanalytics/types.rb', line 561

class CloudWatchLoggingOption < Struct.new(
  :log_stream_arn,
  :role_arn)
  include Aws::Structure
end