lambda remove RDS database connections

0

hi, how can i remove this? i tried removing the policy but those connections are still here https://repost.aws/questions/QUWByB_vWLTui8GMFK2Ilotw/how-do-i-disassociate-a-a-database-proxy-from-a-lambda-function

Enter image description here

and there is no cli....

regards.

  • If the Security Group(SG) for your Database allow the Security Group of your lambda than you will see RDS database connection. If you create a SG for your lambda than a SG for your proxy to allow your lambda , than a SG for your database to allow your proxy, you should not see any RDS Database connection

1回答
1
承認された回答

Hello.

The Lambda screen displays all RDSs that exist in the VPC to which Lambda is connected.
So, to remove RDS from that list, either delete RDS itself or disconnect Lambda from the VPC.
If you configure the connection settings to RDS from that screen, only a security group etc. will be created, so if you delete the created security group from Lambda or RDS, you will no longer be able to connect.
In other words, this screen is prepared to simplify connection settings to RDS (security group settings, etc.), so it is not a screen for directly connecting to RDS from Lambda.
https://docs.aws.amazon.com/lambda/latest/dg/services-rds.html

profile picture
エキスパート
回答済み 2ヶ月前
profile picture
エキスパート
レビュー済み 6日前
profile picture
エキスパート
レビュー済み 2ヶ月前

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン

関連するコンテンツ