Skip to content

Commit

Permalink
chore: add undefined type to principalAccount
Browse files Browse the repository at this point in the history
  • Loading branch information
dali546 committed Jan 22, 2025
1 parent 7452462 commit f0d99ef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/aws-cdk-lib/aws-iam/lib/principals.ts
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ export interface IPrincipal extends IGrantable {
* Can be a Token - in that case,
* it's assumed to be AWS::AccountId.
*/
readonly principalAccount?: string;
readonly principalAccount?: string | undefined;

/**
* Add to the policy of this principal.
Expand Down

0 comments on commit f0d99ef

Please sign in to comment.