Files
aws-inventory/aws-apigw-inventory.sh
T
2026-01-20 12:56:06 +08:00

8 lines
191 B
Bash
Executable File

#!/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'