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

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

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

Overview

Note:

When making an API call, you may pass PutDestinationRequest data as a hash:

{
  destination_name: "DestinationName", # required
  target_arn: "TargetArn", # required
  role_arn: "RoleArn", # required
}

Instance Attribute Summary collapse

Instance Attribute Details

#destination_nameString

A name for the destination.

Returns:

  • (String)


1326
1327
1328
1329
1330
1331
# File 'gems/aws-sdk-cloudwatchlogs/lib/aws-sdk-cloudwatchlogs/types.rb', line 1326

class PutDestinationRequest < Struct.new(
  :destination_name,
  :target_arn,
  :role_arn)
  include Aws::Structure
end

#role_arnString

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

Returns:

  • (String)


1326
1327
1328
1329
1330
1331
# File 'gems/aws-sdk-cloudwatchlogs/lib/aws-sdk-cloudwatchlogs/types.rb', line 1326

class PutDestinationRequest < Struct.new(
  :destination_name,
  :target_arn,
  :role_arn)
  include Aws::Structure
end

#target_arnString

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

Returns:

  • (String)


1326
1327
1328
1329
1330
1331
# File 'gems/aws-sdk-cloudwatchlogs/lib/aws-sdk-cloudwatchlogs/types.rb', line 1326

class PutDestinationRequest < Struct.new(
  :destination_name,
  :target_arn,
  :role_arn)
  include Aws::Structure
end