简体   繁体   中英

How to set destination as lambda in cloudformation for aws kinesis data analytics

I want to create aws kinesis data analytics in cloudformation and I do want to add destination as lambda. As the following link suggests:

aws kinesis data analytics cfn

I can add destionation as follows:

  BasicApplicationOutputs:
Type: "AWS::KinesisAnalytics::ApplicationOutput"
DependsOn: BasicApplication
Properties:
  ApplicationName: !Ref BasicApplication
  Output:
    Name: "exampleOutput"
    DestinationSchema:
      RecordFormatType: "CSV"
    KinesisStreamsOutput:
      ResourceARN: !GetAtt OutputKinesisStream.Arn
      RoleARN: !GetAtt KinesisAnalyticsRole.Arn

Which I am ok with that and works fine. But this is set to another stream as destination. However I want lambda as destination and I do not know even if cloudformation support it or not. Can anyone shed light on this?

我注意到不支持通过云形成将分析直接连接到lambda,因此解决此问题的方法是使用另一个流作为桥接

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM