turbot/aws_insights

Query: sns_topic_subscriptions_for_sns_topic

Usage

powerpipe query aws_insights.query.sns_topic_subscriptions_for_sns_topic

SQL

select
subscription_arn as subscription_arn
from
aws_sns_topic_subscription
where
topic_arn = $1
and account_id = split_part($1, ':', 5)
and region = split_part($1, ':', 4);