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)


8390
8391
8392
8393
8394
8395
8396
8397
# File 'gems/aws-sdk-cloudwatchlogs/lib/aws-sdk-cloudwatchlogs/types.rb', line 8390

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)


8390
8391
8392
8393
8394
8395
8396
8397
# File 'gems/aws-sdk-cloudwatchlogs/lib/aws-sdk-cloudwatchlogs/types.rb', line 8390

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>)


8390
8391
8392
8393
8394
8395
8396
8397
# File 'gems/aws-sdk-cloudwatchlogs/lib/aws-sdk-cloudwatchlogs/types.rb', line 8390

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)


8390
8391
8392
8393
8394
8395
8396
8397
# File 'gems/aws-sdk-cloudwatchlogs/lib/aws-sdk-cloudwatchlogs/types.rb', line 8390

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