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 Risposta
1
Risposta accettata

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
ESPERTO
con risposta 2 mesi fa
profile picture
ESPERTO
verificato 6 giorni fa
profile picture
ESPERTO
verificato 2 mesi fa

Accesso non effettuato. Accedi per postare una risposta.

Una buona risposta soddisfa chiaramente la domanda, fornisce un feedback costruttivo e incoraggia la crescita professionale del richiedente.

Linee guida per rispondere alle domande