Skip to content

Commit

Permalink
Merge branch 'main' into epolon/bucket-deployment-dest-key-validation
Browse files Browse the repository at this point in the history
  • Loading branch information
mergify[bot] authored Sep 21, 2022
2 parents 6713eb6 + 9f0264c commit 32f03b7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/@aws-cdk/aws-iam/lib/principals.ts
Original file line number Diff line number Diff line change
Expand Up @@ -459,7 +459,7 @@ export class AccountPrincipal extends ArnPrincipal {

/**
*
* @param accountId AWS account ID (i.e. 123456789012)
* @param accountId AWS account ID (i.e. '123456789012')
*/
constructor(public readonly accountId: any) {
super(new StackDependentToken(stack => `arn:${stack.partition}:iam::${accountId}:root`).toString());
Expand Down Expand Up @@ -936,4 +936,4 @@ export function validateConditionObject(x: unknown): asserts x is Record<string,
if (!x || typeof x !== 'object' || Array.isArray(x)) {
throw new Error('A Condition should be represented as a map of operator to value');
}
}
}

0 comments on commit 32f03b7

Please sign in to comment.