Source: medium.com

Get Lambdas in VPC with Go

Category: github

First you need to install golang. The latest version can be downloaded from the official website.

In the function ListFunctionsPages there is a call of one more function which adds result of execution in a slice result.

For this purpose we will return again to the main method and to add there iterations on all lambdas with a condition.

Two checks are necessary because for some lambdas VpcConfig will be nil, and for others there will be a map in which there will be empty lists.

Related Articles