Skip to content

Commit

Permalink
Merge pull request #21 from fogfish/master
Browse files Browse the repository at this point in the history
(CIS 2.8) resolve incompatibility of cdk api
  • Loading branch information
fogfish committed Jun 18, 2020
2 parents e8feefc + e42e1e1 commit d01cc10
Show file tree
Hide file tree
Showing 3 changed files with 665 additions and 545 deletions.
4 changes: 2 additions & 2 deletions lib/kms.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,8 @@ class JustAlias extends cdk.Resource implements kms.IAlias {
return (null as unknown) as kms.Alias
}

public addToResourcePolicy(_statement: iam.PolicyStatement, _allowNoOp?: boolean): void {
return
public addToResourcePolicy(_statement: iam.PolicyStatement, _allowNoOp?: boolean): iam.AddToResourcePolicyResult {
return { statementAdded: false }
}

public grant(_grantee: iam.IGrantable, ..._actions: string[]): iam.Grant {
Expand Down

0 comments on commit d01cc10

Please sign in to comment.