AWS Developer Blog

Category: Python

AWS Chalice now supports Amazon Kinesis and Amazon DynamoDB Streams

Version 1.21.0 of AWS Chalice, a framework for creating serverless applications in Python, adds support for two new event sources in AWS Lambda. You can now configure a Lambda function to be automatically invoked whenever a record is added to an Amazon Kinesis stream or whenever an Amazon DynamoDB table is updated. Chalice automatically handles […]

Read More

Following serverless best practices with AWS Chalice and Lambda Powertools

AWS Chalice lets you quickly create serverless applications in Python. It has a number of built-in features such as integration with AWS Lambda event sources as well as support for different deployment systems such as AWS SAM and Terraform. There are scenarios where you may want to extend the behavior of Chalice and customize how […]

Read More

Build and Deploy .Net Core WebAPI Container to Amazon EKS using CDK & cdk8s

In this blog, we will leverage the development capabilities of the CDK for Kubernetes framework also known as cdk8s along with the AWS Cloud Development Kit (AWS CDK) framework to provision infrastructure through AWS CloudFormation. cdk8s allows us to define Kubernetes apps and components using familiar languages. cdk8s is an open-source software development framework for defining Kubernetes applications and […]

Read More

Automatically deploy a Serverless REST API from GitHub with AWS Chalice

AWS Chalice lets you quickly create serverless applications in Python. When you first start using Chalice, you can use the chalice deploy command to deploy your application to AWS without any additional setup or configuration needed other than AWS credentials. As your application grows and you add additional team members to your project, you’ll want […]

Read More

Using AWS Lambda Layers with AWS Chalice

AWS Chalice is a framework for writing serverless applications in Python that provides familiar, declarative APIs to help you write your application. From the first version of this framework, we’ve provided a deployment packager that handles the details of how to package your application for AWS Lambda. This lets you specify third-party package dependencies using […]

Read More

Introducing the AWS Chalice test client

The latest release of AWS Chalice, v1.17.0, now includes a test client that enables you to write tests for your Chalice applications using a concise and simplified API. The test client handles all the boilerplate setup and teardown logic that you’d previously have to write yourself when testing your Chalice applications. This new test client […]

Read More

Configuring custom domain names with AWS Chalice

Version 1.16.0 of AWS Chalice, a framework for writing serverless applications in Python, adds support for custom domain names when creating REST and WebSocket APIs. In this post, we’ll show how to associate your own domain name with a REST API we create. When deploying REST APIs with Chalice, Amazon API Gateway automatically generates the […]

Read More

AWS Chalice Now Supports YAML Templates

Version 1.15.0 of AWS Chalice, a framework for writing serverless applications in Python, adds support for YAML when generating and merging AWS Serverless Application Model (SAM) templates. This allows you to add additional AWS resources to your Chalice application. As part of deploying a Chalice application, you can generate a SAM template that represents your […]

Read More

Orchestrating an application process with AWS Batch using AWS CDK

In many real work applications, you can use custom Docker images with AWS Batch and AWS Cloud Development Kit(CDK) to execute complex jobs efficiently. AWS CDK is an open source software development framework to model and provision your cloud application resources using familiar programming languages, including TypeScript, JavaScript, Python, C# and Java. For the solution […]

Read More

Handling arbitrary HTTP requests in Amazon API Gateway

In this post, I walk you through the steps to build a serverless web application that can accept arbitrary HTTP requests and use custom logic to return arbitrary responses. The concepts in this post are applicable to any situation where you require flexible control over the HTTP requests received and returned by an application that uses […]

Read More