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