AWS Lambda function that reads data (.csv file) from a configured S3 bucket and stores into Dynamodb table. Infrastructure provisioning is setup using AWS CDK.
- npm
- aws cli
- aws cdk
- sam cli (Optional)
- Docker Desktop
- 
Install dependencies from root directory from the location of package.jsonnpm i 
- 
Change current directory to file-processor-infra.Build the project using AWS CDK CLI. This will create the AWS cloud formation template infile-processor-infra/cdk.outfoldercdk synth
- 
Deploy the stack using AWS CDK. cdk deploy 
- 
Once the above command is successful, copy the test .csvfile to the bucket by running below command. Thetestdata.csvis located atfile-processor-app/test/testdata.csvaws s3 cp testdata.csv s3://csv-input-data-bucket/testdata.csv