1 回答
- 最新
- 投票最多
- 评论最多
0
Create a MSK cluster using the MskConstruct:
const cluster = new Msk.Cluster(this, 'MyCluster', {
// configuration
});
Create a Firehose delivery stream using the FirehoseConstruct and specify the MSK cluster as the source:
const stream = new Firehose.CfnDeliveryStream(this, 'MyStream', {
deliveryStreamType: 'KinesisStreamAsSource',
kinesisStreamSourceConfiguration: {
kinesisStreamArn: cluster.kinesisStreamArn,
roleArn: // IAM role
}
});
Specify the S3 destination configuration for the stream.
Add appropriate IAM permissions and roles.
Deploy the CDK app.
相关内容
- AWS 官方已更新 3 年前
- AWS 官方已更新 2 年前
- AWS 官方已更新 1 年前
There is no property in MSK cluster called :-
cluster.kinesisStreamArn