Skip to content
This repository has been archived by the owner on May 11, 2024. It is now read-only.

Update dependencies to address security vulnerabilities #27

Merged
merged 1 commit into from
Dec 26, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions lib/role.ts
Original file line number Diff line number Diff line change
Expand Up @@ -304,6 +304,13 @@ export class Role extends Resource implements IRole {
public grantPassRole(identity: IPrincipal) {
return this.grant(identity, 'iam:PassRole');
}

/**
* Grant permissions to the given principal to assume this role.
*/
public grantAssumeRole(grantee: IPrincipal) {
return this.grant(grantee, 'sts:AssumeRole');
}
}


Expand Down
Loading