Skip to content

PutDestinationRequest

Source code in docs_src/capo_cloudwatch_logs/types/put_destination_request.py
class PutDestinationRequest(TypedDict, closed=True):
    destination_name: "capo_cloudwatch_logs.types.destination_name.DestinationName"
    """<p>A name for the destination.</p>"""
    target_arn: "capo_cloudwatch_logs.types.target_arn.TargetArn"
    """<p>The ARN of an Amazon Kinesis stream to which to deliver matching log events.</p>"""
    role_arn: "capo_cloudwatch_logs.types.role_arn.RoleArn"
    """<p>The ARN of an IAM role that grants CloudWatch Logs permissions to call the Amazon Kinesis <code>PutRecord</code> operation on the destination stream.</p>"""
    tags: NotRequired["capo_cloudwatch_logs.types.tags.Tags"]
    """<p>An optional list of key-value pairs to associate with the resource.</p> <p>For more information about tagging, see <a href="https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html">Tagging Amazon Web Services resources</a> </p>"""

destination_name instance-attribute

destination_name: DestinationName

A name for the destination.

role_arn instance-attribute

role_arn: RoleArn

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

tags instance-attribute

tags: NotRequired[Tags]

An optional list of key-value pairs to associate with the resource.

For more information about tagging, see Tagging Amazon Web Services resources

target_arn instance-attribute

target_arn: TargetArn

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