# CfnDestinationProps

Properties for defining a `CfnDestination`.

Extends: CfnDestinationProps
Used as props by: CfnDestination

- Source: Generated code
- Type last changed: v2.97.0 · 22 Sep 2023

## Example

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_iotwireless as iotwireless } from 'aws-cdk-lib';
const cfnDestinationProps: iotwireless.CfnDestinationProps = {
  expression: 'expression',
  expressionType: 'expressionType',
  name: 'name',

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

## Properties

- `description`: string — The description of the new resource.

  Maximum length is 2048 characters.

- `expression`: string (required) — The rule name to send messages to.

- `expressionType`: string (required) — The type of value in `Expression` .

- `name`: string (required) — The name of the new resource.

- `roleArn`: string — The ARN of the IAM Role that authorizes the destination.

- `tags`: [CfnTag](/cdk/api/v2/docs/aws-cdk-lib.CfnTag.html)[] — The tags are an array of key-value pairs to attach to the specified resource.

  Tags can have a minimum of 0 and a maximum of 50 items.
