# CfnEventStreamProps

Properties for defining a `CfnEventStream`.

Extends: CfnEventStreamProps
Used as props by: CfnEventStream

- Source: Generated code

## Example

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_pinpoint as pinpoint } from 'aws-cdk-lib';
const cfnEventStreamProps: pinpoint.CfnEventStreamProps = {
  applicationId: 'applicationId',
  destinationStreamArn: 'destinationStreamArn',
  roleArn: 'roleArn',
};
```

## Properties

- `applicationId`: string (required) — The unique identifier for the Amazon Pinpoint application that you want to export data from.

- `destinationStreamArn`: string (required) — The Amazon Resource Name (ARN) of the Amazon Kinesis Data Stream or Amazon Data Firehose delivery stream that you want to publish event data to.

  For a Kinesis Data Stream, the ARN format is: `arn:aws:kinesis: region : account-id :stream/ stream_name`

  For a Firehose delivery stream, the ARN format is: `arn:aws:firehose: region : account-id :deliverystream/ stream_name`

- `roleArn`: string (required) — The AWS Identity and Access Management (IAM) role that authorizes Amazon Pinpoint to publish event data to the stream in your AWS account.
