在lambda.js中运行AWS Firehose会产生未定义的错误 [英] Running AWS Firehose in lambda.js gives an undefined error
本文介绍了在lambda.js中运行AWS Firehose会产生未定义的错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
var AWS = require('aws-sdk');
var firehose = new AWS.Firehose();
在配置了适当角色的lambda中运行以上代码,AWS返回
Running above code in lambda with proper roles configured, AWS returns
errorMessage":未定义的不是函数
errorMessage": "undefined is not a function
任何人都有一个主意,如何才能将Firehouse加载到aws-sdk中?
Anyone have an idea how can I get firehouse to load in aws-sdk?
推荐答案
我用亚马逊打开了票证,他们验证了firehouse不能在lambda上运行,但是在ec2上可以正常工作.
I opened ticket, with amazon and they verified firehouse isn't working with lambda, yet is working ec2.
他们已将问题升级为服务团队,以支持FireHose.
They have escalated the issue to a service-team in order to support FireHose.
这篇关于在lambda.js中运行AWS Firehose会产生未定义的错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文