diff --git a/aws-apigw-inventory.sh b/aws-apigw-inventory.sh new file mode 100755 index 0000000..def4f6c --- /dev/null +++ b/aws-apigw-inventory.sh @@ -0,0 +1,7 @@ +#!/bin/bash + +#RESTYPE=ApiGateway + +# Generate inventory in all regions +echo "RestAPI,Scope" +aws apigateway get-rest-apis | jq -cr '.items[] | [.name, .endpointConfiguration.types[0]] | @csv'