RDS 服务触发 Lambda

编程入门 行业动态 更新时间:2024-10-25 19:29:05
本文介绍了RDS 服务触发 Lambda的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

限时送ChatGPT账号..

我是 AWS 的新手,我一直在寻找一种从 RDS 服务(尤其是 MYSql)触发 Lambda 的方法.有什么办法可以实现吗?如果没有,还有其他方法可以实现吗?

I am new to AWS and I was looking for a way to trigger Lambda from RDS Service in particular MYSql. Is there any way possible to achieve it? If not is there any other way to achieve the same?

推荐答案

无法直接从 RDS 触发 Lambda 函数,但您可以将 SNS 主题与 RDS 实例关联以获取通知(请参阅 this) 然后将该 SNS 主题作为事件源添加到 Lambda 函数,该函数将具有一样的效果.本文档描述了 RDS 中可用的事件类别.

There is no way to directly trigger Lambda functions from RDS but you can associate an SNS topic with an RDS instance for notifications (see this) and then add that SNS topic as an event source to a Lambda function which would have the same effect. This document describes the available event categories in RDS.

这篇关于RDS 服务触发 Lambda的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

更多推荐

[db:关键词]

本文发布于:2023-04-23 05:05:41,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1035462.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:RDS   Lambda

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!