cff introduction

cff is a Python package for bootstrapping Amazon Web Services CloudFront Lambda@Edge Functions.

If you agree with the package’s opinions then your functions become as simple as a single line:

from cff.origin_request import handler

Installation

cff requires Python 3.9. At the time of writing, this is the latest release of Python supported by AWS Lambda.

$ pip install cff

Feedback

Please raise bugs, request features and ask questions at github.com/cariad/cff/issues.

Mention if you’re a sponsor and I’ll respond as a priority. Thank you!

Project

The source for cff is available at github.com/cariad/cff under the MIT licence.

And, hello! I’m Cariad Eccleston and I’m an independent/freelance software engineer. If my work has value to you, please consider sponsoring me!

Contents