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 Resposta
1
Resposta aceita

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
ESPECIALISTA
respondido há 2 meses
profile picture
ESPECIALISTA
avaliado há 5 dias
profile picture
ESPECIALISTA
avaliado há 2 meses

Você não está conectado. Fazer login para postar uma resposta.

Uma boa resposta responde claramente à pergunta, dá feedback construtivo e incentiva o crescimento profissional de quem perguntou.

Diretrizes para responder a perguntas