AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

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

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

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing PutDestinationRequest as input to an Aws::Client method, you can use a vanilla 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)

    A name for the destination.

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

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

#target_arnString

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

Returns:

  • (String)

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