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)


3919
3920
3921
3922
3923
3924
3925
3926
# File 'lib/aws-sdk-cloudwatchlogs/types.rb', line 3919

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)


3919
3920
3921
3922
3923
3924
3925
3926
# File 'lib/aws-sdk-cloudwatchlogs/types.rb', line 3919

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


3919
3920
3921
3922
3923
3924
3925
3926
# File 'lib/aws-sdk-cloudwatchlogs/types.rb', line 3919

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)


3919
3920
3921
3922
3923
3924
3925
3926
# File 'lib/aws-sdk-cloudwatchlogs/types.rb', line 3919

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