From 04b476b642387d57120fc7411f2b011c5618cb2a Mon Sep 17 00:00:00 2001 From: Julian Michel Date: Mon, 11 Oct 2021 19:54:59 +0200 Subject: [PATCH] fix syntax --- packages/@aws-cdk/core/README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/@aws-cdk/core/README.md b/packages/@aws-cdk/core/README.md index e913e27e36595..1090d893c508d 100644 --- a/packages/@aws-cdk/core/README.md +++ b/packages/@aws-cdk/core/README.md @@ -801,7 +801,7 @@ const regionTable = new CfnMapping(this, 'RegionTable', { lazy: true, }); -regionTable.findInMap('us-east-2', 'regionName') +regionTable.findInMap('us-east-2', 'regionName'); ``` On the other hand, the following code will produce the "Mappings" section shown above, @@ -809,7 +809,7 @@ since the top-level key is an unresolved token. The call to `findInMap` will ret `{ "Fn::FindInMap": [ "RegionTable", { "Ref": "AWS::Region" }, "regionName" ] }`. ```ts -regionTable.findInMap(Aws.REGION, 'regionName') +regionTable.findInMap(Aws.REGION, 'regionName'); ``` [cfn-mappings]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/mappings-section-structure.html