[{"data":1,"prerenderedAt":65},["ShallowReactive",2],{"pattern-apigw-waf":3},{"id":4,"title":5,"architectureURL":6,"cleanup":7,"contributors":12,"deploy":14,"description":18,"extension":19,"framework":20,"gitHub":21,"highlight":6,"introBox":30,"language":34,"level":35,"meta":36,"patternArch":37,"resources":51,"s3URL":57,"services":58,"stem":59,"testing":60,"videoId":29,"__hash__":64},"patterns\u002Fpatterns\u002Fapigw-waf.json","Amazon API Gateway integration with AWS WAF",null,{"headline":8,"text":9},"Cleanup",[10,11],"1. Delete the stack: \u003Ccode>cdk destroy\u003C\u002Fcode>.","2. Confirm the stack has been deleted: \u003Ccode>aws cloudformation list-stacks --query \"StackSummaries[?contains(StackName,'STACK_NAME')].StackStatus\"\u003C\u002Fcode>.",[13],"content\u002Fcontributors\u002Fjj-johnson.json",{"text":15},[16,17],"sam build","sam deploy --guided","Create an Amazon API Gateway integration with AWS WAF","json","AWS SAM",{"template":22,"payloads":27},{"projectFolder":23,"repoURL":24,"templateURL":25,"templateFile":26},"apigw-waf-sam","https:\u002F\u002Fgithub.com\u002Faws-samples\u002Fserverless-patterns\u002Ftree\u002Fmain\u002Fapigw-waf-sam","serverless-patterns\u002Fapigw-waf-sam","template.yaml",[28],{"headline":29,"payloadURL":29},"",{"headline":31,"text":32},"How it works",[33],"This pattern in SAM provides a means to generate a WebACL and associate it with an existing REST or Websocket API (HTTP APIs are not currently supported).","Integration","200",{},{"icon1":38,"icon2":43,"line1":47},{"x":39,"y":40,"service":41,"label":42},20,50,"waf","AWS WAF",{"x":44,"y":40,"service":45,"label":46},80,"apigw","API Gateway REST API",{"from":48,"to":49,"label":50},"icon1","icon2","Request ANY {proxy+}",{"headline":52,"bullets":53},"Additional resources",[54],{"text":55,"link":56},"AWS Web Application Firewall","https:\u002F\u002Faws.amazon.com\u002Fwaf\u002F","https:\u002F\u002Fda-public-assets.s3.amazonaws.com\u002Fpatterns\u002Fapigw-waf\u002Fcloudformation.yml",{"from":41,"to":45},"patterns\u002Fapigw-waf",{"headline":61,"text":62},"Testing",[63],"Invoke the API with the appropriate stage. To view the WebACL rules, visit the Management Console and navigate to the WAF & Shield service page.","9az6dPzY-Z3TkD8kYQkJf6WCc3jmAu9OMwshBfklrC0",1779100518361]