how to list all VPCs in my aws account using ruby sdk 3

0

I'm trying to list all of the VPCs associated with my AWS account using the ruby sdk, but I can't seem to find the correct methods to do it. Can someone please point me to the correct method to call?

pruan
preguntada hace 2 años200 visualizaciones
1 Respuesta
0

Hello,

You are looking for the "describe_vpcs" API, which seems to be under "#data" in the ruby VPC SDK: https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Vpc.html

Good luck!

profile picture
respondido hace 2 años

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