Skip to content

Commit f40b5ac

Browse files
authored
Merge pull request #2845 from kakakakakku/waf-apigw-rest
waf-apigw-rest: Update runtime to python3.13
2 parents 3f62ddc + fa26a5b commit f40b5ac

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

waf-apigw-rest/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ The application will only accept requests from countries that are in the country
4242
4343
## Testing
4444
45-
Deploy the app then go the the provided web address. If you are in the US you will get a 200 response from the backend Lambda funtion. If you are in any other country, you will get a 403 response from the WAF. Change the country codes in the array and redploy to see different results.
45+
Deploy the app then go the the provided web address. If you are in the US you will get a 200 response from the backend Lambda function. If you are in any other country, you will get a 403 response from the WAF. Change the country codes in the array and redeploy to see different results.
4646
4747
## Cleanup
4848

waf-apigw-rest/template.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ Transform: AWS::Serverless-2016-10-31
33
Description: Serverless patterns - AWS WAF to Amazon API Gateway REST (uksb-1tthgi812) (tag:waf-apigw-rest)
44

55
Resources:
6-
# AWS WAF Access Control List limits each IP to 100 requestes per second
6+
# AWS WAF Access Control List limits each IP to 100 requests per second
77
MyWAFACL:
88
Type: AWS::WAFv2::WebACL
99
Properties:
@@ -38,8 +38,8 @@ Resources:
3838

3939
# Amazon API gateway REST API
4040
MyApi:
41-
Type: AWS::Serverless::Api
42-
Properties:
41+
Type: AWS::Serverless::Api
42+
Properties:
4343
StageName: Prod
4444
EndpointConfiguration: REGIONAL
4545
TracingEnabled: true

0 commit comments

Comments
 (0)