Amazon S3 to AWS Lambda to Amazon Translate

S3 → Lambda → Amazon Translate → S3

Trigger a Lambda function from S3 object created to start an Amazon Translate task.

This pattern contains a sample AWS Cloud Development Kit (AWS CDK) template that deploys a Lambda Function with an S3 object created trigger to start an Amazon Translate Task and place the results in another S3 bucket.
This pattern deploys one Lambda Function and two S3 Buckets.

< Back to all patterns

GitHub icon Download this pattern (.zip)

GitHub icon View this pattern on GitHub


Clone repo

git clone https://github.com/aws-samples/serverless-patterns/cd serverless-patterns/lambda-s3-translate-cdk

Deploy

cdk deploy


Testing

See the GitHub repo for detailed testing instructions.

Cleanup

1. Delete the stack: cdk destroy.
2. Confirm the stack has been deleted: aws cloudformation list-stacks --query "StackSummaries[?contains(StackName,'STACK_NAME')].StackStatus".
3. You see a message confirming DELETE_COMPLETE.

Created by:

Kranthi Kiran A

Kranthi Kiran A

Kranthi is an Associate Cloud Developer with Amazon Web Services

Follow on LinkedIn