简体   繁体   English

如何在CloudFormation中将目标设置为Lambda以进行AWS Kinesis数据分析

[英]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. 我想在cloudformation中创建aws运动数据分析,并且我确实想将目的地添加为lambda。 As the following link suggests: 如以下链接所示:

aws kinesis data analytics cfn AWS Kinesis数据分析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. 但是我想将lambda作为目的地,即使cloudformation是否支持,我也不知道。 Can anyone shed light on this? 谁能阐明这一点?

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

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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