SNS 主题可以成为 EventBridge 的来源吗?

Can SNS Topic be a source to EventBridge?

快速提问。我计划通过将 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,所以也许就这样做吧。