CfnEventStreamProps Struct
Properties for defining a CfnEventStream.
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
applicationIdstringapplication_idstrapplicationIdStringApplicationIdstringApplicationId*stringrequired#The unique identifier for the Amazon Pinpoint application that you want to export data from.
destinationStreamArnstringdestination_stream_arnstrdestinationStreamArnStringDestinationStreamArnstringDestinationStreamArn*stringrequired#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
The AWS Identity and Access Management (IAM) role that authorizes Amazon Pinpoint to publish event data to the stream in your AWS account.