Skip to content

A selection of AWS "Machine Learning" APIs deployed as lambda functions + API Gateway using the AWS CDK.

Notifications You must be signed in to change notification settings

cpvdeveloper/aws-cdk-ml-lambdas

Repository files navigation

A selection of AWS "Machine Learning" APIs deployed as Lambda functions with the AWS CDK

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.

APIs available:

  1. /translate - AWS Translate - translate text with automatic source language detection
  2. /comprehend/sentiment - AWS Comprehend - determine the sentiment of text
  3. /comprehend/detect-pii - AWS Comprehend - detect Personally Identifiable Information (PII) entities within text
  4. /comprehend/detect-entities - AWS Comprehend - detect entities within text
  5. /comprehend/detect-key-phrases - AWS Comprehend - detect key phrases within text

Useful commands:

  • npm run build compile TypeScript to JavaScript
  • cdk deploy:staging deploys a staging version of the stack to your default AWS account/region
  • cdk deploy:prod deploy a production version of the stack to your default AWS account/region

About

A selection of AWS "Machine Learning" APIs deployed as lambda functions + API Gateway using the AWS CDK.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published