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

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

Overview

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#destination_nameString

A name for the destination.

Returns:

  • (String)


5444
5445
5446
5447
5448
5449
5450
5451
# File 'lib/aws-sdk-cloudwatchlogs/types.rb', line 5444

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

#role_arnString

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

Returns:

  • (String)


5444
5445
5446
5447
5448
5449
5450
5451
# File 'lib/aws-sdk-cloudwatchlogs/types.rb', line 5444

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

#tagsHash<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]

[1]: docs.aws.amazon.com/general/latest/gr/aws_tagging.html

Returns:

  • (Hash<String,String>)


5444
5445
5446
5447
5448
5449
5450
5451
# File 'lib/aws-sdk-cloudwatchlogs/types.rb', line 5444

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

#target_arnString

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

Returns:

  • (String)


5444
5445
5446
5447
5448
5449
5450
5451
# File 'lib/aws-sdk-cloudwatchlogs/types.rb', line 5444

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