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
feita há 2 anos200 visualizações
1 Resposta
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 há 2 anos

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