AWS Code Sample

Use Case Index

The following is a list of links to some of the samples in the AWS Code Sample Catalog, organized by use case area. For more information, see AWS Code Sample Catalog.


This is a preview of the index. It does not include entries for all available samples. We invite your feedback to help make this index more useful to you over time. To give us your feedback, choose the Feedback button on this page, and then follow the on-screen instructions.



  • Basic serverless function (AWS Lambda) (C++, Go, JavaScript, Ruby)

  • Serverless function with a REST interface (Lambda, Amazon API Gateway, AWS Identity and Access Management) (Python)

  • Serverless function with a WebSocket interface (Lambda, API Gateway, Amazon DynamoDB, IAM) (Python)

  • Serverless function executed on a time schedule (Lambda, IAM) (Python)


  • Create a NoSQL database table (DynamoDB) (C++)

  • Create a data warehouse cluster (Amazon Redshift) (C++)

Networking and Content Delivery

  • Serverless WebSocket chat application (Lambda, API Gateway, Amazon DynamoDB, IAM) (Python)

Security, Identity, and Compliance

  • Attach a policy to a user role (IAM) (Python)

  • Encrypt/decrypt a file using envelope encryption (AWS Key Management Service) (Python)


On this page: