DestinationArgs

data class DestinationArgs(val destinationName: Output<String>? = null, val destinationPolicy: Output<String>? = null, val roleArn: Output<String>? = null, val targetArn: Output<String>? = null) : ConvertibleToJava<DestinationArgs>

The AWS::Logs::Destination resource specifies a CloudWatch Logs destination. A destination encapsulates a physical resource (such as an Amazon Kinesis data stream) and enables you to subscribe that resource to a stream of log events.

Constructors

Link copied to clipboard
constructor(destinationName: Output<String>? = null, destinationPolicy: Output<String>? = null, roleArn: Output<String>? = null, targetArn: Output<String>? = null)

Properties

Link copied to clipboard
val destinationName: Output<String>? = null

The name of the destination resource

Link copied to clipboard
val destinationPolicy: Output<String>? = null

An IAM policy document that governs which AWS accounts can create subscription filters against this destination.

Link copied to clipboard
val roleArn: Output<String>? = null

The ARN of an IAM role that permits CloudWatch Logs to send data to the specified AWS resource

Link copied to clipboard
val targetArn: Output<String>? = null

The ARN of the physical target where the log events are delivered (for example, a Kinesis stream)

Functions

Link copied to clipboard
open override fun toJava(): DestinationArgs