diff --git a/packages/aws-cdk-lib/region-info/test/__snapshots__/region-info.test.ts.snap b/packages/aws-cdk-lib/region-info/test/__snapshots__/region-info.test.ts.snap index 9a78f924f76b7..9e3de725b21fd 100644 --- a/packages/aws-cdk-lib/region-info/test/__snapshots__/region-info.test.ts.snap +++ b/packages/aws-cdk-lib/region-info/test/__snapshots__/region-info.test.ts.snap @@ -18,7 +18,6 @@ exports[`built-in data is correct 1`] = ` "2.0.45": "arn:aws:lambda:af-south-1:574348263942:layer:AWS-AppConfig-Extension:46", "2.0.58": "arn:aws:lambda:af-south-1:574348263942:layer:AWS-AppConfig-Extension:47", }, - "cdkMetadataResourceAvailable": true, "domainSuffix": "amazonaws.com", "lambdaInsightsArmVersions": { "1.0.119.0": undefined, @@ -70,7 +69,6 @@ exports[`built-in data is correct 1`] = ` "2.0.45": "arn:aws:lambda:ap-east-1:630222743974:layer:AWS-AppConfig-Extension:46", "2.0.58": "arn:aws:lambda:ap-east-1:630222743974:layer:AWS-AppConfig-Extension:47", }, - "cdkMetadataResourceAvailable": true, "domainSuffix": "amazonaws.com", "lambdaInsightsArmVersions": { "1.0.119.0": undefined, @@ -122,7 +120,6 @@ exports[`built-in data is correct 1`] = ` "2.0.45": "arn:aws:lambda:ap-northeast-1:980059726660:layer:AWS-AppConfig-Extension:48", "2.0.58": "arn:aws:lambda:ap-northeast-1:980059726660:layer:AWS-AppConfig-Extension:49", }, - "cdkMetadataResourceAvailable": true, "domainSuffix": "amazonaws.com", "lambdaInsightsArmVersions": { "1.0.119.0": "arn:aws:lambda:ap-northeast-1:580247275435:layer:LambdaInsightsExtension-Arm64:1", @@ -174,7 +171,6 @@ exports[`built-in data is correct 1`] = ` "2.0.45": "arn:aws:lambda:ap-northeast-2:826293736237:layer:AWS-AppConfig-Extension:58", "2.0.58": "arn:aws:lambda:ap-northeast-2:826293736237:layer:AWS-AppConfig-Extension:59", }, - "cdkMetadataResourceAvailable": true, "domainSuffix": "amazonaws.com", "lambdaInsightsArmVersions": { "1.0.119.0": undefined, @@ -226,7 +222,6 @@ exports[`built-in data is correct 1`] = ` "2.0.45": "arn:aws:lambda:ap-northeast-3:706869817123:layer:AWS-AppConfig-Extension:45", "2.0.58": "arn:aws:lambda:ap-northeast-3:706869817123:layer:AWS-AppConfig-Extension:46", }, - "cdkMetadataResourceAvailable": false, "domainSuffix": "amazonaws.com", "lambdaInsightsArmVersions": { "1.0.119.0": undefined, @@ -278,7 +273,6 @@ exports[`built-in data is correct 1`] = ` "2.0.45": "arn:aws:lambda:ap-south-1:554480029851:layer:AWS-AppConfig-Extension:59", "2.0.58": "arn:aws:lambda:ap-south-1:554480029851:layer:AWS-AppConfig-Extension:60", }, - "cdkMetadataResourceAvailable": true, "domainSuffix": "amazonaws.com", "lambdaInsightsArmVersions": { "1.0.119.0": "arn:aws:lambda:ap-south-1:580247275435:layer:LambdaInsightsExtension-Arm64:1", @@ -330,7 +324,6 @@ exports[`built-in data is correct 1`] = ` "2.0.45": undefined, "2.0.58": undefined, }, - "cdkMetadataResourceAvailable": false, "domainSuffix": "amazonaws.com", "lambdaInsightsArmVersions": { "1.0.119.0": undefined, @@ -382,7 +375,6 @@ exports[`built-in data is correct 1`] = ` "2.0.45": "arn:aws:lambda:ap-southeast-1:421114256042:layer:AWS-AppConfig-Extension:50", "2.0.58": "arn:aws:lambda:ap-southeast-1:421114256042:layer:AWS-AppConfig-Extension:51", }, - "cdkMetadataResourceAvailable": true, "domainSuffix": "amazonaws.com", "lambdaInsightsArmVersions": { "1.0.119.0": "arn:aws:lambda:ap-southeast-1:580247275435:layer:LambdaInsightsExtension-Arm64:1", @@ -434,7 +426,6 @@ exports[`built-in data is correct 1`] = ` "2.0.45": "arn:aws:lambda:ap-southeast-2:080788657173:layer:AWS-AppConfig-Extension:58", "2.0.58": "arn:aws:lambda:ap-southeast-2:080788657173:layer:AWS-AppConfig-Extension:59", }, - "cdkMetadataResourceAvailable": true, "domainSuffix": "amazonaws.com", "lambdaInsightsArmVersions": { "1.0.119.0": "arn:aws:lambda:ap-southeast-2:580247275435:layer:LambdaInsightsExtension-Arm64:1", @@ -486,7 +477,6 @@ exports[`built-in data is correct 1`] = ` "2.0.45": "arn:aws:lambda:ap-southeast-3:418787028745:layer:AWS-AppConfig-Extension:23", "2.0.58": "arn:aws:lambda:ap-southeast-3:418787028745:layer:AWS-AppConfig-Extension:24", }, - "cdkMetadataResourceAvailable": false, "domainSuffix": "amazonaws.com", "lambdaInsightsArmVersions": { "1.0.119.0": undefined, @@ -538,7 +528,6 @@ exports[`built-in data is correct 1`] = ` "2.0.45": undefined, "2.0.58": undefined, }, - "cdkMetadataResourceAvailable": false, "domainSuffix": "amazonaws.com", "lambdaInsightsArmVersions": { "1.0.119.0": undefined, @@ -590,7 +579,6 @@ exports[`built-in data is correct 1`] = ` "2.0.45": "arn:aws:lambda:ca-central-1:039592058896:layer:AWS-AppConfig-Extension:49", "2.0.58": "arn:aws:lambda:ca-central-1:039592058896:layer:AWS-AppConfig-Extension:50", }, - "cdkMetadataResourceAvailable": true, "domainSuffix": "amazonaws.com", "lambdaInsightsArmVersions": { "1.0.119.0": undefined, @@ -642,7 +630,6 @@ exports[`built-in data is correct 1`] = ` "2.0.45": "arn:aws-cn:lambda:cn-north-1:615057806174:layer:AWS-AppConfig-Extension:45", "2.0.58": "arn:aws-cn:lambda:cn-north-1:615057806174:layer:AWS-AppConfig-Extension:46", }, - "cdkMetadataResourceAvailable": true, "domainSuffix": "amazonaws.com.cn", "lambdaInsightsArmVersions": { "1.0.119.0": undefined, @@ -694,7 +681,6 @@ exports[`built-in data is correct 1`] = ` "2.0.45": "arn:aws-cn:lambda:cn-northwest-1:615084187847:layer:AWS-AppConfig-Extension:45", "2.0.58": "arn:aws-cn:lambda:cn-northwest-1:615084187847:layer:AWS-AppConfig-Extension:46", }, - "cdkMetadataResourceAvailable": true, "domainSuffix": "amazonaws.com.cn", "lambdaInsightsArmVersions": { "1.0.119.0": undefined, @@ -746,7 +732,6 @@ exports[`built-in data is correct 1`] = ` "2.0.45": "arn:aws:lambda:eu-central-1:066940009817:layer:AWS-AppConfig-Extension:58", "2.0.58": "arn:aws:lambda:eu-central-1:066940009817:layer:AWS-AppConfig-Extension:59", }, - "cdkMetadataResourceAvailable": true, "domainSuffix": "amazonaws.com", "lambdaInsightsArmVersions": { "1.0.119.0": "arn:aws:lambda:eu-central-1:580247275435:layer:LambdaInsightsExtension-Arm64:1", @@ -798,7 +783,6 @@ exports[`built-in data is correct 1`] = ` "2.0.45": undefined, "2.0.58": undefined, }, - "cdkMetadataResourceAvailable": false, "domainSuffix": "amazonaws.com", "lambdaInsightsArmVersions": { "1.0.119.0": undefined, @@ -850,7 +834,6 @@ exports[`built-in data is correct 1`] = ` "2.0.45": "arn:aws:lambda:eu-north-1:646970417810:layer:AWS-AppConfig-Extension:97", "2.0.58": "arn:aws:lambda:eu-north-1:646970417810:layer:AWS-AppConfig-Extension:98", }, - "cdkMetadataResourceAvailable": true, "domainSuffix": "amazonaws.com", "lambdaInsightsArmVersions": { "1.0.119.0": undefined, @@ -902,7 +885,6 @@ exports[`built-in data is correct 1`] = ` "2.0.45": "arn:aws:lambda:eu-south-1:203683718741:layer:AWS-AppConfig-Extension:46", "2.0.58": "arn:aws:lambda:eu-south-1:203683718741:layer:AWS-AppConfig-Extension:47", }, - "cdkMetadataResourceAvailable": true, "domainSuffix": "amazonaws.com", "lambdaInsightsArmVersions": { "1.0.119.0": undefined, @@ -954,7 +936,6 @@ exports[`built-in data is correct 1`] = ` "2.0.45": undefined, "2.0.58": undefined, }, - "cdkMetadataResourceAvailable": false, "domainSuffix": "amazonaws.com", "lambdaInsightsArmVersions": { "1.0.119.0": undefined, @@ -1006,7 +987,6 @@ exports[`built-in data is correct 1`] = ` "2.0.45": "arn:aws:lambda:eu-west-1:434848589818:layer:AWS-AppConfig-Extension:68", "2.0.58": "arn:aws:lambda:eu-west-1:434848589818:layer:AWS-AppConfig-Extension:69", }, - "cdkMetadataResourceAvailable": true, "domainSuffix": "amazonaws.com", "lambdaInsightsArmVersions": { "1.0.119.0": "arn:aws:lambda:eu-west-1:580247275435:layer:LambdaInsightsExtension-Arm64:1", @@ -1058,7 +1038,6 @@ exports[`built-in data is correct 1`] = ` "2.0.45": "arn:aws:lambda:eu-west-2:282860088358:layer:AWS-AppConfig-Extension:49", "2.0.58": "arn:aws:lambda:eu-west-2:282860088358:layer:AWS-AppConfig-Extension:50", }, - "cdkMetadataResourceAvailable": true, "domainSuffix": "amazonaws.com", "lambdaInsightsArmVersions": { "1.0.119.0": "arn:aws:lambda:eu-west-2:580247275435:layer:LambdaInsightsExtension-Arm64:1", @@ -1110,7 +1089,6 @@ exports[`built-in data is correct 1`] = ` "2.0.45": "arn:aws:lambda:eu-west-3:493207061005:layer:AWS-AppConfig-Extension:50", "2.0.58": "arn:aws:lambda:eu-west-3:493207061005:layer:AWS-AppConfig-Extension:51", }, - "cdkMetadataResourceAvailable": true, "domainSuffix": "amazonaws.com", "lambdaInsightsArmVersions": { "1.0.119.0": undefined, @@ -1162,7 +1140,6 @@ exports[`built-in data is correct 1`] = ` "2.0.45": undefined, "2.0.58": undefined, }, - "cdkMetadataResourceAvailable": false, "domainSuffix": "amazonaws.com", "lambdaInsightsArmVersions": { "1.0.119.0": undefined, @@ -1214,7 +1191,6 @@ exports[`built-in data is correct 1`] = ` "2.0.45": undefined, "2.0.58": undefined, }, - "cdkMetadataResourceAvailable": false, "domainSuffix": "amazonaws.com", "lambdaInsightsArmVersions": { "1.0.119.0": undefined, @@ -1266,7 +1242,6 @@ exports[`built-in data is correct 1`] = ` "2.0.45": "arn:aws:lambda:me-south-1:559955524753:layer:AWS-AppConfig-Extension:46", "2.0.58": "arn:aws:lambda:me-south-1:559955524753:layer:AWS-AppConfig-Extension:47", }, - "cdkMetadataResourceAvailable": true, "domainSuffix": "amazonaws.com", "lambdaInsightsArmVersions": { "1.0.119.0": undefined, @@ -1318,7 +1293,6 @@ exports[`built-in data is correct 1`] = ` "2.0.45": "arn:aws:lambda:sa-east-1:000010852771:layer:AWS-AppConfig-Extension:68", "2.0.58": "arn:aws:lambda:sa-east-1:000010852771:layer:AWS-AppConfig-Extension:69", }, - "cdkMetadataResourceAvailable": true, "domainSuffix": "amazonaws.com", "lambdaInsightsArmVersions": { "1.0.119.0": undefined, @@ -1370,7 +1344,6 @@ exports[`built-in data is correct 1`] = ` "2.0.45": "arn:aws:lambda:us-east-1:027255383542:layer:AWS-AppConfig-Extension:68", "2.0.58": "arn:aws:lambda:us-east-1:027255383542:layer:AWS-AppConfig-Extension:69", }, - "cdkMetadataResourceAvailable": true, "domainSuffix": "amazonaws.com", "lambdaInsightsArmVersions": { "1.0.119.0": "arn:aws:lambda:us-east-1:580247275435:layer:LambdaInsightsExtension-Arm64:1", @@ -1422,7 +1395,6 @@ exports[`built-in data is correct 1`] = ` "2.0.45": "arn:aws:lambda:us-east-2:728743619870:layer:AWS-AppConfig-Extension:49", "2.0.58": "arn:aws:lambda:us-east-2:728743619870:layer:AWS-AppConfig-Extension:50", }, - "cdkMetadataResourceAvailable": true, "domainSuffix": "amazonaws.com", "lambdaInsightsArmVersions": { "1.0.119.0": "arn:aws:lambda:us-east-2:580247275435:layer:LambdaInsightsExtension-Arm64:1", @@ -1474,7 +1446,6 @@ exports[`built-in data is correct 1`] = ` "2.0.45": "arn:aws-us-gov:lambda:us-gov-east-1:946561847325:layer:AWS-AppConfig-Extension:22", "2.0.58": "arn:aws-us-gov:lambda:us-gov-east-1:946561847325:layer:AWS-AppConfig-Extension:23", }, - "cdkMetadataResourceAvailable": false, "domainSuffix": "amazonaws.com", "lambdaInsightsArmVersions": { "1.0.119.0": undefined, @@ -1526,7 +1497,6 @@ exports[`built-in data is correct 1`] = ` "2.0.45": "arn:aws-us-gov:lambda:us-gov-west-1:946746059096:layer:AWS-AppConfig-Extension:22", "2.0.58": "arn:aws-us-gov:lambda:us-gov-west-1:946746059096:layer:AWS-AppConfig-Extension:23", }, - "cdkMetadataResourceAvailable": false, "domainSuffix": "amazonaws.com", "lambdaInsightsArmVersions": { "1.0.119.0": undefined, @@ -1578,7 +1548,6 @@ exports[`built-in data is correct 1`] = ` "2.0.45": undefined, "2.0.58": undefined, }, - "cdkMetadataResourceAvailable": false, "domainSuffix": "c2s.ic.gov", "lambdaInsightsArmVersions": { "1.0.119.0": undefined, @@ -1630,7 +1599,6 @@ exports[`built-in data is correct 1`] = ` "2.0.45": undefined, "2.0.58": undefined, }, - "cdkMetadataResourceAvailable": false, "domainSuffix": "c2s.ic.gov", "lambdaInsightsArmVersions": { "1.0.119.0": undefined, @@ -1682,7 +1650,6 @@ exports[`built-in data is correct 1`] = ` "2.0.45": undefined, "2.0.58": undefined, }, - "cdkMetadataResourceAvailable": false, "domainSuffix": "sc2s.sgov.gov", "lambdaInsightsArmVersions": { "1.0.119.0": undefined, @@ -1734,7 +1701,6 @@ exports[`built-in data is correct 1`] = ` "2.0.45": "arn:aws:lambda:us-west-1:958113053741:layer:AWS-AppConfig-Extension:77", "2.0.58": "arn:aws:lambda:us-west-1:958113053741:layer:AWS-AppConfig-Extension:78", }, - "cdkMetadataResourceAvailable": true, "domainSuffix": "amazonaws.com", "lambdaInsightsArmVersions": { "1.0.119.0": undefined, @@ -1786,7 +1752,6 @@ exports[`built-in data is correct 1`] = ` "2.0.45": "arn:aws:lambda:us-west-2:359756378197:layer:AWS-AppConfig-Extension:100", "2.0.58": "arn:aws:lambda:us-west-2:359756378197:layer:AWS-AppConfig-Extension:101", }, - "cdkMetadataResourceAvailable": true, "domainSuffix": "amazonaws.com", "lambdaInsightsArmVersions": { "1.0.119.0": "arn:aws:lambda:us-west-2:580247275435:layer:LambdaInsightsExtension-Arm64:1", diff --git a/packages/aws-cdk-lib/region-info/test/region-info.test.ts b/packages/aws-cdk-lib/region-info/test/region-info.test.ts index 76130465d6567..e32147ab020a4 100644 --- a/packages/aws-cdk-lib/region-info/test/region-info.test.ts +++ b/packages/aws-cdk-lib/region-info/test/region-info.test.ts @@ -32,7 +32,6 @@ test('built-in data is correct', () => { } snapshot[name] = { - cdkMetadataResourceAvailable: region.cdkMetadataResourceAvailable, domainSuffix: region.domainSuffix, partition: region.partition, s3StaticWebsiteEndpoint: region.s3StaticWebsiteEndpoint,