turbot/aws_thrifty
Loading controls...

Control: CloudFront distribution pricing class should be reviewed

Description

CloudFront distribution pricing class should be reviewed. Price Classes let you reduce your delivery prices by excluding Amazon CloudFront’s more expensive edge locations from your Amazon CloudFront distribution.

Usage

Run the control in your terminal:

powerpipe control run aws_thrifty.control.cloudfront_distribution_pricing_class

Snapshot and share results via Turbot Pipes:

powerpipe login
powerpipe control run aws_thrifty.control.cloudfront_distribution_pricing_class --share

Steampipe Tables

SQL

select
id as resource,
case
when price_class = 'PriceClass_All' then 'info'
else 'ok'
end as status,
title || ' has ' || price_class || '.' as reason,
region,
account_id
from
aws_cloudfront_distribution;

Tags