turbot/aws_insights

Query: sns_topic_subscription_count

Usage

powerpipe query aws_insights.query.sns_topic_subscription_count

Steampipe Tables

SQL

select
subscriptions_confirmed as "Confirmed",
subscriptions_deleted as "Deleted",
subscriptions_pending as "Pending"
from
aws_sns_topic
where
topic_arn = $1
and account_id = split_part($1, ':', 5)
and region = split_part($1, ':', 4);

Dashboards

The query is used in the dashboards: