@aws-solutions-constructs/aws-apigateway-dynamodb 2.86.0 → 2.87.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (67) hide show
  1. package/.jsii +82 -4
  2. package/lib/index.js +1 -1
  3. package/package.json +6 -6
  4. package/test/integ.apiddb-additional-request-templates-custom-resource-name.js +2 -1
  5. package/test/integ.apiddb-additional-request-templates-custom-resource-name.js.snapshot/apiddb-additional-request-templates-custom-resource-name.assets.json +5 -4
  6. package/test/integ.apiddb-additional-request-templates-custom-resource-name.js.snapshot/apiddb-additional-request-templates-custom-resource-name.template.json +1 -0
  7. package/test/integ.apiddb-additional-request-templates-custom-resource-name.js.snapshot/apiddbadditionalrequesttemplatescustomresourcenameIntegDefaultTestDeployAssertABD5B2B6.assets.json +3 -2
  8. package/test/integ.apiddb-additional-request-templates-custom-resource-name.js.snapshot/cdk.out +1 -1
  9. package/test/integ.apiddb-additional-request-templates-custom-resource-name.js.snapshot/integ.json +3 -2
  10. package/test/integ.apiddb-additional-request-templates-custom-resource-name.js.snapshot/manifest.json +735 -3
  11. package/test/integ.apiddb-additional-request-templates-custom-resource-name.js.snapshot/tree.json +1 -684
  12. package/test/integ.apiddb-additional-request-templates.js +2 -1
  13. package/test/integ.apiddb-additional-request-templates.js.snapshot/apiddb-additional-request-templates.assets.json +5 -4
  14. package/test/integ.apiddb-additional-request-templates.js.snapshot/apiddb-additional-request-templates.template.json +1 -0
  15. package/test/integ.apiddb-additional-request-templates.js.snapshot/apiddbadditionalrequesttemplatesIntegDefaultTestDeployAssert01278153.assets.json +3 -2
  16. package/test/integ.apiddb-additional-request-templates.js.snapshot/cdk.out +1 -1
  17. package/test/integ.apiddb-additional-request-templates.js.snapshot/integ.json +3 -2
  18. package/test/integ.apiddb-additional-request-templates.js.snapshot/manifest.json +731 -3
  19. package/test/integ.apiddb-additional-request-templates.js.snapshot/tree.json +1 -676
  20. package/test/integ.apiddb-apigateway-dynamodb-CRUD.js +2 -1
  21. package/test/integ.apiddb-apigateway-dynamodb-CRUD.js.snapshot/apiddb-apigateway-dynamodb-CRUD.assets.json +5 -4
  22. package/test/integ.apiddb-apigateway-dynamodb-CRUD.js.snapshot/apiddb-apigateway-dynamodb-CRUD.template.json +1 -0
  23. package/test/integ.apiddb-apigateway-dynamodb-CRUD.js.snapshot/apiddbapigatewaydynamodbCRUDIntegDefaultTestDeployAssert492DC8FE.assets.json +3 -2
  24. package/test/integ.apiddb-apigateway-dynamodb-CRUD.js.snapshot/cdk.out +1 -1
  25. package/test/integ.apiddb-apigateway-dynamodb-CRUD.js.snapshot/integ.json +3 -2
  26. package/test/integ.apiddb-apigateway-dynamodb-CRUD.js.snapshot/manifest.json +961 -3
  27. package/test/integ.apiddb-apigateway-dynamodb-CRUD.js.snapshot/tree.json +1 -975
  28. package/test/integ.apiddb-apigateway-dynamodb-existing-table.js +2 -1
  29. package/test/integ.apiddb-apigateway-dynamodb-existing-table.js.snapshot/apiddb-apigateway-dynamodb-existing-table.assets.json +5 -4
  30. package/test/integ.apiddb-apigateway-dynamodb-existing-table.js.snapshot/apiddb-apigateway-dynamodb-existing-table.template.json +1 -0
  31. package/test/integ.apiddb-apigateway-dynamodb-existing-table.js.snapshot/apiddbapigatewaydynamodbexistingtableIntegDefaultTestDeployAssertD38D4AB2.assets.json +3 -2
  32. package/test/integ.apiddb-apigateway-dynamodb-existing-table.js.snapshot/cdk.out +1 -1
  33. package/test/integ.apiddb-apigateway-dynamodb-existing-table.js.snapshot/integ.json +3 -2
  34. package/test/integ.apiddb-apigateway-dynamodb-existing-table.js.snapshot/manifest.json +731 -3
  35. package/test/integ.apiddb-apigateway-dynamodb-existing-table.js.snapshot/tree.json +1 -664
  36. package/test/integ.apiddb-custom-integration-responses.js +2 -1
  37. package/test/integ.apiddb-custom-integration-responses.js.snapshot/apiddb-custom-integration-responses.assets.json +5 -4
  38. package/test/integ.apiddb-custom-integration-responses.js.snapshot/apiddb-custom-integration-responses.template.json +1 -0
  39. package/test/integ.apiddb-custom-integration-responses.js.snapshot/apiddbcustomintegrationresponsesIntegDefaultTestDeployAssert9F4582C4.assets.json +3 -2
  40. package/test/integ.apiddb-custom-integration-responses.js.snapshot/cdk.out +1 -1
  41. package/test/integ.apiddb-custom-integration-responses.js.snapshot/integ.json +3 -2
  42. package/test/integ.apiddb-custom-integration-responses.js.snapshot/manifest.json +731 -3
  43. package/test/integ.apiddb-custom-integration-responses.js.snapshot/tree.json +1 -664
  44. package/test/integ.apiddb-custom-method-response.js +2 -1
  45. package/test/integ.apiddb-custom-method-response.js.snapshot/apiddb-custom-method-response.assets.json +5 -4
  46. package/test/integ.apiddb-custom-method-response.js.snapshot/apiddb-custom-method-response.template.json +1 -0
  47. package/test/integ.apiddb-custom-method-response.js.snapshot/apiddbcustommethodresponseIntegDefaultTestDeployAssertAC6F68EC.assets.json +3 -2
  48. package/test/integ.apiddb-custom-method-response.js.snapshot/cdk.out +1 -1
  49. package/test/integ.apiddb-custom-method-response.js.snapshot/integ.json +3 -2
  50. package/test/integ.apiddb-custom-method-response.js.snapshot/manifest.json +803 -3
  51. package/test/integ.apiddb-custom-method-response.js.snapshot/tree.json +1 -764
  52. package/test/integ.apiddb-no-arguments.js +2 -1
  53. package/test/integ.apiddb-no-arguments.js.snapshot/apiddb-no-arguments.assets.json +5 -4
  54. package/test/integ.apiddb-no-arguments.js.snapshot/apiddb-no-arguments.template.json +1 -0
  55. package/test/integ.apiddb-no-arguments.js.snapshot/apiddbnoargumentsIntegDefaultTestDeployAssert79BAC49F.assets.json +3 -2
  56. package/test/integ.apiddb-no-arguments.js.snapshot/cdk.out +1 -1
  57. package/test/integ.apiddb-no-arguments.js.snapshot/integ.json +3 -2
  58. package/test/integ.apiddb-no-arguments.js.snapshot/manifest.json +733 -3
  59. package/test/integ.apiddb-no-arguments.js.snapshot/tree.json +1 -664
  60. package/test/integ.apiddb-no-usage-plan.js +2 -1
  61. package/test/integ.apiddb-no-usage-plan.js.snapshot/apiddb-no-usage-plan.assets.json +5 -4
  62. package/test/integ.apiddb-no-usage-plan.js.snapshot/apiddb-no-usage-plan.template.json +1 -0
  63. package/test/integ.apiddb-no-usage-plan.js.snapshot/apiddbnousageplanIntegDefaultTestDeployAssert9327EC62.assets.json +3 -2
  64. package/test/integ.apiddb-no-usage-plan.js.snapshot/cdk.out +1 -1
  65. package/test/integ.apiddb-no-usage-plan.js.snapshot/integ.json +3 -2
  66. package/test/integ.apiddb-no-usage-plan.js.snapshot/manifest.json +475 -4
  67. package/test/integ.apiddb-no-usage-plan.js.snapshot/tree.json +1 -800
@@ -1,664 +1 @@
1
- {
2
- "version": "tree-0.1",
3
- "tree": {
4
- "id": "App",
5
- "path": "",
6
- "children": {
7
- "apiddb-apigateway-dynamodb-existing-table": {
8
- "id": "apiddb-apigateway-dynamodb-existing-table",
9
- "path": "apiddb-apigateway-dynamodb-existing-table",
10
- "children": {
11
- "existing-table": {
12
- "id": "existing-table",
13
- "path": "apiddb-apigateway-dynamodb-existing-table/existing-table",
14
- "children": {
15
- "Resource": {
16
- "id": "Resource",
17
- "path": "apiddb-apigateway-dynamodb-existing-table/existing-table/Resource",
18
- "attributes": {
19
- "aws:cdk:cloudformation:type": "AWS::DynamoDB::Table",
20
- "aws:cdk:cloudformation:props": {
21
- "attributeDefinitions": [
22
- {
23
- "attributeName": "oddName",
24
- "attributeType": "S"
25
- }
26
- ],
27
- "billingMode": "PAY_PER_REQUEST",
28
- "keySchema": [
29
- {
30
- "attributeName": "oddName",
31
- "keyType": "HASH"
32
- }
33
- ],
34
- "pointInTimeRecoverySpecification": {
35
- "pointInTimeRecoveryEnabled": true
36
- },
37
- "sseSpecification": {
38
- "sseEnabled": true
39
- }
40
- }
41
- },
42
- "constructInfo": {
43
- "fqn": "aws-cdk-lib.aws_dynamodb.CfnTable",
44
- "version": "2.150.0"
45
- }
46
- },
47
- "ScalingRole": {
48
- "id": "ScalingRole",
49
- "path": "apiddb-apigateway-dynamodb-existing-table/existing-table/ScalingRole",
50
- "constructInfo": {
51
- "fqn": "aws-cdk-lib.Resource",
52
- "version": "2.150.0"
53
- }
54
- }
55
- },
56
- "constructInfo": {
57
- "fqn": "aws-cdk-lib.aws_dynamodb.Table",
58
- "version": "2.150.0"
59
- }
60
- },
61
- "test-api-gateway-dynamodb-default": {
62
- "id": "test-api-gateway-dynamodb-default",
63
- "path": "apiddb-apigateway-dynamodb-existing-table/test-api-gateway-dynamodb-default",
64
- "children": {
65
- "ApiAccessLogGroup": {
66
- "id": "ApiAccessLogGroup",
67
- "path": "apiddb-apigateway-dynamodb-existing-table/test-api-gateway-dynamodb-default/ApiAccessLogGroup",
68
- "children": {
69
- "Resource": {
70
- "id": "Resource",
71
- "path": "apiddb-apigateway-dynamodb-existing-table/test-api-gateway-dynamodb-default/ApiAccessLogGroup/Resource",
72
- "attributes": {
73
- "aws:cdk:cloudformation:type": "AWS::Logs::LogGroup",
74
- "aws:cdk:cloudformation:props": {}
75
- },
76
- "constructInfo": {
77
- "fqn": "aws-cdk-lib.aws_logs.CfnLogGroup",
78
- "version": "2.150.0"
79
- }
80
- }
81
- },
82
- "constructInfo": {
83
- "fqn": "aws-cdk-lib.aws_logs.LogGroup",
84
- "version": "2.150.0"
85
- }
86
- },
87
- "RestApi": {
88
- "id": "RestApi",
89
- "path": "apiddb-apigateway-dynamodb-existing-table/test-api-gateway-dynamodb-default/RestApi",
90
- "children": {
91
- "Resource": {
92
- "id": "Resource",
93
- "path": "apiddb-apigateway-dynamodb-existing-table/test-api-gateway-dynamodb-default/RestApi/Resource",
94
- "attributes": {
95
- "aws:cdk:cloudformation:type": "AWS::ApiGateway::RestApi",
96
- "aws:cdk:cloudformation:props": {
97
- "endpointConfiguration": {
98
- "types": [
99
- "EDGE"
100
- ]
101
- },
102
- "name": "RestApi"
103
- }
104
- },
105
- "constructInfo": {
106
- "fqn": "aws-cdk-lib.aws_apigateway.CfnRestApi",
107
- "version": "2.150.0"
108
- }
109
- },
110
- "Deployment": {
111
- "id": "Deployment",
112
- "path": "apiddb-apigateway-dynamodb-existing-table/test-api-gateway-dynamodb-default/RestApi/Deployment",
113
- "children": {
114
- "Resource": {
115
- "id": "Resource",
116
- "path": "apiddb-apigateway-dynamodb-existing-table/test-api-gateway-dynamodb-default/RestApi/Deployment/Resource",
117
- "attributes": {
118
- "aws:cdk:cloudformation:type": "AWS::ApiGateway::Deployment",
119
- "aws:cdk:cloudformation:props": {
120
- "description": "Automatically created by the RestApi construct",
121
- "restApiId": {
122
- "Ref": "testapigatewaydynamodbdefaultRestApi9102FDF9"
123
- }
124
- }
125
- },
126
- "constructInfo": {
127
- "fqn": "aws-cdk-lib.aws_apigateway.CfnDeployment",
128
- "version": "2.150.0"
129
- }
130
- }
131
- },
132
- "constructInfo": {
133
- "fqn": "aws-cdk-lib.aws_apigateway.Deployment",
134
- "version": "2.150.0"
135
- }
136
- },
137
- "DeploymentStage.prod": {
138
- "id": "DeploymentStage.prod",
139
- "path": "apiddb-apigateway-dynamodb-existing-table/test-api-gateway-dynamodb-default/RestApi/DeploymentStage.prod",
140
- "children": {
141
- "Resource": {
142
- "id": "Resource",
143
- "path": "apiddb-apigateway-dynamodb-existing-table/test-api-gateway-dynamodb-default/RestApi/DeploymentStage.prod/Resource",
144
- "attributes": {
145
- "aws:cdk:cloudformation:type": "AWS::ApiGateway::Stage",
146
- "aws:cdk:cloudformation:props": {
147
- "accessLogSetting": {
148
- "destinationArn": {
149
- "Fn::GetAtt": [
150
- "testapigatewaydynamodbdefaultApiAccessLogGroup0192183A",
151
- "Arn"
152
- ]
153
- },
154
- "format": "{\"requestId\":\"$context.requestId\",\"ip\":\"$context.identity.sourceIp\",\"user\":\"$context.identity.user\",\"caller\":\"$context.identity.caller\",\"requestTime\":\"$context.requestTime\",\"httpMethod\":\"$context.httpMethod\",\"resourcePath\":\"$context.resourcePath\",\"status\":\"$context.status\",\"protocol\":\"$context.protocol\",\"responseLength\":\"$context.responseLength\"}"
155
- },
156
- "deploymentId": {
157
- "Ref": "testapigatewaydynamodbdefaultRestApiDeploymentFAC726F35a5f302579207081dccaeca1e34daf59"
158
- },
159
- "methodSettings": [
160
- {
161
- "httpMethod": "*",
162
- "resourcePath": "/*",
163
- "dataTraceEnabled": false,
164
- "loggingLevel": "INFO"
165
- }
166
- ],
167
- "restApiId": {
168
- "Ref": "testapigatewaydynamodbdefaultRestApi9102FDF9"
169
- },
170
- "stageName": "prod",
171
- "tracingEnabled": true
172
- }
173
- },
174
- "constructInfo": {
175
- "fqn": "aws-cdk-lib.aws_apigateway.CfnStage",
176
- "version": "2.150.0"
177
- }
178
- }
179
- },
180
- "constructInfo": {
181
- "fqn": "aws-cdk-lib.aws_apigateway.Stage",
182
- "version": "2.150.0"
183
- }
184
- },
185
- "Endpoint": {
186
- "id": "Endpoint",
187
- "path": "apiddb-apigateway-dynamodb-existing-table/test-api-gateway-dynamodb-default/RestApi/Endpoint",
188
- "constructInfo": {
189
- "fqn": "aws-cdk-lib.CfnOutput",
190
- "version": "2.150.0"
191
- }
192
- },
193
- "Default": {
194
- "id": "Default",
195
- "path": "apiddb-apigateway-dynamodb-existing-table/test-api-gateway-dynamodb-default/RestApi/Default",
196
- "children": {
197
- "{oddName}": {
198
- "id": "{oddName}",
199
- "path": "apiddb-apigateway-dynamodb-existing-table/test-api-gateway-dynamodb-default/RestApi/Default/{oddName}",
200
- "children": {
201
- "Resource": {
202
- "id": "Resource",
203
- "path": "apiddb-apigateway-dynamodb-existing-table/test-api-gateway-dynamodb-default/RestApi/Default/{oddName}/Resource",
204
- "attributes": {
205
- "aws:cdk:cloudformation:type": "AWS::ApiGateway::Resource",
206
- "aws:cdk:cloudformation:props": {
207
- "parentId": {
208
- "Fn::GetAtt": [
209
- "testapigatewaydynamodbdefaultRestApi9102FDF9",
210
- "RootResourceId"
211
- ]
212
- },
213
- "pathPart": "{oddName}",
214
- "restApiId": {
215
- "Ref": "testapigatewaydynamodbdefaultRestApi9102FDF9"
216
- }
217
- }
218
- },
219
- "constructInfo": {
220
- "fqn": "aws-cdk-lib.aws_apigateway.CfnResource",
221
- "version": "2.150.0"
222
- }
223
- },
224
- "GET": {
225
- "id": "GET",
226
- "path": "apiddb-apigateway-dynamodb-existing-table/test-api-gateway-dynamodb-default/RestApi/Default/{oddName}/GET",
227
- "children": {
228
- "Resource": {
229
- "id": "Resource",
230
- "path": "apiddb-apigateway-dynamodb-existing-table/test-api-gateway-dynamodb-default/RestApi/Default/{oddName}/GET/Resource",
231
- "attributes": {
232
- "aws:cdk:cloudformation:type": "AWS::ApiGateway::Method",
233
- "aws:cdk:cloudformation:props": {
234
- "authorizationType": "AWS_IAM",
235
- "httpMethod": "GET",
236
- "integration": {
237
- "type": "AWS",
238
- "uri": {
239
- "Fn::Join": [
240
- "",
241
- [
242
- "arn:",
243
- {
244
- "Ref": "AWS::Partition"
245
- },
246
- ":apigateway:",
247
- {
248
- "Ref": "AWS::Region"
249
- },
250
- ":dynamodb:action/Query"
251
- ]
252
- ]
253
- },
254
- "integrationHttpMethod": "POST",
255
- "requestParameters": {
256
- "integration.request.header.Content-Type": "'application/json'"
257
- },
258
- "requestTemplates": {
259
- "application/json": {
260
- "Fn::Join": [
261
- "",
262
- [
263
- "{ \"TableName\": \"",
264
- {
265
- "Ref": "existingtableE51CCC93"
266
- },
267
- "\", \"KeyConditionExpression\": \"oddName = :v1\", \"ExpressionAttributeValues\": { \":v1\": { \"S\": \"$input.params('oddName')\" } } }"
268
- ]
269
- ]
270
- }
271
- },
272
- "passthroughBehavior": "NEVER",
273
- "integrationResponses": [
274
- {
275
- "statusCode": "200"
276
- },
277
- {
278
- "statusCode": "500",
279
- "responseTemplates": {
280
- "text/html": "Error"
281
- },
282
- "selectionPattern": "500"
283
- }
284
- ],
285
- "credentials": {
286
- "Fn::GetAtt": [
287
- "testapigatewaydynamodbdefaultapigatewayrole0CDF008A",
288
- "Arn"
289
- ]
290
- }
291
- },
292
- "methodResponses": [
293
- {
294
- "statusCode": "200",
295
- "responseParameters": {
296
- "method.response.header.Content-Type": true
297
- }
298
- },
299
- {
300
- "statusCode": "500",
301
- "responseParameters": {
302
- "method.response.header.Content-Type": true
303
- }
304
- }
305
- ],
306
- "resourceId": {
307
- "Ref": "testapigatewaydynamodbdefaultRestApioddName392BDAEE"
308
- },
309
- "restApiId": {
310
- "Ref": "testapigatewaydynamodbdefaultRestApi9102FDF9"
311
- }
312
- }
313
- },
314
- "constructInfo": {
315
- "fqn": "aws-cdk-lib.aws_apigateway.CfnMethod",
316
- "version": "2.150.0"
317
- }
318
- }
319
- },
320
- "constructInfo": {
321
- "fqn": "aws-cdk-lib.aws_apigateway.Method",
322
- "version": "2.150.0"
323
- }
324
- }
325
- },
326
- "constructInfo": {
327
- "fqn": "aws-cdk-lib.aws_apigateway.Resource",
328
- "version": "2.150.0"
329
- }
330
- }
331
- },
332
- "constructInfo": {
333
- "fqn": "aws-cdk-lib.aws_apigateway.ResourceBase",
334
- "version": "2.150.0"
335
- }
336
- },
337
- "UsagePlan": {
338
- "id": "UsagePlan",
339
- "path": "apiddb-apigateway-dynamodb-existing-table/test-api-gateway-dynamodb-default/RestApi/UsagePlan",
340
- "children": {
341
- "Resource": {
342
- "id": "Resource",
343
- "path": "apiddb-apigateway-dynamodb-existing-table/test-api-gateway-dynamodb-default/RestApi/UsagePlan/Resource",
344
- "attributes": {
345
- "aws:cdk:cloudformation:type": "AWS::ApiGateway::UsagePlan",
346
- "aws:cdk:cloudformation:props": {
347
- "apiStages": [
348
- {
349
- "apiId": {
350
- "Ref": "testapigatewaydynamodbdefaultRestApi9102FDF9"
351
- },
352
- "stage": {
353
- "Ref": "testapigatewaydynamodbdefaultRestApiDeploymentStageprod7834D304"
354
- },
355
- "throttle": {}
356
- }
357
- ]
358
- }
359
- },
360
- "constructInfo": {
361
- "fqn": "aws-cdk-lib.aws_apigateway.CfnUsagePlan",
362
- "version": "2.150.0"
363
- }
364
- }
365
- },
366
- "constructInfo": {
367
- "fqn": "aws-cdk-lib.aws_apigateway.UsagePlan",
368
- "version": "2.150.0"
369
- }
370
- }
371
- },
372
- "constructInfo": {
373
- "fqn": "aws-cdk-lib.aws_apigateway.RestApi",
374
- "version": "2.150.0"
375
- }
376
- },
377
- "LambdaRestApiCloudWatchRole": {
378
- "id": "LambdaRestApiCloudWatchRole",
379
- "path": "apiddb-apigateway-dynamodb-existing-table/test-api-gateway-dynamodb-default/LambdaRestApiCloudWatchRole",
380
- "children": {
381
- "ImportLambdaRestApiCloudWatchRole": {
382
- "id": "ImportLambdaRestApiCloudWatchRole",
383
- "path": "apiddb-apigateway-dynamodb-existing-table/test-api-gateway-dynamodb-default/LambdaRestApiCloudWatchRole/ImportLambdaRestApiCloudWatchRole",
384
- "constructInfo": {
385
- "fqn": "aws-cdk-lib.Resource",
386
- "version": "2.150.0"
387
- }
388
- },
389
- "Resource": {
390
- "id": "Resource",
391
- "path": "apiddb-apigateway-dynamodb-existing-table/test-api-gateway-dynamodb-default/LambdaRestApiCloudWatchRole/Resource",
392
- "attributes": {
393
- "aws:cdk:cloudformation:type": "AWS::IAM::Role",
394
- "aws:cdk:cloudformation:props": {
395
- "assumeRolePolicyDocument": {
396
- "Statement": [
397
- {
398
- "Action": "sts:AssumeRole",
399
- "Effect": "Allow",
400
- "Principal": {
401
- "Service": "apigateway.amazonaws.com"
402
- }
403
- }
404
- ],
405
- "Version": "2012-10-17"
406
- },
407
- "policies": [
408
- {
409
- "policyName": "LambdaRestApiCloudWatchRolePolicy",
410
- "policyDocument": {
411
- "Statement": [
412
- {
413
- "Action": [
414
- "logs:CreateLogGroup",
415
- "logs:CreateLogStream",
416
- "logs:DescribeLogGroups",
417
- "logs:DescribeLogStreams",
418
- "logs:FilterLogEvents",
419
- "logs:GetLogEvents",
420
- "logs:PutLogEvents"
421
- ],
422
- "Effect": "Allow",
423
- "Resource": {
424
- "Fn::Join": [
425
- "",
426
- [
427
- "arn:",
428
- {
429
- "Ref": "AWS::Partition"
430
- },
431
- ":logs:",
432
- {
433
- "Ref": "AWS::Region"
434
- },
435
- ":",
436
- {
437
- "Ref": "AWS::AccountId"
438
- },
439
- ":*"
440
- ]
441
- ]
442
- }
443
- }
444
- ],
445
- "Version": "2012-10-17"
446
- }
447
- }
448
- ]
449
- }
450
- },
451
- "constructInfo": {
452
- "fqn": "aws-cdk-lib.aws_iam.CfnRole",
453
- "version": "2.150.0"
454
- }
455
- }
456
- },
457
- "constructInfo": {
458
- "fqn": "aws-cdk-lib.aws_iam.Role",
459
- "version": "2.150.0"
460
- }
461
- },
462
- "LambdaRestApiAccount": {
463
- "id": "LambdaRestApiAccount",
464
- "path": "apiddb-apigateway-dynamodb-existing-table/test-api-gateway-dynamodb-default/LambdaRestApiAccount",
465
- "attributes": {
466
- "aws:cdk:cloudformation:type": "AWS::ApiGateway::Account",
467
- "aws:cdk:cloudformation:props": {
468
- "cloudWatchRoleArn": {
469
- "Fn::GetAtt": [
470
- "testapigatewaydynamodbdefaultLambdaRestApiCloudWatchRoleEF1FBFD7",
471
- "Arn"
472
- ]
473
- }
474
- }
475
- },
476
- "constructInfo": {
477
- "fqn": "aws-cdk-lib.aws_apigateway.CfnAccount",
478
- "version": "2.150.0"
479
- }
480
- },
481
- "api-gateway-role": {
482
- "id": "api-gateway-role",
483
- "path": "apiddb-apigateway-dynamodb-existing-table/test-api-gateway-dynamodb-default/api-gateway-role",
484
- "children": {
485
- "Importapi-gateway-role": {
486
- "id": "Importapi-gateway-role",
487
- "path": "apiddb-apigateway-dynamodb-existing-table/test-api-gateway-dynamodb-default/api-gateway-role/Importapi-gateway-role",
488
- "constructInfo": {
489
- "fqn": "aws-cdk-lib.Resource",
490
- "version": "2.150.0"
491
- }
492
- },
493
- "Resource": {
494
- "id": "Resource",
495
- "path": "apiddb-apigateway-dynamodb-existing-table/test-api-gateway-dynamodb-default/api-gateway-role/Resource",
496
- "attributes": {
497
- "aws:cdk:cloudformation:type": "AWS::IAM::Role",
498
- "aws:cdk:cloudformation:props": {
499
- "assumeRolePolicyDocument": {
500
- "Statement": [
501
- {
502
- "Action": "sts:AssumeRole",
503
- "Effect": "Allow",
504
- "Principal": {
505
- "Service": "apigateway.amazonaws.com"
506
- }
507
- }
508
- ],
509
- "Version": "2012-10-17"
510
- }
511
- }
512
- },
513
- "constructInfo": {
514
- "fqn": "aws-cdk-lib.aws_iam.CfnRole",
515
- "version": "2.150.0"
516
- }
517
- },
518
- "DefaultPolicy": {
519
- "id": "DefaultPolicy",
520
- "path": "apiddb-apigateway-dynamodb-existing-table/test-api-gateway-dynamodb-default/api-gateway-role/DefaultPolicy",
521
- "children": {
522
- "Resource": {
523
- "id": "Resource",
524
- "path": "apiddb-apigateway-dynamodb-existing-table/test-api-gateway-dynamodb-default/api-gateway-role/DefaultPolicy/Resource",
525
- "attributes": {
526
- "aws:cdk:cloudformation:type": "AWS::IAM::Policy",
527
- "aws:cdk:cloudformation:props": {
528
- "policyDocument": {
529
- "Statement": [
530
- {
531
- "Action": "dynamodb:Query",
532
- "Effect": "Allow",
533
- "Resource": {
534
- "Fn::GetAtt": [
535
- "existingtableE51CCC93",
536
- "Arn"
537
- ]
538
- }
539
- }
540
- ],
541
- "Version": "2012-10-17"
542
- },
543
- "policyName": "testapigatewaydynamodbdefaultapigatewayroleDefaultPolicyE0B5E59D",
544
- "roles": [
545
- {
546
- "Ref": "testapigatewaydynamodbdefaultapigatewayrole0CDF008A"
547
- }
548
- ]
549
- }
550
- },
551
- "constructInfo": {
552
- "fqn": "aws-cdk-lib.aws_iam.CfnPolicy",
553
- "version": "2.150.0"
554
- }
555
- }
556
- },
557
- "constructInfo": {
558
- "fqn": "aws-cdk-lib.aws_iam.Policy",
559
- "version": "2.150.0"
560
- }
561
- }
562
- },
563
- "constructInfo": {
564
- "fqn": "aws-cdk-lib.aws_iam.Role",
565
- "version": "2.150.0"
566
- }
567
- }
568
- },
569
- "constructInfo": {
570
- "fqn": "@aws-solutions-constructs/aws-apigateway-dynamodb.ApiGatewayToDynamoDB",
571
- "version": "2.63.0"
572
- }
573
- },
574
- "Integ": {
575
- "id": "Integ",
576
- "path": "apiddb-apigateway-dynamodb-existing-table/Integ",
577
- "children": {
578
- "DefaultTest": {
579
- "id": "DefaultTest",
580
- "path": "apiddb-apigateway-dynamodb-existing-table/Integ/DefaultTest",
581
- "children": {
582
- "Default": {
583
- "id": "Default",
584
- "path": "apiddb-apigateway-dynamodb-existing-table/Integ/DefaultTest/Default",
585
- "constructInfo": {
586
- "fqn": "constructs.Construct",
587
- "version": "10.3.0"
588
- }
589
- },
590
- "DeployAssert": {
591
- "id": "DeployAssert",
592
- "path": "apiddb-apigateway-dynamodb-existing-table/Integ/DefaultTest/DeployAssert",
593
- "children": {
594
- "BootstrapVersion": {
595
- "id": "BootstrapVersion",
596
- "path": "apiddb-apigateway-dynamodb-existing-table/Integ/DefaultTest/DeployAssert/BootstrapVersion",
597
- "constructInfo": {
598
- "fqn": "aws-cdk-lib.CfnParameter",
599
- "version": "2.150.0"
600
- }
601
- },
602
- "CheckBootstrapVersion": {
603
- "id": "CheckBootstrapVersion",
604
- "path": "apiddb-apigateway-dynamodb-existing-table/Integ/DefaultTest/DeployAssert/CheckBootstrapVersion",
605
- "constructInfo": {
606
- "fqn": "aws-cdk-lib.CfnRule",
607
- "version": "2.150.0"
608
- }
609
- }
610
- },
611
- "constructInfo": {
612
- "fqn": "aws-cdk-lib.Stack",
613
- "version": "2.150.0"
614
- }
615
- }
616
- },
617
- "constructInfo": {
618
- "fqn": "@aws-cdk/integ-tests-alpha.IntegTestCase",
619
- "version": "2.150.0-alpha.0"
620
- }
621
- }
622
- },
623
- "constructInfo": {
624
- "fqn": "@aws-cdk/integ-tests-alpha.IntegTest",
625
- "version": "2.150.0-alpha.0"
626
- }
627
- },
628
- "BootstrapVersion": {
629
- "id": "BootstrapVersion",
630
- "path": "apiddb-apigateway-dynamodb-existing-table/BootstrapVersion",
631
- "constructInfo": {
632
- "fqn": "aws-cdk-lib.CfnParameter",
633
- "version": "2.150.0"
634
- }
635
- },
636
- "CheckBootstrapVersion": {
637
- "id": "CheckBootstrapVersion",
638
- "path": "apiddb-apigateway-dynamodb-existing-table/CheckBootstrapVersion",
639
- "constructInfo": {
640
- "fqn": "aws-cdk-lib.CfnRule",
641
- "version": "2.150.0"
642
- }
643
- }
644
- },
645
- "constructInfo": {
646
- "fqn": "aws-cdk-lib.Stack",
647
- "version": "2.150.0"
648
- }
649
- },
650
- "Tree": {
651
- "id": "Tree",
652
- "path": "Tree",
653
- "constructInfo": {
654
- "fqn": "constructs.Construct",
655
- "version": "10.3.0"
656
- }
657
- }
658
- },
659
- "constructInfo": {
660
- "fqn": "aws-cdk-lib.App",
661
- "version": "2.150.0"
662
- }
663
- }
664
- }
1
+ {"version":"tree-0.1","tree":{"id":"App","path":"","constructInfo":{"fqn":"aws-cdk-lib.App","version":"2.206.0"},"children":{"apiddb-apigateway-dynamodb-existing-table":{"id":"apiddb-apigateway-dynamodb-existing-table","path":"apiddb-apigateway-dynamodb-existing-table","constructInfo":{"fqn":"aws-cdk-lib.Stack","version":"2.206.0"},"children":{"existing-table":{"id":"existing-table","path":"apiddb-apigateway-dynamodb-existing-table/existing-table","constructInfo":{"fqn":"aws-cdk-lib.aws_dynamodb.Table","version":"2.206.0","metadata":[{"partitionKey":{"name":"*","type":"S"},"pointInTimeRecovery":true,"encryption":"AWS_MANAGED","billingMode":"PAY_PER_REQUEST"}]},"children":{"Resource":{"id":"Resource","path":"apiddb-apigateway-dynamodb-existing-table/existing-table/Resource","constructInfo":{"fqn":"aws-cdk-lib.aws_dynamodb.CfnTable","version":"2.206.0"},"attributes":{"aws:cdk:cloudformation:type":"AWS::DynamoDB::Table","aws:cdk:cloudformation:props":{"attributeDefinitions":[{"attributeName":"oddName","attributeType":"S"}],"billingMode":"PAY_PER_REQUEST","keySchema":[{"attributeName":"oddName","keyType":"HASH"}],"pointInTimeRecoverySpecification":{"pointInTimeRecoveryEnabled":true},"sseSpecification":{"sseEnabled":true}}}},"ScalingRole":{"id":"ScalingRole","path":"apiddb-apigateway-dynamodb-existing-table/existing-table/ScalingRole","constructInfo":{"fqn":"aws-cdk-lib.Resource","version":"2.206.0","metadata":["*"]}}}},"test-api-gateway-dynamodb-default":{"id":"test-api-gateway-dynamodb-default","path":"apiddb-apigateway-dynamodb-existing-table/test-api-gateway-dynamodb-default","constructInfo":{"fqn":"@aws-solutions-constructs/aws-apigateway-dynamodb.ApiGatewayToDynamoDB","version":"2.86.0"},"children":{"ApiAccessLogGroup":{"id":"ApiAccessLogGroup","path":"apiddb-apigateway-dynamodb-existing-table/test-api-gateway-dynamodb-default/ApiAccessLogGroup","constructInfo":{"fqn":"aws-cdk-lib.aws_logs.LogGroup","version":"2.206.0","metadata":[{"retention":9999}]},"children":{"Resource":{"id":"Resource","path":"apiddb-apigateway-dynamodb-existing-table/test-api-gateway-dynamodb-default/ApiAccessLogGroup/Resource","constructInfo":{"fqn":"aws-cdk-lib.aws_logs.CfnLogGroup","version":"2.206.0"},"attributes":{"aws:cdk:cloudformation:type":"AWS::Logs::LogGroup","aws:cdk:cloudformation:props":{}}}}},"RestApi":{"id":"RestApi","path":"apiddb-apigateway-dynamodb-existing-table/test-api-gateway-dynamodb-default/RestApi","constructInfo":{"fqn":"aws-cdk-lib.aws_apigateway.RestApi","version":"2.206.0","metadata":[{"endpointConfiguration":{"types":["EDGE"]},"cloudWatchRole":false,"deployOptions":{"accessLogDestination":"*","accessLogFormat":"*","loggingLevel":"INFO","dataTraceEnabled":false,"tracingEnabled":true},"defaultMethodOptions":{"authorizationType":"*"}}]},"children":{"Resource":{"id":"Resource","path":"apiddb-apigateway-dynamodb-existing-table/test-api-gateway-dynamodb-default/RestApi/Resource","constructInfo":{"fqn":"aws-cdk-lib.aws_apigateway.CfnRestApi","version":"2.206.0"},"attributes":{"aws:cdk:cloudformation:type":"AWS::ApiGateway::RestApi","aws:cdk:cloudformation:props":{"endpointConfiguration":{"types":["EDGE"]},"name":"RestApi"}}},"Deployment":{"id":"Deployment","path":"apiddb-apigateway-dynamodb-existing-table/test-api-gateway-dynamodb-default/RestApi/Deployment","constructInfo":{"fqn":"aws-cdk-lib.aws_apigateway.Deployment","version":"2.206.0","metadata":[{"description":"*","api":"*","retainDeployments":"*"},{"addToLogicalId":[{}]},{"addToLogicalId":[{}]}]},"children":{"Resource":{"id":"Resource","path":"apiddb-apigateway-dynamodb-existing-table/test-api-gateway-dynamodb-default/RestApi/Deployment/Resource","constructInfo":{"fqn":"aws-cdk-lib.aws_apigateway.CfnDeployment","version":"2.206.0"},"attributes":{"aws:cdk:cloudformation:type":"AWS::ApiGateway::Deployment","aws:cdk:cloudformation:props":{"description":"Automatically created by the RestApi construct","restApiId":{"Ref":"testapigatewaydynamodbdefaultRestApi9102FDF9"}}}}}},"DeploymentStage.prod":{"id":"DeploymentStage.prod","path":"apiddb-apigateway-dynamodb-existing-table/test-api-gateway-dynamodb-default/RestApi/DeploymentStage.prod","constructInfo":{"fqn":"aws-cdk-lib.aws_apigateway.Stage","version":"2.206.0","metadata":[{"deployment":"*","accessLogDestination":"*","accessLogFormat":"*","loggingLevel":"INFO","dataTraceEnabled":false,"tracingEnabled":true}]},"children":{"Resource":{"id":"Resource","path":"apiddb-apigateway-dynamodb-existing-table/test-api-gateway-dynamodb-default/RestApi/DeploymentStage.prod/Resource","constructInfo":{"fqn":"aws-cdk-lib.aws_apigateway.CfnStage","version":"2.206.0"},"attributes":{"aws:cdk:cloudformation:type":"AWS::ApiGateway::Stage","aws:cdk:cloudformation:props":{"accessLogSetting":{"destinationArn":{"Fn::GetAtt":["testapigatewaydynamodbdefaultApiAccessLogGroup0192183A","Arn"]},"format":"{\"requestId\":\"$context.requestId\",\"ip\":\"$context.identity.sourceIp\",\"user\":\"$context.identity.user\",\"caller\":\"$context.identity.caller\",\"requestTime\":\"$context.requestTime\",\"httpMethod\":\"$context.httpMethod\",\"resourcePath\":\"$context.resourcePath\",\"status\":\"$context.status\",\"protocol\":\"$context.protocol\",\"responseLength\":\"$context.responseLength\"}"},"deploymentId":{"Ref":"testapigatewaydynamodbdefaultRestApiDeploymentFAC726F35a5f302579207081dccaeca1e34daf59"},"methodSettings":[{"httpMethod":"*","resourcePath":"/*","dataTraceEnabled":false,"loggingLevel":"INFO"}],"restApiId":{"Ref":"testapigatewaydynamodbdefaultRestApi9102FDF9"},"stageName":"prod","tracingEnabled":true}}}}},"Endpoint":{"id":"Endpoint","path":"apiddb-apigateway-dynamodb-existing-table/test-api-gateway-dynamodb-default/RestApi/Endpoint","constructInfo":{"fqn":"aws-cdk-lib.CfnOutput","version":"2.206.0"}},"Default":{"id":"Default","path":"apiddb-apigateway-dynamodb-existing-table/test-api-gateway-dynamodb-default/RestApi/Default","constructInfo":{"fqn":"aws-cdk-lib.aws_apigateway.ResourceBase","version":"2.206.0","metadata":["*"]},"children":{"{oddName}":{"id":"{oddName}","path":"apiddb-apigateway-dynamodb-existing-table/test-api-gateway-dynamodb-default/RestApi/Default/{oddName}","constructInfo":{"fqn":"aws-cdk-lib.aws_apigateway.Resource","version":"2.206.0","metadata":[{"parent":"*","pathPart":"*"}]},"children":{"Resource":{"id":"Resource","path":"apiddb-apigateway-dynamodb-existing-table/test-api-gateway-dynamodb-default/RestApi/Default/{oddName}/Resource","constructInfo":{"fqn":"aws-cdk-lib.aws_apigateway.CfnResource","version":"2.206.0"},"attributes":{"aws:cdk:cloudformation:type":"AWS::ApiGateway::Resource","aws:cdk:cloudformation:props":{"parentId":{"Fn::GetAtt":["testapigatewaydynamodbdefaultRestApi9102FDF9","RootResourceId"]},"pathPart":"{oddName}","restApiId":{"Ref":"testapigatewaydynamodbdefaultRestApi9102FDF9"}}}},"GET":{"id":"GET","path":"apiddb-apigateway-dynamodb-existing-table/test-api-gateway-dynamodb-default/RestApi/Default/{oddName}/GET","constructInfo":{"fqn":"aws-cdk-lib.aws_apigateway.Method","version":"2.206.0","metadata":[{"resource":"*","httpMethod":"*","integration":"*","options":{"methodResponses":[{"statusCode":"*","responseParameters":"*"},{"statusCode":"*","responseParameters":"*"}]}},{"addMethodResponse":[{"statusCode":"*","responseParameters":"*"}]},{"addMethodResponse":[{"statusCode":"*","responseParameters":"*"}]}]},"children":{"Resource":{"id":"Resource","path":"apiddb-apigateway-dynamodb-existing-table/test-api-gateway-dynamodb-default/RestApi/Default/{oddName}/GET/Resource","constructInfo":{"fqn":"aws-cdk-lib.aws_apigateway.CfnMethod","version":"2.206.0"},"attributes":{"aws:cdk:cloudformation:type":"AWS::ApiGateway::Method","aws:cdk:cloudformation:props":{"authorizationType":"AWS_IAM","httpMethod":"GET","integration":{"type":"AWS","uri":{"Fn::Join":["",["arn:",{"Ref":"AWS::Partition"},":apigateway:",{"Ref":"AWS::Region"},":dynamodb:action/Query"]]},"integrationHttpMethod":"POST","requestParameters":{"integration.request.header.Content-Type":"'application/json'"},"requestTemplates":{"application/json":{"Fn::Join":["",["{ \"TableName\": \"",{"Ref":"existingtableE51CCC93"},"\", \"KeyConditionExpression\": \"oddName = :v1\", \"ExpressionAttributeValues\": { \":v1\": { \"S\": \"$input.params('oddName')\" } } }"]]}},"passthroughBehavior":"NEVER","integrationResponses":[{"statusCode":"200"},{"statusCode":"500","responseTemplates":{"text/html":"Error"},"selectionPattern":"500"}],"credentials":{"Fn::GetAtt":["testapigatewaydynamodbdefaultapigatewayrole0CDF008A","Arn"]}},"methodResponses":[{"statusCode":"200","responseParameters":{"method.response.header.Content-Type":true}},{"statusCode":"500","responseParameters":{"method.response.header.Content-Type":true}}],"resourceId":{"Ref":"testapigatewaydynamodbdefaultRestApioddName392BDAEE"},"restApiId":{"Ref":"testapigatewaydynamodbdefaultRestApi9102FDF9"}}}}}}}}}},"UsagePlan":{"id":"UsagePlan","path":"apiddb-apigateway-dynamodb-existing-table/test-api-gateway-dynamodb-default/RestApi/UsagePlan","constructInfo":{"fqn":"aws-cdk-lib.aws_apigateway.UsagePlan","version":"2.206.0","metadata":[{"apiStages":[{"api":"*"}]}]},"children":{"Resource":{"id":"Resource","path":"apiddb-apigateway-dynamodb-existing-table/test-api-gateway-dynamodb-default/RestApi/UsagePlan/Resource","constructInfo":{"fqn":"aws-cdk-lib.aws_apigateway.CfnUsagePlan","version":"2.206.0"},"attributes":{"aws:cdk:cloudformation:type":"AWS::ApiGateway::UsagePlan","aws:cdk:cloudformation:props":{"apiStages":[{"apiId":{"Ref":"testapigatewaydynamodbdefaultRestApi9102FDF9"},"stage":{"Ref":"testapigatewaydynamodbdefaultRestApiDeploymentStageprod7834D304"},"throttle":{}}]}}}}}}},"LambdaRestApiCloudWatchRole":{"id":"LambdaRestApiCloudWatchRole","path":"apiddb-apigateway-dynamodb-existing-table/test-api-gateway-dynamodb-default/LambdaRestApiCloudWatchRole","constructInfo":{"fqn":"aws-cdk-lib.aws_iam.Role","version":"2.206.0","metadata":[{"assumedBy":{"principalAccount":"*","assumeRoleAction":"*"},"inlinePolicies":"*"}]},"children":{"ImportLambdaRestApiCloudWatchRole":{"id":"ImportLambdaRestApiCloudWatchRole","path":"apiddb-apigateway-dynamodb-existing-table/test-api-gateway-dynamodb-default/LambdaRestApiCloudWatchRole/ImportLambdaRestApiCloudWatchRole","constructInfo":{"fqn":"aws-cdk-lib.Resource","version":"2.206.0","metadata":["*"]}},"Resource":{"id":"Resource","path":"apiddb-apigateway-dynamodb-existing-table/test-api-gateway-dynamodb-default/LambdaRestApiCloudWatchRole/Resource","constructInfo":{"fqn":"aws-cdk-lib.aws_iam.CfnRole","version":"2.206.0"},"attributes":{"aws:cdk:cloudformation:type":"AWS::IAM::Role","aws:cdk:cloudformation:props":{"assumeRolePolicyDocument":{"Statement":[{"Action":"sts:AssumeRole","Effect":"Allow","Principal":{"Service":"apigateway.amazonaws.com"}}],"Version":"2012-10-17"},"policies":[{"policyName":"LambdaRestApiCloudWatchRolePolicy","policyDocument":{"Statement":[{"Action":["logs:CreateLogGroup","logs:CreateLogStream","logs:DescribeLogGroups","logs:DescribeLogStreams","logs:FilterLogEvents","logs:GetLogEvents","logs:PutLogEvents"],"Effect":"Allow","Resource":{"Fn::Join":["",["arn:",{"Ref":"AWS::Partition"},":logs:",{"Ref":"AWS::Region"},":",{"Ref":"AWS::AccountId"},":*"]]}}],"Version":"2012-10-17"}}]}}}}},"LambdaRestApiAccount":{"id":"LambdaRestApiAccount","path":"apiddb-apigateway-dynamodb-existing-table/test-api-gateway-dynamodb-default/LambdaRestApiAccount","constructInfo":{"fqn":"aws-cdk-lib.aws_apigateway.CfnAccount","version":"2.206.0"},"attributes":{"aws:cdk:cloudformation:type":"AWS::ApiGateway::Account","aws:cdk:cloudformation:props":{"cloudWatchRoleArn":{"Fn::GetAtt":["testapigatewaydynamodbdefaultLambdaRestApiCloudWatchRoleEF1FBFD7","Arn"]}}}},"api-gateway-role":{"id":"api-gateway-role","path":"apiddb-apigateway-dynamodb-existing-table/test-api-gateway-dynamodb-default/api-gateway-role","constructInfo":{"fqn":"aws-cdk-lib.aws_iam.Role","version":"2.206.0","metadata":[{"assumedBy":{"principalAccount":"*","assumeRoleAction":"*"}},{"addToPolicy":[{}]},{"addToPrincipalPolicy":[{}]},{"attachInlinePolicy":["*"]},{"attachInlinePolicy":["*"]}]},"children":{"Importapi-gateway-role":{"id":"Importapi-gateway-role","path":"apiddb-apigateway-dynamodb-existing-table/test-api-gateway-dynamodb-default/api-gateway-role/Importapi-gateway-role","constructInfo":{"fqn":"aws-cdk-lib.Resource","version":"2.206.0","metadata":["*"]}},"Resource":{"id":"Resource","path":"apiddb-apigateway-dynamodb-existing-table/test-api-gateway-dynamodb-default/api-gateway-role/Resource","constructInfo":{"fqn":"aws-cdk-lib.aws_iam.CfnRole","version":"2.206.0"},"attributes":{"aws:cdk:cloudformation:type":"AWS::IAM::Role","aws:cdk:cloudformation:props":{"assumeRolePolicyDocument":{"Statement":[{"Action":"sts:AssumeRole","Effect":"Allow","Principal":{"Service":"apigateway.amazonaws.com"}}],"Version":"2012-10-17"}}}},"DefaultPolicy":{"id":"DefaultPolicy","path":"apiddb-apigateway-dynamodb-existing-table/test-api-gateway-dynamodb-default/api-gateway-role/DefaultPolicy","constructInfo":{"fqn":"aws-cdk-lib.aws_iam.Policy","version":"2.206.0","metadata":["*",{"attachToRole":["*"]},{"attachToRole":["*"]},{"addStatements":[{}]}]},"children":{"Resource":{"id":"Resource","path":"apiddb-apigateway-dynamodb-existing-table/test-api-gateway-dynamodb-default/api-gateway-role/DefaultPolicy/Resource","constructInfo":{"fqn":"aws-cdk-lib.aws_iam.CfnPolicy","version":"2.206.0"},"attributes":{"aws:cdk:cloudformation:type":"AWS::IAM::Policy","aws:cdk:cloudformation:props":{"policyDocument":{"Statement":[{"Action":"dynamodb:Query","Effect":"Allow","Resource":{"Fn::GetAtt":["existingtableE51CCC93","Arn"]}}],"Version":"2012-10-17"},"policyName":"testapigatewaydynamodbdefaultapigatewayroleDefaultPolicyE0B5E59D","roles":[{"Ref":"testapigatewaydynamodbdefaultapigatewayrole0CDF008A"}]}}}}}}}}},"Integ":{"id":"Integ","path":"apiddb-apigateway-dynamodb-existing-table/Integ","constructInfo":{"fqn":"@aws-cdk/integ-tests-alpha.IntegTest","version":"2.206.0-alpha.0"},"children":{"DefaultTest":{"id":"DefaultTest","path":"apiddb-apigateway-dynamodb-existing-table/Integ/DefaultTest","constructInfo":{"fqn":"@aws-cdk/integ-tests-alpha.IntegTestCase","version":"2.206.0-alpha.0"},"children":{"Default":{"id":"Default","path":"apiddb-apigateway-dynamodb-existing-table/Integ/DefaultTest/Default","constructInfo":{"fqn":"constructs.Construct","version":"10.4.2"}},"DeployAssert":{"id":"DeployAssert","path":"apiddb-apigateway-dynamodb-existing-table/Integ/DefaultTest/DeployAssert","constructInfo":{"fqn":"aws-cdk-lib.Stack","version":"2.206.0"},"children":{"BootstrapVersion":{"id":"BootstrapVersion","path":"apiddb-apigateway-dynamodb-existing-table/Integ/DefaultTest/DeployAssert/BootstrapVersion","constructInfo":{"fqn":"aws-cdk-lib.CfnParameter","version":"2.206.0"}},"CheckBootstrapVersion":{"id":"CheckBootstrapVersion","path":"apiddb-apigateway-dynamodb-existing-table/Integ/DefaultTest/DeployAssert/CheckBootstrapVersion","constructInfo":{"fqn":"aws-cdk-lib.CfnRule","version":"2.206.0"}}}}}}}},"BootstrapVersion":{"id":"BootstrapVersion","path":"apiddb-apigateway-dynamodb-existing-table/BootstrapVersion","constructInfo":{"fqn":"aws-cdk-lib.CfnParameter","version":"2.206.0"}},"CheckBootstrapVersion":{"id":"CheckBootstrapVersion","path":"apiddb-apigateway-dynamodb-existing-table/CheckBootstrapVersion","constructInfo":{"fqn":"aws-cdk-lib.CfnRule","version":"2.206.0"}}}},"Tree":{"id":"Tree","path":"Tree","constructInfo":{"fqn":"constructs.Construct","version":"10.4.2"}}}}}