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_classSnapshot and share results via Turbot Pipes:
powerpipe loginpowerpipe control run aws_thrifty.control.cloudfront_distribution_pricing_class --shareSteampipe 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_idfrom  aws_cloudfront_distribution;