Skip to content

Commit

Permalink
docs(api-gateway): Fix IAM policy Effect enum case (#15417)
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


----

*By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
  • Loading branch information
benmunro authored Jul 6, 2021
1 parent 393be52 commit c37c7f9
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 c37c7f9

Please sign in to comment.