Skip to content

Commit

Permalink
docs(apigateway): methodArn is a getter (#10822)
Browse files Browse the repository at this point in the history
closes #10680


----

*By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
  • Loading branch information
Niranjan Jayakar committed Oct 13, 2020
1 parent 11ce726 commit 33e2047
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 @@ -484,7 +484,7 @@ iamUser.attachInlinePolicy(new iam.Policy(this, 'AllowBooks', {
new iam.PolicyStatement({
actions: [ 'execute-api:Invoke' ],
effect: iam.Effect.Allow,
resources: [ getBooks.methodArn() ]
resources: [ getBooks.methodArn ]
})
]
}))
Expand Down

0 comments on commit 33e2047

Please sign in to comment.