From c37c7f9fa927b922f0a6cfb4de9f5162ca7184d4 Mon Sep 17 00:00:00 2001 From: Ben Munro Date: Wed, 7 Jul 2021 00:43:14 +0200 Subject: [PATCH] docs(api-gateway): Fix IAM policy Effect enum case (#15417) The Effect enum values were changed to be upper case in #2918 (b735d1c) but this usage in the docs was missed ---- *By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license* --- packages/@aws-cdk/aws-apigateway/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/@aws-cdk/aws-apigateway/README.md b/packages/@aws-cdk/aws-apigateway/README.md index 4607442308138..9e33ef2125810 100644 --- a/packages/@aws-cdk/aws-apigateway/README.md +++ b/packages/@aws-cdk/aws-apigateway/README.md @@ -509,7 +509,7 @@ iamUser.attachInlinePolicy(new iam.Policy(this, 'AllowBooks', { statements: [ new iam.PolicyStatement({ actions: [ 'execute-api:Invoke' ], - effect: iam.Effect.Allow, + effect: iam.Effect.ALLOW, resources: [ getBooks.methodArn ] }) ]