Skip to content

Commit

Permalink
docs(api-gateway): Fix IAM policy Effect enum case (aws#15417)
Browse files Browse the repository at this point in the history
The Effect enum values were changed to be upper case in aws#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 and hollanddd committed Aug 26, 2021
1 parent 7243dac commit ccc7a04
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 ccc7a04

Please sign in to comment.