From 2106f0efca452fd87e622d97d4e6b120d9bde357 Mon Sep 17 00:00:00 2001 From: KenF Date: Tue, 20 Jan 2026 12:56:06 +0800 Subject: [PATCH] feat: added apigw rest api --- aws-apigw-inventory.sh | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100755 aws-apigw-inventory.sh 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'