This AWS Solution has been archived and is no longer maintained by AWS. To discover other solutions, please visit the AWS Solutions Library.
The Tamper Proof Quality Data Using Amazon QLDB is a solution that demonstrates how to inhibit customers from tampering with important data such as product quality data in manufuctuaring companies leveraging blockchain technology.
Please refer to Implementation Guide for the detail of this solution.
The solution is deployed using a CloudFormation template or CDK project. For details on deploying the solution please see the details on the solution home page: Tamper Proof Quality Data Using Amazon QLDB
├── deployment
│ └── cdk-solution-helper [Lightweight helper that cleans-up synthesized templates from the CDK]
└── source
├── bin [Entrypoint of the CDK application]
├── img [Images used in the documents]
├── lambda [Code for the Lambda functions]
│ ├── helper [Utility code for each Lambda function]
│ ├── lib [Common utility code]
│ └── test [Unit tests for Lambda functions]
├── lib [Constructs and stacks for the components of the solution]
└── test [Unit tests for CDK code]
You can run unit tests for both CDK and Lambda code by the following commands:
cd source
npm ci
sh ./run-all-tests.sh
This project uses AWS Cloud Development Kit to build and deploy AWS resources. Please setup and bootstrap CDK first. The document is here.
After setting up CDK, run the commands below:
cd source
npm ci
npx cdk synth
As shown in the architecture diagram, there're three input ways in this solution.
- Amazon API Gateway
- Amazon S3
- AWS IoT core
Please refer to Implementation Guide for the detailed usage of these inputs.
Copyright 2020-2021 Amazon.com, Inc. or its affiliates. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.removed api and email