From 87d9995f5b803f11a6ee06fac31be506e69ab841 Mon Sep 17 00:00:00 2001 From: Ben Munro Date: Mon, 5 Jul 2021 10:54:18 +0200 Subject: [PATCH] docs(api-gateway) Fix IAM policy Effect enum case The Effect enum values were changed to be upper case in #2918 (b735d1c) but this usage in the docs was missed --- 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 ] }) ]