turbot/aws_insights

Query: api_gateway_apis_for_lambda_function

Usage

powerpipe query aws_insights.query.api_gateway_apis_for_lambda_function

SQL

select
api_id
from
aws_api_gatewayv2_integration
where
integration_uri = $1
and account_id = split_part($1, ':', 5)
and region = split_part($1, ':', 4);