Skip to content

Commit 9e3123f

Browse files
docs(core): fix docs for Stack.account property (#33362)
### Issue # (if applicable) n/a ### Reason for this change I stumbled upon this in the documentation and believe it was just a copy-paste error from the Stack.region property ### Description of changes fix doc to be clear that it's about account-agnostic templates ### Describe any new or updated permissions being added none ### Description of how you validated changes n/a ### Checklist - [x] My code adheres to the [CONTRIBUTING GUIDE](https://github.com/aws/aws-cdk/blob/main/CONTRIBUTING.md) and [DESIGN GUIDELINES](https://github.com/aws/aws-cdk/blob/main/docs/DESIGN_GUIDELINES.md) ---- *By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
1 parent 128b7a8 commit 9e3123f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/aws-cdk-lib/core/lib/stack.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -297,9 +297,9 @@ export class Stack extends Construct implements ITaggable {
297297
* check that it is a concrete value an not an unresolved token. If this
298298
* value is an unresolved token (`Token.isUnresolved(stack.account)` returns
299299
* `true`), this implies that the user wishes that this stack will synthesize
300-
* into a **account-agnostic template**. In this case, your code should either
300+
* into an **account-agnostic template**. In this case, your code should either
301301
* fail (throw an error, emit a synth error using `Annotations.of(construct).addError()`) or
302-
* implement some other region-agnostic behavior.
302+
* implement some other account-agnostic behavior.
303303
*/
304304
public readonly account: string;
305305

0 commit comments

Comments
 (0)