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

Class: Aws::KinesisAnalytics::Types::AddApplicationCloudWatchLoggingOptionRequest

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 AddApplicationCloudWatchLoggingOptionRequest data as a hash:

{
  application_name: "ApplicationName", # required
  current_application_version_id: 1, # required
  cloud_watch_logging_option: { # required
    log_stream_arn: "LogStreamARN", # required
    role_arn: "RoleARN", # required
  },
}

Instance Attribute Summary collapse

Instance Attribute Details

#application_nameString

The Kinesis Analytics application name.

Returns:

  • (String)


40
41
42
43
44
45
# File 'gems/aws-sdk-kinesisanalytics/lib/aws-sdk-kinesisanalytics/types.rb', line 40

class AddApplicationCloudWatchLoggingOptionRequest < Struct.new(
  :application_name,
  :current_application_version_id,
  :cloud_watch_logging_option)
  include Aws::Structure
end

#cloud_watch_logging_optionTypes::CloudWatchLoggingOption

Provides the CloudWatch log stream Amazon Resource Name (ARN) and the IAM role ARN. Note: To write application messages to CloudWatch, the IAM role that is used must have the PutLogEvents policy action enabled.



40
41
42
43
44
45
# File 'gems/aws-sdk-kinesisanalytics/lib/aws-sdk-kinesisanalytics/types.rb', line 40

class AddApplicationCloudWatchLoggingOptionRequest < Struct.new(
  :application_name,
  :current_application_version_id,
  :cloud_watch_logging_option)
  include Aws::Structure
end

#current_application_version_idInteger

The version ID of the Kinesis Analytics application.

Returns:

  • (Integer)


40
41
42
43
44
45
# File 'gems/aws-sdk-kinesisanalytics/lib/aws-sdk-kinesisanalytics/types.rb', line 40

class AddApplicationCloudWatchLoggingOptionRequest < Struct.new(
  :application_name,
  :current_application_version_id,
  :cloud_watch_logging_option)
  include Aws::Structure
end