CloudFront version API - AWS

0 votes
How do I know if I am using an older version of CloudFront API that does not support the CNAME?
Oct 16, 2019 in AWS by Hannah
• 17,890 points
40 views

1 answer to this question.

0 votes

Hi @Hannah, 

1. Enable CloudTrail logging for your account in the US East region

2. Once your trails are written to S3, create a table for the logs

3. Open Athena console and add the following query to the query box

SELECT apiversion, count() AS Total FROM $databaseName.$tableName WHERE eventsource = 'cloudfront.amazonaws.com' AND parse_datetime(apiversion, 'yyyy_MM_dd') <= parse_datetime('2015_12_22', 'yyyy_MM_dd') GROUP BY apiversion ORDER BY Total Desc;
answered Oct 16, 2019 by Tanmay

Related Questions In AWS

+1 vote
2 answers

Starting with an AWS Instance with API and AUTHPARAMS

The API is usually much easier to ...READ MORE

answered Apr 17, 2018 in AWS by Cloud gunner
• 4,630 points
637 views
0 votes
2 answers
0 votes
1 answer
0 votes
1 answer

AWS CloudFront error "InvalidViewerCertificate"

The error clearly mentions that the certificate ...READ MORE

answered Oct 16, 2019 in AWS by Tanmay
80 views
0 votes
1 answer

What is AWS Cloudfront?

CloudFront is a Content Delivery Network (CDN). ...READ MORE

answered 4 days ago in AWS by Priya
21 views