@aws-solutions-constructs/aws-apigateway-dynamodb 2.30.0 → 2.31.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.
@@ -0,0 +1,418 @@
1
+ {
2
+ "Description": "Integration Test for aws-apigateway-dynamodb",
3
+ "Resources": {
4
+ "existingtableE51CCC93": {
5
+ "Type": "AWS::DynamoDB::Table",
6
+ "Properties": {
7
+ "KeySchema": [
8
+ {
9
+ "AttributeName": "id",
10
+ "KeyType": "HASH"
11
+ }
12
+ ],
13
+ "AttributeDefinitions": [
14
+ {
15
+ "AttributeName": "id",
16
+ "AttributeType": "S"
17
+ }
18
+ ],
19
+ "BillingMode": "PAY_PER_REQUEST",
20
+ "PointInTimeRecoverySpecification": {
21
+ "PointInTimeRecoveryEnabled": true
22
+ },
23
+ "SSESpecification": {
24
+ "SSEEnabled": true
25
+ }
26
+ },
27
+ "UpdateReplacePolicy": "Retain",
28
+ "DeletionPolicy": "Retain"
29
+ },
30
+ "testapigatewaydynamodbadditionalrequesttemplatesApiAccessLogGroupAF75D750": {
31
+ "Type": "AWS::Logs::LogGroup",
32
+ "UpdateReplacePolicy": "Retain",
33
+ "DeletionPolicy": "Retain",
34
+ "Metadata": {
35
+ "cfn_nag": {
36
+ "rules_to_suppress": [
37
+ {
38
+ "id": "W86",
39
+ "reason": "Retention period for CloudWatchLogs LogGroups are set to 'Never Expire' to preserve customer data indefinitely"
40
+ },
41
+ {
42
+ "id": "W84",
43
+ "reason": "By default CloudWatchLogs LogGroups data is encrypted using the CloudWatch server-side encryption keys (AWS Managed Keys)"
44
+ }
45
+ ]
46
+ }
47
+ }
48
+ },
49
+ "testapigatewaydynamodbadditionalrequesttemplatesRestApi03F6484C": {
50
+ "Type": "AWS::ApiGateway::RestApi",
51
+ "Properties": {
52
+ "EndpointConfiguration": {
53
+ "Types": [
54
+ "EDGE"
55
+ ]
56
+ },
57
+ "Name": "RestApi"
58
+ }
59
+ },
60
+ "testapigatewaydynamodbadditionalrequesttemplatesRestApiDeployment0AE7C47741477f52c0bb6da128d2999e75c543fc": {
61
+ "Type": "AWS::ApiGateway::Deployment",
62
+ "Properties": {
63
+ "RestApiId": {
64
+ "Ref": "testapigatewaydynamodbadditionalrequesttemplatesRestApi03F6484C"
65
+ },
66
+ "Description": "Automatically created by the RestApi construct"
67
+ },
68
+ "DependsOn": [
69
+ "testapigatewaydynamodbadditionalrequesttemplatesRestApiidGET05129D15",
70
+ "testapigatewaydynamodbadditionalrequesttemplatesRestApiidA77CCE90"
71
+ ],
72
+ "Metadata": {
73
+ "cfn_nag": {
74
+ "rules_to_suppress": [
75
+ {
76
+ "id": "W45",
77
+ "reason": "ApiGateway has AccessLogging enabled in AWS::ApiGateway::Stage resource, but cfn_nag checkes for it in AWS::ApiGateway::Deployment resource"
78
+ }
79
+ ]
80
+ }
81
+ }
82
+ },
83
+ "testapigatewaydynamodbadditionalrequesttemplatesRestApiDeploymentStageprod33ED5D23": {
84
+ "Type": "AWS::ApiGateway::Stage",
85
+ "Properties": {
86
+ "RestApiId": {
87
+ "Ref": "testapigatewaydynamodbadditionalrequesttemplatesRestApi03F6484C"
88
+ },
89
+ "AccessLogSetting": {
90
+ "DestinationArn": {
91
+ "Fn::GetAtt": [
92
+ "testapigatewaydynamodbadditionalrequesttemplatesApiAccessLogGroupAF75D750",
93
+ "Arn"
94
+ ]
95
+ },
96
+ "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\"}"
97
+ },
98
+ "DeploymentId": {
99
+ "Ref": "testapigatewaydynamodbadditionalrequesttemplatesRestApiDeployment0AE7C47741477f52c0bb6da128d2999e75c543fc"
100
+ },
101
+ "MethodSettings": [
102
+ {
103
+ "DataTraceEnabled": false,
104
+ "HttpMethod": "*",
105
+ "LoggingLevel": "INFO",
106
+ "ResourcePath": "/*"
107
+ }
108
+ ],
109
+ "StageName": "prod",
110
+ "TracingEnabled": true
111
+ }
112
+ },
113
+ "testapigatewaydynamodbadditionalrequesttemplatesRestApiidA77CCE90": {
114
+ "Type": "AWS::ApiGateway::Resource",
115
+ "Properties": {
116
+ "ParentId": {
117
+ "Fn::GetAtt": [
118
+ "testapigatewaydynamodbadditionalrequesttemplatesRestApi03F6484C",
119
+ "RootResourceId"
120
+ ]
121
+ },
122
+ "PathPart": "{id}",
123
+ "RestApiId": {
124
+ "Ref": "testapigatewaydynamodbadditionalrequesttemplatesRestApi03F6484C"
125
+ }
126
+ }
127
+ },
128
+ "testapigatewaydynamodbadditionalrequesttemplatesRestApiidGET05129D15": {
129
+ "Type": "AWS::ApiGateway::Method",
130
+ "Properties": {
131
+ "HttpMethod": "GET",
132
+ "ResourceId": {
133
+ "Ref": "testapigatewaydynamodbadditionalrequesttemplatesRestApiidA77CCE90"
134
+ },
135
+ "RestApiId": {
136
+ "Ref": "testapigatewaydynamodbadditionalrequesttemplatesRestApi03F6484C"
137
+ },
138
+ "AuthorizationType": "AWS_IAM",
139
+ "Integration": {
140
+ "Credentials": {
141
+ "Fn::GetAtt": [
142
+ "testapigatewaydynamodbadditionalrequesttemplatesapigatewayroleFDAECAC6",
143
+ "Arn"
144
+ ]
145
+ },
146
+ "IntegrationHttpMethod": "POST",
147
+ "IntegrationResponses": [
148
+ {
149
+ "StatusCode": "200"
150
+ },
151
+ {
152
+ "ResponseTemplates": {
153
+ "text/html": "Error"
154
+ },
155
+ "SelectionPattern": "500",
156
+ "StatusCode": "500"
157
+ }
158
+ ],
159
+ "PassthroughBehavior": "NEVER",
160
+ "RequestParameters": {
161
+ "integration.request.header.Content-Type": "'application/json'"
162
+ },
163
+ "RequestTemplates": {
164
+ "application/json": {
165
+ "Fn::Join": [
166
+ "",
167
+ [
168
+ "{ \"TableName\": \"",
169
+ {
170
+ "Ref": "existingtableE51CCC93"
171
+ },
172
+ "\", \"KeyConditionExpression\": \"id = :v1\", \"ExpressionAttributeValues\": { \":v1\": { \"S\": \"$input.params('id')\" } } }"
173
+ ]
174
+ ]
175
+ },
176
+ "text/plain": {
177
+ "Fn::Join": [
178
+ "",
179
+ [
180
+ "{ \"TableName\": \"",
181
+ {
182
+ "Ref": "existingtableE51CCC93"
183
+ },
184
+ "\", \"KeyConditionExpression\": \"id = :v1\", \"ExpressionAttributeValues\": { \":v1\": { \"S\": \"$input.params('id')\" } } }"
185
+ ]
186
+ ]
187
+ }
188
+ },
189
+ "Type": "AWS",
190
+ "Uri": {
191
+ "Fn::Join": [
192
+ "",
193
+ [
194
+ "arn:",
195
+ {
196
+ "Ref": "AWS::Partition"
197
+ },
198
+ ":apigateway:",
199
+ {
200
+ "Ref": "AWS::Region"
201
+ },
202
+ ":dynamodb:action/Query"
203
+ ]
204
+ ]
205
+ }
206
+ },
207
+ "MethodResponses": [
208
+ {
209
+ "ResponseParameters": {
210
+ "method.response.header.Content-Type": true
211
+ },
212
+ "StatusCode": "200"
213
+ },
214
+ {
215
+ "ResponseParameters": {
216
+ "method.response.header.Content-Type": true
217
+ },
218
+ "StatusCode": "500"
219
+ }
220
+ ]
221
+ }
222
+ },
223
+ "testapigatewaydynamodbadditionalrequesttemplatesRestApiUsagePlan905D10C7": {
224
+ "Type": "AWS::ApiGateway::UsagePlan",
225
+ "Properties": {
226
+ "ApiStages": [
227
+ {
228
+ "ApiId": {
229
+ "Ref": "testapigatewaydynamodbadditionalrequesttemplatesRestApi03F6484C"
230
+ },
231
+ "Stage": {
232
+ "Ref": "testapigatewaydynamodbadditionalrequesttemplatesRestApiDeploymentStageprod33ED5D23"
233
+ },
234
+ "Throttle": {}
235
+ }
236
+ ]
237
+ }
238
+ },
239
+ "testapigatewaydynamodbadditionalrequesttemplatesLambdaRestApiCloudWatchRole51265771": {
240
+ "Type": "AWS::IAM::Role",
241
+ "Properties": {
242
+ "AssumeRolePolicyDocument": {
243
+ "Statement": [
244
+ {
245
+ "Action": "sts:AssumeRole",
246
+ "Effect": "Allow",
247
+ "Principal": {
248
+ "Service": "apigateway.amazonaws.com"
249
+ }
250
+ }
251
+ ],
252
+ "Version": "2012-10-17"
253
+ },
254
+ "Policies": [
255
+ {
256
+ "PolicyDocument": {
257
+ "Statement": [
258
+ {
259
+ "Action": [
260
+ "logs:CreateLogGroup",
261
+ "logs:CreateLogStream",
262
+ "logs:DescribeLogGroups",
263
+ "logs:DescribeLogStreams",
264
+ "logs:PutLogEvents",
265
+ "logs:GetLogEvents",
266
+ "logs:FilterLogEvents"
267
+ ],
268
+ "Effect": "Allow",
269
+ "Resource": {
270
+ "Fn::Join": [
271
+ "",
272
+ [
273
+ "arn:",
274
+ {
275
+ "Ref": "AWS::Partition"
276
+ },
277
+ ":logs:",
278
+ {
279
+ "Ref": "AWS::Region"
280
+ },
281
+ ":",
282
+ {
283
+ "Ref": "AWS::AccountId"
284
+ },
285
+ ":*"
286
+ ]
287
+ ]
288
+ }
289
+ }
290
+ ],
291
+ "Version": "2012-10-17"
292
+ },
293
+ "PolicyName": "LambdaRestApiCloudWatchRolePolicy"
294
+ }
295
+ ]
296
+ }
297
+ },
298
+ "testapigatewaydynamodbadditionalrequesttemplatesLambdaRestApiAccount8891474D": {
299
+ "Type": "AWS::ApiGateway::Account",
300
+ "Properties": {
301
+ "CloudWatchRoleArn": {
302
+ "Fn::GetAtt": [
303
+ "testapigatewaydynamodbadditionalrequesttemplatesLambdaRestApiCloudWatchRole51265771",
304
+ "Arn"
305
+ ]
306
+ }
307
+ },
308
+ "DependsOn": [
309
+ "testapigatewaydynamodbadditionalrequesttemplatesRestApi03F6484C"
310
+ ]
311
+ },
312
+ "testapigatewaydynamodbadditionalrequesttemplatesapigatewayroleFDAECAC6": {
313
+ "Type": "AWS::IAM::Role",
314
+ "Properties": {
315
+ "AssumeRolePolicyDocument": {
316
+ "Statement": [
317
+ {
318
+ "Action": "sts:AssumeRole",
319
+ "Effect": "Allow",
320
+ "Principal": {
321
+ "Service": "apigateway.amazonaws.com"
322
+ }
323
+ }
324
+ ],
325
+ "Version": "2012-10-17"
326
+ }
327
+ }
328
+ },
329
+ "testapigatewaydynamodbadditionalrequesttemplatesapigatewayroleDefaultPolicy4C47B35E": {
330
+ "Type": "AWS::IAM::Policy",
331
+ "Properties": {
332
+ "PolicyDocument": {
333
+ "Statement": [
334
+ {
335
+ "Action": "dynamodb:Query",
336
+ "Effect": "Allow",
337
+ "Resource": {
338
+ "Fn::GetAtt": [
339
+ "existingtableE51CCC93",
340
+ "Arn"
341
+ ]
342
+ }
343
+ }
344
+ ],
345
+ "Version": "2012-10-17"
346
+ },
347
+ "PolicyName": "testapigatewaydynamodbadditionalrequesttemplatesapigatewayroleDefaultPolicy4C47B35E",
348
+ "Roles": [
349
+ {
350
+ "Ref": "testapigatewaydynamodbadditionalrequesttemplatesapigatewayroleFDAECAC6"
351
+ }
352
+ ]
353
+ }
354
+ }
355
+ },
356
+ "Outputs": {
357
+ "testapigatewaydynamodbadditionalrequesttemplatesRestApiEndpoint855E7762": {
358
+ "Value": {
359
+ "Fn::Join": [
360
+ "",
361
+ [
362
+ "https://",
363
+ {
364
+ "Ref": "testapigatewaydynamodbadditionalrequesttemplatesRestApi03F6484C"
365
+ },
366
+ ".execute-api.",
367
+ {
368
+ "Ref": "AWS::Region"
369
+ },
370
+ ".",
371
+ {
372
+ "Ref": "AWS::URLSuffix"
373
+ },
374
+ "/",
375
+ {
376
+ "Ref": "testapigatewaydynamodbadditionalrequesttemplatesRestApiDeploymentStageprod33ED5D23"
377
+ },
378
+ "/"
379
+ ]
380
+ ]
381
+ }
382
+ }
383
+ },
384
+ "Parameters": {
385
+ "BootstrapVersion": {
386
+ "Type": "AWS::SSM::Parameter::Value<String>",
387
+ "Default": "/cdk-bootstrap/hnb659fds/version",
388
+ "Description": "Version of the CDK Bootstrap resources in this environment, automatically retrieved from SSM Parameter Store. [cdk:skip]"
389
+ }
390
+ },
391
+ "Rules": {
392
+ "CheckBootstrapVersion": {
393
+ "Assertions": [
394
+ {
395
+ "Assert": {
396
+ "Fn::Not": [
397
+ {
398
+ "Fn::Contains": [
399
+ [
400
+ "1",
401
+ "2",
402
+ "3",
403
+ "4",
404
+ "5"
405
+ ],
406
+ {
407
+ "Ref": "BootstrapVersion"
408
+ }
409
+ ]
410
+ }
411
+ ]
412
+ },
413
+ "AssertDescription": "CDK bootstrap stack version 6 required. Please run 'cdk bootstrap' with a recent version of the CDK CLI."
414
+ }
415
+ ]
416
+ }
417
+ }
418
+ }
@@ -0,0 +1,50 @@
1
+ "use strict";
2
+ /**
3
+ * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
4
+ *
5
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance
6
+ * with the License. A copy of the License is located at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * or in the 'license' file accompanying this file. This file is distributed on an 'AS IS' BASIS, WITHOUT WARRANTIES
11
+ * OR CONDITIONS OF ANY KIND, express or implied. See the License for the specific language governing permissions
12
+ * and limitations under the License.
13
+ */
14
+ Object.defineProperty(exports, "__esModule", { value: true });
15
+ // Imports
16
+ const aws_cdk_lib_1 = require("aws-cdk-lib");
17
+ const lib_1 = require("../lib");
18
+ const core_1 = require("@aws-solutions-constructs/core");
19
+ const dynamodb = require("aws-cdk-lib/aws-dynamodb");
20
+ // Setup
21
+ const app = new aws_cdk_lib_1.App();
22
+ const stack = new aws_cdk_lib_1.Stack(app, core_1.generateIntegStackName(__filename));
23
+ stack.templateOptions.description = 'Integration Test for aws-apigateway-dynamodb';
24
+ const partitionKeyName = 'id';
25
+ const existingTableObj = new dynamodb.Table(stack, 'existing-table', {
26
+ partitionKey: {
27
+ name: partitionKeyName,
28
+ type: dynamodb.AttributeType.STRING,
29
+ },
30
+ pointInTimeRecovery: true,
31
+ encryption: dynamodb.TableEncryption.AWS_MANAGED,
32
+ billingMode: dynamodb.BillingMode.PAY_PER_REQUEST
33
+ });
34
+ new lib_1.ApiGatewayToDynamoDB(stack, 'test-api-gateway-dynamodb-additional-request-templates', {
35
+ existingTableObj,
36
+ additionalReadRequestTemplates: {
37
+ 'text/plain': `{ \
38
+ "TableName": "${existingTableObj.tableName}", \
39
+ "KeyConditionExpression": "${partitionKeyName} = :v1", \
40
+ "ExpressionAttributeValues": { \
41
+ ":v1": { \
42
+ "S": "$input.params('${partitionKeyName}')" \
43
+ } \
44
+ } \
45
+ }`
46
+ }
47
+ });
48
+ // Synth
49
+ app.synth();
50
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW50ZWcuYWRkaXRpb25hbC1yZXF1ZXN0LXRlbXBsYXRlcy5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbImludGVnLmFkZGl0aW9uYWwtcmVxdWVzdC10ZW1wbGF0ZXMudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IjtBQUFBOzs7Ozs7Ozs7OztHQVdHOztBQUVILFVBQVU7QUFDViw2Q0FBeUM7QUFDekMsZ0NBQThDO0FBQzlDLHlEQUF3RTtBQUN4RSxxREFBcUQ7QUFFckQsUUFBUTtBQUNSLE1BQU0sR0FBRyxHQUFHLElBQUksaUJBQUcsRUFBRSxDQUFDO0FBQ3RCLE1BQU0sS0FBSyxHQUFHLElBQUksbUJBQUssQ0FBQyxHQUFHLEVBQUUsNkJBQXNCLENBQUMsVUFBVSxDQUFDLENBQUMsQ0FBQztBQUNqRSxLQUFLLENBQUMsZUFBZSxDQUFDLFdBQVcsR0FBRyw4Q0FBOEMsQ0FBQztBQUVuRixNQUFNLGdCQUFnQixHQUFHLElBQUksQ0FBQztBQUU5QixNQUFNLGdCQUFnQixHQUFHLElBQUksUUFBUSxDQUFDLEtBQUssQ0FBQyxLQUFLLEVBQUUsZ0JBQWdCLEVBQUU7SUFDbkUsWUFBWSxFQUFFO1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ZTogcGFydGl0aW9uS2V5TmFtZSxcbiAgICB0eXBlOiBkeW5hbW9kYi5BdHRyaWJ1dGVUeXBlLlNUUklORyxcbiAgfSxcbiAgcG9pbnRJblRpbWVSZWNvdmVyeTogdHJ1ZSxcbiAgZW5jcnlwdGlvbjogZHluYW1vZGIuVGFibGVFbmNyeXB0aW9uLkFXU19NQU5BR0VELFxuICBiaWxsaW5nTW9kZTogZHluYW1vZGIuQmlsbGluZ01vZGUuUEFZX1BFUl9SRVFVRVNUXG59KTtcblxubmV3IEFwaUdhdGV3YXlUb0R5bmFtb0RCKHN0YWNrLCAndGVzdC1hcGktZ2F0ZXdheS1keW5hbW9kYi1hZGRpdGlvbmFsLXJlcXVlc3QtdGVtcGxhdGVzJywge1xuICBleGlzdGluZ1RhYmxlT2JqLFxuICBhZGRpdGlvbmFsUmVhZFJlcXVlc3RUZW1wbGF0ZXM6IHtcbiAgICAndGV4dC9wbGFpbic6IGB7IFxcXG4gICAgICBcIlRhYmxlTmFtZVwiOiBcIiR7ZXhpc3RpbmdUYWJsZU9iai50YWJsZU5hbWV9XCIsIFxcXG4gICAgICBcIktleUNvbmRpdGlvbkV4cHJlc3Npb25cIjogXCIke3BhcnRpdGlvbktleU5hbWV9ID0gOnYxXCIsIFxcXG4gICAgICBcIkV4cHJlc3Npb25BdHRyaWJ1dGVWYWx1ZXNcIjogeyBcXFxuICAgICAgICBcIjp2MVwiOiB7IFxcXG4gICAgICAgICAgXCJTXCI6IFwiJGlucHV0LnBhcmFtcygnJHtwYXJ0aXRpb25LZXlOYW1lfScpXCIgXFxcbiAgICAgICAgfSBcXFxuICAgICAgfSBcXFxuICAgIH1gXG4gIH1cbn0pO1xuXG4vLyBTeW50aFxuYXBwLnN5bnRoKCk7Il19
@@ -0,0 +1,13 @@
1
+ /**
2
+ * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance
5
+ * with the License. A copy of the License is located at
6
+ *
7
+ * http://www.apache.org/licenses/LICENSE-2.0
8
+ *
9
+ * or in the 'license' file accompanying this file. This file is distributed on an 'AS IS' BASIS, WITHOUT WARRANTIES
10
+ * OR CONDITIONS OF ANY KIND, express or implied. See the License for the specific language governing permissions
11
+ * and limitations under the License.
12
+ */
13
+ export {};