This template creates an Amazon Athena saved query. The query selects all aggregated data from the 'swfmetadata' database. The query is named 'MostExpensiveWorkflow' and it calculates the average workflow time for each workflow name. The results are ordered in descending order by the average workflow time and limited to the top 10 results.

AthenaNamedQuery
AWS::Athena::NamedQuery


CloudFormation Template

Share Template