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
asked a year ago182 views
1 Answer
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
answered a year ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions