【问题标题】:Is there any way to send data from aws lambda to firehose有什么方法可以将数据从 aws lambda 发送到 firehose
【发布时间】:2021-08-08 13:58:39
【问题描述】:

用于 auth0 身份验证的 aws 网关 http

效果很好,我在 aws lambda 中获取身体数据

exports.handler = async (event) => {
    // TODO implement
    const response = {
        statusCode: 200,
        body: JSON.stringify(event.body),
    };
    return response;
};

如何将 body 传递给 aws firehose?

【问题讨论】:

    标签: amazon-web-services aws-lambda amazon-kinesis-firehose


    【解决方案1】:

    是的,您可以对 JavaScript 使用 putRecordputRecordBatch AWS 开发工具包方法。

    您还需要为您的 lamnda 的执行角色添加 firehose 权限。

    【讨论】:

      猜你喜欢
      • 2016-11-13
      • 2021-05-06
      • 1970-01-01
      • 2022-06-11
      • 2021-09-27
      • 1970-01-01
      • 2020-09-14
      • 2020-03-17
      • 2019-10-14
      相关资源
      最近更新 更多