# CfnDestinationProps

Properties for defining a `CfnDestination`.

Extends: CfnDestinationProps
Used as props by: CfnDestination

- Source: Generated code
- Type last changed: v2.227.0 · 21 Nov 2025

## Example

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_logs as logs } from 'aws-cdk-lib';
const cfnDestinationProps: logs.CfnDestinationProps = {
  destinationName: 'destinationName',
  roleArn: 'roleArn',
  targetArn: 'targetArn',

  // the properties below are optional
  destinationPolicy: 'destinationPolicy',
  tags: [{
    key: 'key',
    value: 'value',
  }],
};
```

## Properties

- `destinationName`: string (required) — The name of the destination.

- `destinationPolicy`: string — An IAM policy document that governs which AWS accounts can create subscription filters against this destination.

- `roleArn`: string | [IRoleRef](/cdk/api/v2/docs/aws-cdk-lib.interfaces.aws_iam.IRoleRef.html) (required) — The ARN of an IAM role that permits CloudWatch Logs to send data to the specified AWS resource.

- `tags`: [CfnTag](/cdk/api/v2/docs/aws-cdk-lib.CfnTag.html)[] — The tags that have been assigned to this delivery destination.

- `targetArn`: string | [IStreamRef](/cdk/api/v2/docs/aws-cdk-lib.interfaces.aws_kinesis.IStreamRef.html) | [IDeliveryStreamRef](/cdk/api/v2/docs/aws-cdk-lib.interfaces.aws_kinesisfirehose.IDeliveryStreamRef.html) | [IFunctionRef](/cdk/api/v2/docs/aws-cdk-lib.interfaces.aws_lambda.IFunctionRef.html) (required) — The Amazon Resource Name (ARN) of the physical target where the log events are delivered (for example, a Kinesis stream).
