@aws-solutions-constructs/aws-lambda-dynamodb 2.98.0 → 2.100.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 +36 -9
- package/README.adoc +1 -1
- package/lib/index.js +1 -1
- package/package.json +6 -7
- package/test/integ.lamddb-add-secondary-index.js +2 -2
- package/test/integ.lamddb-add-secondary-index.js.snapshot/cdk.out +1 -1
- package/test/integ.lamddb-add-secondary-index.js.snapshot/integ.json +2 -2
- package/test/integ.lamddb-add-secondary-index.js.snapshot/lamddb-add-secondary-index.assets.json +4 -18
- package/test/integ.lamddb-add-secondary-index.js.snapshot/lamddb-add-secondary-index.template.json +1 -4
- package/test/integ.lamddb-add-secondary-index.js.snapshot/lamddbaddsecondaryindexIntegDefaultTestDeployAssert3193B4D9.assets.json +1 -1
- package/test/integ.lamddb-add-secondary-index.js.snapshot/manifest.json +38 -18
- package/test/integ.lamddb-add-secondary-index.js.snapshot/tree.json +1 -1
- package/test/integ.lamddb-deployFunctionWithExistingVpc.js +2 -2
- package/test/integ.lamddb-deployFunctionWithExistingVpc.js.snapshot/cdk.out +1 -1
- package/test/integ.lamddb-deployFunctionWithExistingVpc.js.snapshot/integ.json +2 -2
- package/test/integ.lamddb-deployFunctionWithExistingVpc.js.snapshot/lamddb-deployFunctionWithExistingVpc.assets.json +4 -18
- package/test/integ.lamddb-deployFunctionWithExistingVpc.js.snapshot/lamddb-deployFunctionWithExistingVpc.template.json +1 -4
- package/test/integ.lamddb-deployFunctionWithExistingVpc.js.snapshot/lamddbdeployFunctionWithExistingVpcIntegDefaultTestDeployAssertEE08E38E.assets.json +1 -1
- package/test/integ.lamddb-deployFunctionWithExistingVpc.js.snapshot/manifest.json +38 -24
- package/test/integ.lamddb-deployFunctionWithExistingVpc.js.snapshot/tree.json +1 -1
- package/test/integ.lamddb-deployFunctionWithVpc.js +2 -2
- package/test/integ.lamddb-deployFunctionWithVpc.js.snapshot/cdk.out +1 -1
- package/test/integ.lamddb-deployFunctionWithVpc.js.snapshot/integ.json +2 -2
- package/test/integ.lamddb-deployFunctionWithVpc.js.snapshot/lamddb-deployFunctionWithVpc.assets.json +4 -18
- package/test/integ.lamddb-deployFunctionWithVpc.js.snapshot/lamddb-deployFunctionWithVpc.template.json +1 -4
- package/test/integ.lamddb-deployFunctionWithVpc.js.snapshot/lamddbdeployFunctionWithVpcIntegDefaultTestDeployAssert0AB8275C.assets.json +1 -1
- package/test/integ.lamddb-deployFunctionWithVpc.js.snapshot/manifest.json +38 -24
- package/test/integ.lamddb-deployFunctionWithVpc.js.snapshot/tree.json +1 -1
- package/test/integ.lamddb-no-arguments.js +2 -2
- package/test/integ.lamddb-no-arguments.js.snapshot/cdk.out +1 -1
- package/test/integ.lamddb-no-arguments.js.snapshot/integ.json +2 -2
- package/test/integ.lamddb-no-arguments.js.snapshot/lamddb-no-arguments.assets.json +4 -18
- package/test/integ.lamddb-no-arguments.js.snapshot/lamddb-no-arguments.template.json +1 -4
- package/test/integ.lamddb-no-arguments.js.snapshot/lamddbnoargumentsIntegDefaultTestDeployAssert248B75D0.assets.json +1 -1
- package/test/integ.lamddb-no-arguments.js.snapshot/manifest.json +38 -18
- package/test/integ.lamddb-no-arguments.js.snapshot/tree.json +1 -1
- package/test/integ.lamddb-point-in-time-recovery.js +2 -2
- package/test/integ.lamddb-point-in-time-recovery.js.snapshot/cdk.out +1 -1
- package/test/integ.lamddb-point-in-time-recovery.js.snapshot/integ.json +2 -2
- package/test/integ.lamddb-point-in-time-recovery.js.snapshot/lamddb-point-in-time-recovery.assets.json +4 -18
- package/test/integ.lamddb-point-in-time-recovery.js.snapshot/lamddb-point-in-time-recovery.template.json +1 -4
- package/test/integ.lamddb-point-in-time-recovery.js.snapshot/lamddbpointintimerecoveryIntegDefaultTestDeployAssertB0CCD339.assets.json +1 -1
- package/test/integ.lamddb-point-in-time-recovery.js.snapshot/manifest.json +38 -18
- package/test/integ.lamddb-point-in-time-recovery.js.snapshot/tree.json +1 -1
- package/test/integ.lamddb-set-billing-mode.js +2 -2
- package/test/integ.lamddb-set-billing-mode.js.snapshot/cdk.out +1 -1
- package/test/integ.lamddb-set-billing-mode.js.snapshot/integ.json +2 -2
- package/test/integ.lamddb-set-billing-mode.js.snapshot/lamddb-set-billing-mode.assets.json +4 -18
- package/test/integ.lamddb-set-billing-mode.js.snapshot/lamddb-set-billing-mode.template.json +1 -4
- package/test/integ.lamddb-set-billing-mode.js.snapshot/lamddbsetbillingmodeIntegDefaultTestDeployAssertDAE32272.assets.json +1 -1
- package/test/integ.lamddb-set-billing-mode.js.snapshot/manifest.json +38 -18
- package/test/integ.lamddb-set-billing-mode.js.snapshot/tree.json +1 -1
- package/test/integ.lamddb-use-existing-func.js +2 -2
- package/test/integ.lamddb-use-existing-func.js.snapshot/cdk.out +1 -1
- package/test/integ.lamddb-use-existing-func.js.snapshot/integ.json +2 -2
- package/test/integ.lamddb-use-existing-func.js.snapshot/lamddb-use-existing-func.assets.json +4 -18
- package/test/integ.lamddb-use-existing-func.js.snapshot/lamddb-use-existing-func.template.json +1 -4
- package/test/integ.lamddb-use-existing-func.js.snapshot/lamddbuseexistingfuncIntegDefaultTestDeployAssert48D284DD.assets.json +1 -1
- package/test/integ.lamddb-use-existing-func.js.snapshot/manifest.json +38 -18
- package/test/integ.lamddb-use-existing-func.js.snapshot/tree.json +1 -1
- package/test/lambda-dynamodb.test.js +6 -6
- package/test/integ.lamddb-add-secondary-index.js.snapshot/asset.a0c6248ec595d3ceec1177aa5ac5b494fdf4c66f1b88aa48086befd44f193d8c/index.js +0 -21
- package/test/integ.lamddb-deployFunctionWithExistingVpc.js.snapshot/asset.a0c6248ec595d3ceec1177aa5ac5b494fdf4c66f1b88aa48086befd44f193d8c/index.js +0 -21
- package/test/integ.lamddb-deployFunctionWithVpc.js.snapshot/asset.a0c6248ec595d3ceec1177aa5ac5b494fdf4c66f1b88aa48086befd44f193d8c/index.js +0 -21
- package/test/integ.lamddb-no-arguments.js.snapshot/asset.a0c6248ec595d3ceec1177aa5ac5b494fdf4c66f1b88aa48086befd44f193d8c/index.js +0 -21
- package/test/integ.lamddb-point-in-time-recovery.js.snapshot/asset.a0c6248ec595d3ceec1177aa5ac5b494fdf4c66f1b88aa48086befd44f193d8c/index.js +0 -21
- package/test/integ.lamddb-set-billing-mode.js.snapshot/asset.a0c6248ec595d3ceec1177aa5ac5b494fdf4c66f1b88aa48086befd44f193d8c/index.js +0 -21
- package/test/integ.lamddb-use-existing-func.js.snapshot/asset.a0c6248ec595d3ceec1177aa5ac5b494fdf4c66f1b88aa48086befd44f193d8c/index.js +0 -21
|
@@ -1,21 +0,0 @@
|
|
|
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
|
-
|
|
14
|
-
exports.handler = async function(event) {
|
|
15
|
-
console.log('request:', JSON.stringify(event, undefined, 2));
|
|
16
|
-
return {
|
|
17
|
-
statusCode: 200,
|
|
18
|
-
headers: { 'Content-Type': 'text/plain' },
|
|
19
|
-
body: `Hello, CDK! You've hit ${event.path}\n`
|
|
20
|
-
};
|
|
21
|
-
};
|