This AWS CDK stack deploys an API Gateway with multiple endpoints served by Lambda functions. Each Lambda function calls an "Machine Learning" AWS service such as AWS Comprehend and AWS Translate.
/translate
- AWS Translate - translate text with automatic source language detection/comprehend/sentiment
- AWS Comprehend - determine the sentiment of text/comprehend/detect-pii
- AWS Comprehend - detect Personally Identifiable Information (PII) entities within text/comprehend/detect-entities
- AWS Comprehend - detect entities within text/comprehend/detect-key-phrases
- AWS Comprehend - detect key phrases within text
npm run build
compile TypeScript to JavaScriptcdk deploy:staging
deploys a staging version of the stack to your default AWS account/regioncdk deploy:prod
deploy a production version of the stack to your default AWS account/region