@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.
- package/.jsii +82 -4
- package/lib/index.js +1 -1
- package/package.json +6 -6
- package/test/integ.apiddb-additional-request-templates-custom-resource-name.js +2 -1
- package/test/integ.apiddb-additional-request-templates-custom-resource-name.js.snapshot/apiddb-additional-request-templates-custom-resource-name.assets.json +5 -4
- package/test/integ.apiddb-additional-request-templates-custom-resource-name.js.snapshot/apiddb-additional-request-templates-custom-resource-name.template.json +1 -0
- package/test/integ.apiddb-additional-request-templates-custom-resource-name.js.snapshot/apiddbadditionalrequesttemplatescustomresourcenameIntegDefaultTestDeployAssertABD5B2B6.assets.json +3 -2
- package/test/integ.apiddb-additional-request-templates-custom-resource-name.js.snapshot/cdk.out +1 -1
- package/test/integ.apiddb-additional-request-templates-custom-resource-name.js.snapshot/integ.json +3 -2
- package/test/integ.apiddb-additional-request-templates-custom-resource-name.js.snapshot/manifest.json +735 -3
- package/test/integ.apiddb-additional-request-templates-custom-resource-name.js.snapshot/tree.json +1 -684
- package/test/integ.apiddb-additional-request-templates.js +2 -1
- package/test/integ.apiddb-additional-request-templates.js.snapshot/apiddb-additional-request-templates.assets.json +5 -4
- package/test/integ.apiddb-additional-request-templates.js.snapshot/apiddb-additional-request-templates.template.json +1 -0
- package/test/integ.apiddb-additional-request-templates.js.snapshot/apiddbadditionalrequesttemplatesIntegDefaultTestDeployAssert01278153.assets.json +3 -2
- package/test/integ.apiddb-additional-request-templates.js.snapshot/cdk.out +1 -1
- package/test/integ.apiddb-additional-request-templates.js.snapshot/integ.json +3 -2
- package/test/integ.apiddb-additional-request-templates.js.snapshot/manifest.json +731 -3
- package/test/integ.apiddb-additional-request-templates.js.snapshot/tree.json +1 -676
- package/test/integ.apiddb-apigateway-dynamodb-CRUD.js +2 -1
- package/test/integ.apiddb-apigateway-dynamodb-CRUD.js.snapshot/apiddb-apigateway-dynamodb-CRUD.assets.json +5 -4
- package/test/integ.apiddb-apigateway-dynamodb-CRUD.js.snapshot/apiddb-apigateway-dynamodb-CRUD.template.json +1 -0
- package/test/integ.apiddb-apigateway-dynamodb-CRUD.js.snapshot/apiddbapigatewaydynamodbCRUDIntegDefaultTestDeployAssert492DC8FE.assets.json +3 -2
- package/test/integ.apiddb-apigateway-dynamodb-CRUD.js.snapshot/cdk.out +1 -1
- package/test/integ.apiddb-apigateway-dynamodb-CRUD.js.snapshot/integ.json +3 -2
- package/test/integ.apiddb-apigateway-dynamodb-CRUD.js.snapshot/manifest.json +961 -3
- package/test/integ.apiddb-apigateway-dynamodb-CRUD.js.snapshot/tree.json +1 -975
- package/test/integ.apiddb-apigateway-dynamodb-existing-table.js +2 -1
- package/test/integ.apiddb-apigateway-dynamodb-existing-table.js.snapshot/apiddb-apigateway-dynamodb-existing-table.assets.json +5 -4
- package/test/integ.apiddb-apigateway-dynamodb-existing-table.js.snapshot/apiddb-apigateway-dynamodb-existing-table.template.json +1 -0
- package/test/integ.apiddb-apigateway-dynamodb-existing-table.js.snapshot/apiddbapigatewaydynamodbexistingtableIntegDefaultTestDeployAssertD38D4AB2.assets.json +3 -2
- package/test/integ.apiddb-apigateway-dynamodb-existing-table.js.snapshot/cdk.out +1 -1
- package/test/integ.apiddb-apigateway-dynamodb-existing-table.js.snapshot/integ.json +3 -2
- package/test/integ.apiddb-apigateway-dynamodb-existing-table.js.snapshot/manifest.json +731 -3
- package/test/integ.apiddb-apigateway-dynamodb-existing-table.js.snapshot/tree.json +1 -664
- package/test/integ.apiddb-custom-integration-responses.js +2 -1
- package/test/integ.apiddb-custom-integration-responses.js.snapshot/apiddb-custom-integration-responses.assets.json +5 -4
- package/test/integ.apiddb-custom-integration-responses.js.snapshot/apiddb-custom-integration-responses.template.json +1 -0
- package/test/integ.apiddb-custom-integration-responses.js.snapshot/apiddbcustomintegrationresponsesIntegDefaultTestDeployAssert9F4582C4.assets.json +3 -2
- package/test/integ.apiddb-custom-integration-responses.js.snapshot/cdk.out +1 -1
- package/test/integ.apiddb-custom-integration-responses.js.snapshot/integ.json +3 -2
- package/test/integ.apiddb-custom-integration-responses.js.snapshot/manifest.json +731 -3
- package/test/integ.apiddb-custom-integration-responses.js.snapshot/tree.json +1 -664
- package/test/integ.apiddb-custom-method-response.js +2 -1
- package/test/integ.apiddb-custom-method-response.js.snapshot/apiddb-custom-method-response.assets.json +5 -4
- package/test/integ.apiddb-custom-method-response.js.snapshot/apiddb-custom-method-response.template.json +1 -0
- package/test/integ.apiddb-custom-method-response.js.snapshot/apiddbcustommethodresponseIntegDefaultTestDeployAssertAC6F68EC.assets.json +3 -2
- package/test/integ.apiddb-custom-method-response.js.snapshot/cdk.out +1 -1
- package/test/integ.apiddb-custom-method-response.js.snapshot/integ.json +3 -2
- package/test/integ.apiddb-custom-method-response.js.snapshot/manifest.json +803 -3
- package/test/integ.apiddb-custom-method-response.js.snapshot/tree.json +1 -764
- package/test/integ.apiddb-no-arguments.js +2 -1
- package/test/integ.apiddb-no-arguments.js.snapshot/apiddb-no-arguments.assets.json +5 -4
- package/test/integ.apiddb-no-arguments.js.snapshot/apiddb-no-arguments.template.json +1 -0
- package/test/integ.apiddb-no-arguments.js.snapshot/apiddbnoargumentsIntegDefaultTestDeployAssert79BAC49F.assets.json +3 -2
- package/test/integ.apiddb-no-arguments.js.snapshot/cdk.out +1 -1
- package/test/integ.apiddb-no-arguments.js.snapshot/integ.json +3 -2
- package/test/integ.apiddb-no-arguments.js.snapshot/manifest.json +733 -3
- package/test/integ.apiddb-no-arguments.js.snapshot/tree.json +1 -664
- package/test/integ.apiddb-no-usage-plan.js +2 -1
- package/test/integ.apiddb-no-usage-plan.js.snapshot/apiddb-no-usage-plan.assets.json +5 -4
- package/test/integ.apiddb-no-usage-plan.js.snapshot/apiddb-no-usage-plan.template.json +1 -0
- package/test/integ.apiddb-no-usage-plan.js.snapshot/apiddbnousageplanIntegDefaultTestDeployAssert9327EC62.assets.json +3 -2
- package/test/integ.apiddb-no-usage-plan.js.snapshot/cdk.out +1 -1
- package/test/integ.apiddb-no-usage-plan.js.snapshot/integ.json +3 -2
- package/test/integ.apiddb-no-usage-plan.js.snapshot/manifest.json +475 -4
- package/test/integ.apiddb-no-usage-plan.js.snapshot/tree.json +1 -800
package/test/integ.apiddb-additional-request-templates-custom-resource-name.js.snapshot/tree.json
CHANGED
|
@@ -1,684 +1 @@
|
|
|
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.150.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.150.0"
|
|
61
|
-
}
|
|
62
|
-
}
|
|
63
|
-
},
|
|
64
|
-
"constructInfo": {
|
|
65
|
-
"fqn": "aws-cdk-lib.aws_dynamodb.Table",
|
|
66
|
-
"version": "2.150.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.150.0"
|
|
87
|
-
}
|
|
88
|
-
}
|
|
89
|
-
},
|
|
90
|
-
"constructInfo": {
|
|
91
|
-
"fqn": "aws-cdk-lib.aws_logs.LogGroup",
|
|
92
|
-
"version": "2.150.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.150.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.150.0"
|
|
137
|
-
}
|
|
138
|
-
}
|
|
139
|
-
},
|
|
140
|
-
"constructInfo": {
|
|
141
|
-
"fqn": "aws-cdk-lib.aws_apigateway.Deployment",
|
|
142
|
-
"version": "2.150.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.150.0"
|
|
185
|
-
}
|
|
186
|
-
}
|
|
187
|
-
},
|
|
188
|
-
"constructInfo": {
|
|
189
|
-
"fqn": "aws-cdk-lib.aws_apigateway.Stage",
|
|
190
|
-
"version": "2.150.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.150.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.150.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.150.0"
|
|
337
|
-
}
|
|
338
|
-
}
|
|
339
|
-
},
|
|
340
|
-
"constructInfo": {
|
|
341
|
-
"fqn": "aws-cdk-lib.aws_apigateway.Method",
|
|
342
|
-
"version": "2.150.0"
|
|
343
|
-
}
|
|
344
|
-
}
|
|
345
|
-
},
|
|
346
|
-
"constructInfo": {
|
|
347
|
-
"fqn": "aws-cdk-lib.aws_apigateway.Resource",
|
|
348
|
-
"version": "2.150.0"
|
|
349
|
-
}
|
|
350
|
-
}
|
|
351
|
-
},
|
|
352
|
-
"constructInfo": {
|
|
353
|
-
"fqn": "aws-cdk-lib.aws_apigateway.ResourceBase",
|
|
354
|
-
"version": "2.150.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.150.0"
|
|
383
|
-
}
|
|
384
|
-
}
|
|
385
|
-
},
|
|
386
|
-
"constructInfo": {
|
|
387
|
-
"fqn": "aws-cdk-lib.aws_apigateway.UsagePlan",
|
|
388
|
-
"version": "2.150.0"
|
|
389
|
-
}
|
|
390
|
-
}
|
|
391
|
-
},
|
|
392
|
-
"constructInfo": {
|
|
393
|
-
"fqn": "aws-cdk-lib.aws_apigateway.RestApi",
|
|
394
|
-
"version": "2.150.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.150.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.150.0"
|
|
474
|
-
}
|
|
475
|
-
}
|
|
476
|
-
},
|
|
477
|
-
"constructInfo": {
|
|
478
|
-
"fqn": "aws-cdk-lib.aws_iam.Role",
|
|
479
|
-
"version": "2.150.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.150.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.150.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.150.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.150.0"
|
|
574
|
-
}
|
|
575
|
-
}
|
|
576
|
-
},
|
|
577
|
-
"constructInfo": {
|
|
578
|
-
"fqn": "aws-cdk-lib.aws_iam.Policy",
|
|
579
|
-
"version": "2.150.0"
|
|
580
|
-
}
|
|
581
|
-
}
|
|
582
|
-
},
|
|
583
|
-
"constructInfo": {
|
|
584
|
-
"fqn": "aws-cdk-lib.aws_iam.Role",
|
|
585
|
-
"version": "2.150.0"
|
|
586
|
-
}
|
|
587
|
-
}
|
|
588
|
-
},
|
|
589
|
-
"constructInfo": {
|
|
590
|
-
"fqn": "@aws-solutions-constructs/aws-apigateway-dynamodb.ApiGatewayToDynamoDB",
|
|
591
|
-
"version": "2.63.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.3.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.150.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.150.0"
|
|
628
|
-
}
|
|
629
|
-
}
|
|
630
|
-
},
|
|
631
|
-
"constructInfo": {
|
|
632
|
-
"fqn": "aws-cdk-lib.Stack",
|
|
633
|
-
"version": "2.150.0"
|
|
634
|
-
}
|
|
635
|
-
}
|
|
636
|
-
},
|
|
637
|
-
"constructInfo": {
|
|
638
|
-
"fqn": "@aws-cdk/integ-tests-alpha.IntegTestCase",
|
|
639
|
-
"version": "2.150.0-alpha.0"
|
|
640
|
-
}
|
|
641
|
-
}
|
|
642
|
-
},
|
|
643
|
-
"constructInfo": {
|
|
644
|
-
"fqn": "@aws-cdk/integ-tests-alpha.IntegTest",
|
|
645
|
-
"version": "2.150.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.150.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.150.0"
|
|
662
|
-
}
|
|
663
|
-
}
|
|
664
|
-
},
|
|
665
|
-
"constructInfo": {
|
|
666
|
-
"fqn": "aws-cdk-lib.Stack",
|
|
667
|
-
"version": "2.150.0"
|
|
668
|
-
}
|
|
669
|
-
},
|
|
670
|
-
"Tree": {
|
|
671
|
-
"id": "Tree",
|
|
672
|
-
"path": "Tree",
|
|
673
|
-
"constructInfo": {
|
|
674
|
-
"fqn": "constructs.Construct",
|
|
675
|
-
"version": "10.3.0"
|
|
676
|
-
}
|
|
677
|
-
}
|
|
678
|
-
},
|
|
679
|
-
"constructInfo": {
|
|
680
|
-
"fqn": "aws-cdk-lib.App",
|
|
681
|
-
"version": "2.150.0"
|
|
682
|
-
}
|
|
683
|
-
}
|
|
684
|
-
}
|
|
1
|
+
{"version":"tree-0.1","tree":{"id":"App","path":"","constructInfo":{"fqn":"aws-cdk-lib.App","version":"2.206.0"},"children":{"apiddb-additional-request-templates-custom-resource-name":{"id":"apiddb-additional-request-templates-custom-resource-name","path":"apiddb-additional-request-templates-custom-resource-name","constructInfo":{"fqn":"aws-cdk-lib.Stack","version":"2.206.0"},"children":{"existing-table":{"id":"existing-table","path":"apiddb-additional-request-templates-custom-resource-name/existing-table","constructInfo":{"fqn":"aws-cdk-lib.aws_dynamodb.Table","version":"2.206.0","metadata":[{"partitionKey":{"name":"*","type":"S"},"sortKey":{"name":"*","type":"S"},"pointInTimeRecovery":true,"encryption":"AWS_MANAGED","billingMode":"PAY_PER_REQUEST"}]},"children":{"Resource":{"id":"Resource","path":"apiddb-additional-request-templates-custom-resource-name/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":"PK","attributeType":"S"},{"attributeName":"SK","attributeType":"S"}],"billingMode":"PAY_PER_REQUEST","keySchema":[{"attributeName":"PK","keyType":"HASH"},{"attributeName":"SK","keyType":"RANGE"}],"pointInTimeRecoverySpecification":{"pointInTimeRecoveryEnabled":true},"sseSpecification":{"sseEnabled":true}}}},"ScalingRole":{"id":"ScalingRole","path":"apiddb-additional-request-templates-custom-resource-name/existing-table/ScalingRole","constructInfo":{"fqn":"aws-cdk-lib.Resource","version":"2.206.0","metadata":["*"]}}}},"test-api-gateway-dynamodb-additional-request-templates-custom-resource-name":{"id":"test-api-gateway-dynamodb-additional-request-templates-custom-resource-name","path":"apiddb-additional-request-templates-custom-resource-name/test-api-gateway-dynamodb-additional-request-templates-custom-resource-name","constructInfo":{"fqn":"@aws-solutions-constructs/aws-apigateway-dynamodb.ApiGatewayToDynamoDB","version":"2.86.0"},"children":{"ApiAccessLogGroup":{"id":"ApiAccessLogGroup","path":"apiddb-additional-request-templates-custom-resource-name/test-api-gateway-dynamodb-additional-request-templates-custom-resource-name/ApiAccessLogGroup","constructInfo":{"fqn":"aws-cdk-lib.aws_logs.LogGroup","version":"2.206.0","metadata":[{"retention":9999}]},"children":{"Resource":{"id":"Resource","path":"apiddb-additional-request-templates-custom-resource-name/test-api-gateway-dynamodb-additional-request-templates-custom-resource-name/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-additional-request-templates-custom-resource-name/test-api-gateway-dynamodb-additional-request-templates-custom-resource-name/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-additional-request-templates-custom-resource-name/test-api-gateway-dynamodb-additional-request-templates-custom-resource-name/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-additional-request-templates-custom-resource-name/test-api-gateway-dynamodb-additional-request-templates-custom-resource-name/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-additional-request-templates-custom-resource-name/test-api-gateway-dynamodb-additional-request-templates-custom-resource-name/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":"testapigatewaydynamodbadditionalrequesttemplatescustomresourcenameRestApiC4813ABE"}}}}}},"DeploymentStage.prod":{"id":"DeploymentStage.prod","path":"apiddb-additional-request-templates-custom-resource-name/test-api-gateway-dynamodb-additional-request-templates-custom-resource-name/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-additional-request-templates-custom-resource-name/test-api-gateway-dynamodb-additional-request-templates-custom-resource-name/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":["testapigatewaydynamodbadditionalrequesttemplatescustomresourcenameApiAccessLogGroup89C7FD92","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":"testapigatewaydynamodbadditionalrequesttemplatescustomresourcenameRestApiDeployment7F5497B67361a1e02c5799cae81447bf3ad5ef46"},"methodSettings":[{"httpMethod":"*","resourcePath":"/*","dataTraceEnabled":false,"loggingLevel":"INFO"}],"restApiId":{"Ref":"testapigatewaydynamodbadditionalrequesttemplatescustomresourcenameRestApiC4813ABE"},"stageName":"prod","tracingEnabled":true}}}}},"Endpoint":{"id":"Endpoint","path":"apiddb-additional-request-templates-custom-resource-name/test-api-gateway-dynamodb-additional-request-templates-custom-resource-name/RestApi/Endpoint","constructInfo":{"fqn":"aws-cdk-lib.CfnOutput","version":"2.206.0"}},"Default":{"id":"Default","path":"apiddb-additional-request-templates-custom-resource-name/test-api-gateway-dynamodb-additional-request-templates-custom-resource-name/RestApi/Default","constructInfo":{"fqn":"aws-cdk-lib.aws_apigateway.ResourceBase","version":"2.206.0","metadata":["*"]},"children":{"{id}":{"id":"{id}","path":"apiddb-additional-request-templates-custom-resource-name/test-api-gateway-dynamodb-additional-request-templates-custom-resource-name/RestApi/Default/{id}","constructInfo":{"fqn":"aws-cdk-lib.aws_apigateway.Resource","version":"2.206.0","metadata":[{"parent":"*","pathPart":"*"}]},"children":{"Resource":{"id":"Resource","path":"apiddb-additional-request-templates-custom-resource-name/test-api-gateway-dynamodb-additional-request-templates-custom-resource-name/RestApi/Default/{id}/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":["testapigatewaydynamodbadditionalrequesttemplatescustomresourcenameRestApiC4813ABE","RootResourceId"]},"pathPart":"{id}","restApiId":{"Ref":"testapigatewaydynamodbadditionalrequesttemplatescustomresourcenameRestApiC4813ABE"}}}},"GET":{"id":"GET","path":"apiddb-additional-request-templates-custom-resource-name/test-api-gateway-dynamodb-additional-request-templates-custom-resource-name/RestApi/Default/{id}/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-additional-request-templates-custom-resource-name/test-api-gateway-dynamodb-additional-request-templates-custom-resource-name/RestApi/Default/{id}/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\": \"PK = :v1\", \"ExpressionAttributeValues\": { \":v1\": { \"S\": \"$input.params('id')\" } } }"]]},"text/plain":{"Fn::Join":["",["{ \"TableName\": \"",{"Ref":"existingtableE51CCC93"},"\", \"KeyConditionExpression\": \"PK = :v2 AND SK = :v1\", \"ExpressionAttributeValues\": { \":v1\": { \"S\": \"$input.params('id')\" }, \":v2\": { \"S\": \"MY_VALUE\" } } }"]]}},"passthroughBehavior":"NEVER","integrationResponses":[{"statusCode":"200"},{"statusCode":"500","responseTemplates":{"text/html":"Error"},"selectionPattern":"500"}],"credentials":{"Fn::GetAtt":["testapigatewaydynamodbadditionalrequesttemplatescustomresourcenameapigatewayrole3D282506","Arn"]}},"methodResponses":[{"statusCode":"200","responseParameters":{"method.response.header.Content-Type":true}},{"statusCode":"500","responseParameters":{"method.response.header.Content-Type":true}}],"resourceId":{"Ref":"testapigatewaydynamodbadditionalrequesttemplatescustomresourcenameRestApiid4EBF99AB"},"restApiId":{"Ref":"testapigatewaydynamodbadditionalrequesttemplatescustomresourcenameRestApiC4813ABE"}}}}}}}}}},"UsagePlan":{"id":"UsagePlan","path":"apiddb-additional-request-templates-custom-resource-name/test-api-gateway-dynamodb-additional-request-templates-custom-resource-name/RestApi/UsagePlan","constructInfo":{"fqn":"aws-cdk-lib.aws_apigateway.UsagePlan","version":"2.206.0","metadata":[{"apiStages":[{"api":"*"}]}]},"children":{"Resource":{"id":"Resource","path":"apiddb-additional-request-templates-custom-resource-name/test-api-gateway-dynamodb-additional-request-templates-custom-resource-name/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":"testapigatewaydynamodbadditionalrequesttemplatescustomresourcenameRestApiC4813ABE"},"stage":{"Ref":"testapigatewaydynamodbadditionalrequesttemplatescustomresourcenameRestApiDeploymentStageprodDD2DED0B"},"throttle":{}}]}}}}}}},"LambdaRestApiCloudWatchRole":{"id":"LambdaRestApiCloudWatchRole","path":"apiddb-additional-request-templates-custom-resource-name/test-api-gateway-dynamodb-additional-request-templates-custom-resource-name/LambdaRestApiCloudWatchRole","constructInfo":{"fqn":"aws-cdk-lib.aws_iam.Role","version":"2.206.0","metadata":[{"assumedBy":{"principalAccount":"*","assumeRoleAction":"*"},"inlinePolicies":"*"}]},"children":{"ImportLambdaRestApiCloudWatchRole":{"id":"ImportLambdaRestApiCloudWatchRole","path":"apiddb-additional-request-templates-custom-resource-name/test-api-gateway-dynamodb-additional-request-templates-custom-resource-name/LambdaRestApiCloudWatchRole/ImportLambdaRestApiCloudWatchRole","constructInfo":{"fqn":"aws-cdk-lib.Resource","version":"2.206.0","metadata":["*"]}},"Resource":{"id":"Resource","path":"apiddb-additional-request-templates-custom-resource-name/test-api-gateway-dynamodb-additional-request-templates-custom-resource-name/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-additional-request-templates-custom-resource-name/test-api-gateway-dynamodb-additional-request-templates-custom-resource-name/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":["testapigatewaydynamodbadditionalrequesttemplatescustomresourcenameLambdaRestApiCloudWatchRoleA4832ADD","Arn"]}}}},"api-gateway-role":{"id":"api-gateway-role","path":"apiddb-additional-request-templates-custom-resource-name/test-api-gateway-dynamodb-additional-request-templates-custom-resource-name/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-additional-request-templates-custom-resource-name/test-api-gateway-dynamodb-additional-request-templates-custom-resource-name/api-gateway-role/Importapi-gateway-role","constructInfo":{"fqn":"aws-cdk-lib.Resource","version":"2.206.0","metadata":["*"]}},"Resource":{"id":"Resource","path":"apiddb-additional-request-templates-custom-resource-name/test-api-gateway-dynamodb-additional-request-templates-custom-resource-name/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-additional-request-templates-custom-resource-name/test-api-gateway-dynamodb-additional-request-templates-custom-resource-name/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-additional-request-templates-custom-resource-name/test-api-gateway-dynamodb-additional-request-templates-custom-resource-name/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":"testapigatewaydynamodbadditionalrequesttemplatescustomresourcenameapigatewayroleDefaultPolicyAC080A34","roles":[{"Ref":"testapigatewaydynamodbadditionalrequesttemplatescustomresourcenameapigatewayrole3D282506"}]}}}}}}}}},"Integ":{"id":"Integ","path":"apiddb-additional-request-templates-custom-resource-name/Integ","constructInfo":{"fqn":"@aws-cdk/integ-tests-alpha.IntegTest","version":"2.206.0-alpha.0"},"children":{"DefaultTest":{"id":"DefaultTest","path":"apiddb-additional-request-templates-custom-resource-name/Integ/DefaultTest","constructInfo":{"fqn":"@aws-cdk/integ-tests-alpha.IntegTestCase","version":"2.206.0-alpha.0"},"children":{"Default":{"id":"Default","path":"apiddb-additional-request-templates-custom-resource-name/Integ/DefaultTest/Default","constructInfo":{"fqn":"constructs.Construct","version":"10.4.2"}},"DeployAssert":{"id":"DeployAssert","path":"apiddb-additional-request-templates-custom-resource-name/Integ/DefaultTest/DeployAssert","constructInfo":{"fqn":"aws-cdk-lib.Stack","version":"2.206.0"},"children":{"BootstrapVersion":{"id":"BootstrapVersion","path":"apiddb-additional-request-templates-custom-resource-name/Integ/DefaultTest/DeployAssert/BootstrapVersion","constructInfo":{"fqn":"aws-cdk-lib.CfnParameter","version":"2.206.0"}},"CheckBootstrapVersion":{"id":"CheckBootstrapVersion","path":"apiddb-additional-request-templates-custom-resource-name/Integ/DefaultTest/DeployAssert/CheckBootstrapVersion","constructInfo":{"fqn":"aws-cdk-lib.CfnRule","version":"2.206.0"}}}}}}}},"BootstrapVersion":{"id":"BootstrapVersion","path":"apiddb-additional-request-templates-custom-resource-name/BootstrapVersion","constructInfo":{"fqn":"aws-cdk-lib.CfnParameter","version":"2.206.0"}},"CheckBootstrapVersion":{"id":"CheckBootstrapVersion","path":"apiddb-additional-request-templates-custom-resource-name/CheckBootstrapVersion","constructInfo":{"fqn":"aws-cdk-lib.CfnRule","version":"2.206.0"}}}},"Tree":{"id":"Tree","path":"Tree","constructInfo":{"fqn":"constructs.Construct","version":"10.4.2"}}}}}
|