Showcase & Source Code

Implementation details



Type: AWS::Serverless::Function
Layers: ["arn:aws:lambda:eu-west-1:209497400698:layer:php-80:9"]


  • bref/bref composer package is required to create communication between the PHP and the Lambda API.
  • composer.json & composer.lock should be added on the same level as the entry php file.
  • Finally composer install should be run before deploying the infrastructure.

What are the least privileges required for AWS SAM?


"Version": "2012-10-17",
"Statement": [
"Sid": "VisualEditor0",
"Effect": "Allow",
"Action": [
"Resource": [


  • Use a programmatic access only user, with full permissions. This is to filter out events that trigger from AWS console interaction.

Rizart Dokollari

Software Engineer @

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store