Skip to content

Commit

Permalink
docs(apigateway): methodArn is a getter
Browse files Browse the repository at this point in the history
closes #10680
  • Loading branch information
Niranjan Jayakar committed Oct 12, 2020
1 parent 3327b7f commit f71e5da
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 f71e5da

Please sign in to comment.