turbot/aws_insights

Query: cloudfront_distribution_by_status

Usage

powerpipe query aws_insights.query.cloudfront_distribution_by_status

SQL

select
case when enabled then 'Enabled' else 'Disabled' end as "Status",
count(*) as "Distributions"
from
aws_cloudfront_distribution
group by "Status"
order by "Status";

Dashboards

The query is used in the dashboards: