Class: Aws::CloudWatchLogs::Types::PutDestinationRequest

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

Overview

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#destination_name ⇒ String

A name for the destination.

Returns:

  • (String)


8366
8367
8368
8369
8370
8371
8372
8373
# File 'gems/aws-sdk-cloudwatchlogs/lib/aws-sdk-cloudwatchlogs/types.rb', line 8366

class PutDestinationRequest < Struct.new(
  :destination_name,
  :target_arn,
  :role_arn,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#role_arn ⇒ String

The ARN of an IAM role that grants CloudWatch Logs permissions to call the Amazon Kinesis PutRecord operation on the destination stream.

Returns:

  • (String)


8366
8367
8368
8369
8370
8371
8372
8373
# File 'gems/aws-sdk-cloudwatchlogs/lib/aws-sdk-cloudwatchlogs/types.rb', line 8366

class PutDestinationRequest < Struct.new(
  :destination_name,
  :target_arn,
  :role_arn,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#tags ⇒ Hash<String,String>

An optional list of key-value pairs to associate with the resource.

For more information about tagging, see Tagging Amazon Web Services resources

Returns:

  • (Hash<String,String>)


8366
8367
8368
8369
8370
8371
8372
8373
# File 'gems/aws-sdk-cloudwatchlogs/lib/aws-sdk-cloudwatchlogs/types.rb', line 8366

class PutDestinationRequest < Struct.new(
  :destination_name,
  :target_arn,
  :role_arn,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#target_arn ⇒ String

The ARN of an Amazon Kinesis stream to which to deliver matching log events.

Returns:

  • (String)


8366
8367
8368
8369
8370
8371
8372
8373
# File 'gems/aws-sdk-cloudwatchlogs/lib/aws-sdk-cloudwatchlogs/types.rb', line 8366

class PutDestinationRequest < Struct.new(
  :destination_name,
  :target_arn,
  :role_arn,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end