Skip to content

Commit

Permalink
Update policy.ts (#6238)
Browse files Browse the repository at this point in the history
Changed the description of statements prop: addPermission -> addStatements

Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
  • Loading branch information
boomary and mergify[bot] committed Feb 12, 2020
1 parent 1524847 commit 393d232
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/@aws-cdk/aws-iam/lib/policy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ export interface PolicyProps {

/**
* Initial set of permissions to add to this policy document.
* You can also use `addPermission(statement)` to add permissions later.
* You can also use `addStatements(...statement)` to add permissions later.
*
* @default - No statements.
*/
Expand Down

0 comments on commit 393d232

Please sign in to comment.