Currently I have AWS IoT which publishes message to the clients that are listening .
But, Now I would want the AWS thing to publish the message to the clients whenever there is changes in S3 bucket .Similar to how lambda or SNS works . The trigger point should be modification in S3 bucket .
目前我有AWS IoT,它向正在收听的客户发布消息。但是,现在我希望AWS的东西在S3存储桶发生变化时将消息发布到客户端。类似于lambda或SNS的工作方式。触发点应该在S3存储桶中进行修改。
Any suggestions will be really helpful
任何建议都会非常有帮助
1 个解决方案
#1
1
Create an AWS Lambda function that is triggered by S3 new object events. Have the AWS Lambda function publish to the topic using the AWS SDK.
创建由S3新对象事件触发的AWS Lambda函数。让AWS Lambda函数使用AWS SDK发布到该主题。
#1
1
Create an AWS Lambda function that is triggered by S3 new object events. Have the AWS Lambda function publish to the topic using the AWS SDK.
创建由S3新对象事件触发的AWS Lambda函数。让AWS Lambda函数使用AWS SDK发布到该主题。