turbot/aws_insights

Query: lambda_functions_for_kms_key

Usage

powerpipe query aws_insights.query.lambda_functions_for_kms_key

Steampipe Tables

SQL

select
arn as function_arn
from
aws_lambda_function
where
kms_key_arn = $1
and region = split_part($1, ':', 4)
and account_id = split_part($1, ':', 5);