cfn-python-cloudfront-apigw.patterns.advancelocal.dev

cfn-python-cloudfront-apigw

A plain Python handler on Lambda from plain CloudFormation, no Zappa. CloudFront serves the page from S3 and caches /api/time from API Gateway for 5 seconds.

App

Runs on

Foundation

Cache, live

Polling /api/time every second through CloudFront.

--:--:--
    waiting for the first poll
    CloudFront hittrip to the app

    Deployed with aws cloudformation deploy and aws s3 sync. How it works

    π