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
posta 2 anni fa200 visualizzazioni
1 Risposta
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
con risposta 2 anni 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