From 41a8186982f1d5853d0bc1c39fec4837a649527b Mon Sep 17 00:00:00 2001 From: yuanhaoz Date: Wed, 9 Oct 2024 16:19:43 -0700 Subject: [PATCH] update docstring --- .../aws-cdk-lib/core/lib/helpers-internal/customize-roles.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/aws-cdk-lib/core/lib/helpers-internal/customize-roles.ts b/packages/aws-cdk-lib/core/lib/helpers-internal/customize-roles.ts index d1354f8773f24..2a4f16a1eef6b 100644 --- a/packages/aws-cdk-lib/core/lib/helpers-internal/customize-roles.ts +++ b/packages/aws-cdk-lib/core/lib/helpers-internal/customize-roles.ts @@ -319,8 +319,8 @@ export class PolicySynthesizer extends Construct { if (Reference.isReference(r)) { return `(${r.target.node.path}.${r.displayName})`; } - // Token resolution requires a stack scope. We can't directly use this - // because PolicySynthesizer is always created in the App scope. + // Token resolution requires a stack scope. We can't directly use 'this' scope + // because PolicySynthesizer is always created under 'App' scope. const resolved = Tokenization.resolve(r, { scope: this._scope, resolver: new PolicySynthesizerTokenResolver(new StringConcat()),