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 in AWS by Hannah
• 16,300 points
19 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 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,280 points
486 views
0 votes
2 answers
0 votes
1 answer
0 votes
1 answer