Skip to content

Commit

Permalink
docs(aws-iam): fix allow and deny comments (#1033)
Browse files Browse the repository at this point in the history
  • Loading branch information
jonparker authored and Elad Ben-Israel committed Oct 29, 2018
1 parent c87f3ec commit 2219ac9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/@aws-cdk/aws-iam/lib/policy-document.ts
Original file line number Diff line number Diff line change
Expand Up @@ -267,15 +267,15 @@ export class PolicyStatement extends Token {
//

/**
* Sets the permission effect to deny access to resources.
* Sets the permission effect to allow access to resources.
*/
public allow(): PolicyStatement {
this.effect = PolicyStatementEffect.Allow;
return this;
}

/**
* Sets the permission effect to allow access to resources.
* Sets the permission effect to deny access to resources.
*/
public deny(): PolicyStatement {
this.effect = PolicyStatementEffect.Deny;
Expand Down

0 comments on commit 2219ac9

Please sign in to comment.