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

rudy
preguntada hace 2 meses203 visualizaciones
1 Respuesta
1
Respuesta aceptada

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
EXPERTO
respondido hace 2 meses
profile picture
EXPERTO
revisado hace 6 días
profile picture
EXPERTO
revisado hace 2 meses

No has iniciado sesión. Iniciar sesión para publicar una respuesta.

Una buena respuesta responde claramente a la pregunta, proporciona comentarios constructivos y fomenta el crecimiento profesional en la persona que hace la pregunta.

Pautas para responder preguntas