

In this demo, we will create an API Gateway API with a single GET method that will return a JSON response. Demo - Amazon API Gateway integration with AWS WAF by using AWS CDK You can use AWS WAF to create security rules that block common attack patterns, such as SQL injection or cross-site scripting, and rules that filter specific traffic patterns, such as requests from specific IP addresses or referring websites. AWS WAF gives you control over which traffic to allow or block to your APIs by defining customizable web security rules. Why use Amazon API Gateway integration with AWS WAF?Īmazon API Gateway integration with AWS WAF is a great way to protect your APIs from common web exploits that could affect application availability, compromise security, or consume excessive resources. AWS WAF gives you control over which traffic to allow or block to your web applications by defining customizable web security rules.

AWS WAF is a web application firewall that helps protect your web applications from common web exploits that could affect application availability, compromise security, or consume excessive resources. In this post, we will focus on the integration with AWS WAF. With a few clicks in the AWS Management Console, you can create an API that acts as a “front door” for applications to access data, business logic, or functionality from your back-end services, such as workloads running on Amazon Elastic Compute Cloud (Amazon EC2), code running on AWS Lambda, or any web application.Īmazon API Gateway supports several types of integrations with AWS services and third-party services. Amazon API Gateway integration with AWS WAF IntroductionĪmazon API Gateway is a fully managed service that makes it easy for developers to create, publish, maintain, monitor, and secure APIs at any scale.
