How to do it...

In this recipe, you will configure WAF to run on top of a lambda function that publishes an endpoint via an API Gateway:

  1. Log in to your AWS account, and go to the Lambda dashboard.
  2. Create a new lambda function, and choose Author from scratch. Give it a name and click Create function:
Create function
  1. Add an API Gateway integration trigger:
Add API Gateway trigger
  1. Select Create a new API, and then Save the lambda function:
Configure the trigger
  1. Click the endpoint URL in the API Gateway configuration summary, and you should ...

Get AWS SysOps Cookbook - Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.