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 Answer
0
Accepted Answer

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
EXPERT
answered a month ago
profile picture
EXPERT
reviewed a month ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions