Skip to content

Commit

Permalink
docs(api-gateway): Fix IAM policy Effect enum case
Browse files Browse the repository at this point in the history
The Effect enum values were changed to be upper case in #2918 (b735d1c) but this usage in the docs was missed
  • Loading branch information
benmunro committed Jul 5, 2021
1 parent c432d48 commit 22ed657
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/@aws-cdk/aws-apigateway/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 ]
})
]
Expand Down

0 comments on commit 22ed657

Please sign in to comment.