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',
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_pinpoint as pinpoint
cfn_event_stream_props = pinpoint.CfnEventStreamProps(
application_id="applicationId",
destination_stream_arn="destinationStreamArn",
role_arn="roleArn"
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.pinpoint.*;
CfnEventStreamProps cfnEventStreamProps = CfnEventStreamProps.builder()
.applicationId("applicationId")
.destinationStreamArn("destinationStreamArn")
.roleArn("roleArn")
.build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.Pinpoint;
var cfnEventStreamProps = new CfnEventStreamProps {
ApplicationId = "applicationId",
DestinationStreamArn = "destinationStreamArn",
RoleArn = "roleArn"
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"
cfnEventStreamProps := &CfnEventStreamProps{
ApplicationId: jsii.String("applicationId"),
DestinationStreamArn: jsii.String("destinationStreamArn"),
RoleArn: jsii.String("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.