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
질문됨 2년 전200회 조회
1개 답변
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
답변함 2년 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠