amazon-web-services - SNS 主题可以成为 EventBridge 的来源吗?

标签 amazon-web-services lambda amazon-cloudwatch amazon-kinesis-firehose aws-event-bridge

快速提问。我计划通过将 SNS 主题作为源传递到 EventBridge,而不是通过 Lambda 传递,然后从 EventBridge 传递到 Firehose,从而最大限度地减少资源的使用。我尝试过,但它不起作用。有可能吗,或者 Lambda 是使其成为源的唯一方法?

最佳答案

不可能。 SNS 主题的唯一有效订阅are :

    For the http protocol, the (public) endpoint is a URL beginning with http://.

    For the https protocol, the (public) endpoint is a URL beginning with https://.

    For the email protocol, the endpoint is an email address.

    For the email-json protocol, the endpoint is an email address.

    For the sms protocol, the endpoint is a phone number of an SMS-enabled device.

    For the sqs protocol, the endpoint is the ARN of an Amazon SQS queue.

    For the application protocol, the endpoint is the EndpointArn of a mobile app and device.

    For the lambda protocol, the endpoint is the ARN of an AWS Lambda function.

    For the firehose protocol, the endpoint is the ARN of an Amazon Kinesis Data Firehose delivery stream.

但是 SNS 可以直接推送到 Firehose,所以也许就这样做。

关于amazon-web-services - SNS 主题可以成为 EventBridge 的来源吗?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/66257484/

相关文章:

c# - 有没有办法使用 LINQ 根据封闭条件(即不是简单的 WHERE 子句)选择一系列项目?

c# - AWS Lambda c# 异步 API 调用

python - 通过 AWS Lambda 在 AWS Redshift 中插入数据

amazon-web-services - 从 Putty 连接到 Amazon Linux EC2 AWS 镜像时出现 "Server refused our key"问题

ruby-on-rails - Elastic Beanstalk 上的 Sidekiq 进程 - Errno::ENOENT: 没有这样的文件或目录 - getcwd

amazon-web-services - Amazon MQ 无法在 CloudWatch 中发布日志

mysql - 对发生故障的从属 AWS 服务器使用什么指标

amazon-web-services - 如何获取 AWS IoT Button 的 IFTTT Maker Applet API key

c++ - 无法在 lambda 中捕获静态变量

python - 无法使用 boto3 paginate 迭代 cloudwatch 上的所有警报