turbot/aws_insights

Query: sns_topic_cost_per_month

Usage

powerpipe query aws_insights.query.sns_topic_cost_per_month

SQL

select
to_char(period_start, 'Mon-YY') as "Month",
sum(unblended_cost_amount)::numeric::money as "Unblended Cost"
from
aws_cost_by_service_usage_type_monthly
where
service = 'Amazon Simple Notification Service'
group by
period_start
order by
period_start;

Dashboards

The query is used in the dashboards: