Skip to content

Commit

Permalink
Add principalAccount to PrincipalBase.
Browse files Browse the repository at this point in the history
  • Loading branch information
skinny85 committed Jun 1, 2020
1 parent 7b94a0c commit 40f16e9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/@aws-cdk/aws-iam/lib/principals.ts
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,7 @@ export interface AddToPrincipalPolicyResult {
*/
export abstract class PrincipalBase implements IPrincipal {
public readonly grantPrincipal: IPrincipal = this;
public readonly principalAccount: string | undefined = undefined;

/**
* Return the policy fragment that identifies this principal in a Policy.
Expand Down

0 comments on commit 40f16e9

Please sign in to comment.