AWS Developer Tools Blog
Tag: aws-chalice
Announcing the end of support for Python 2.7 in AWS Chalice
On July 15, 2021, AWS will publish a minor version update for AWS Chalice that will require Python 3.6 or greater, formally ending our support for Python 2.7. The Python Software Foundation (PSF) has stated that “As of January 1st, 2020, no new bug reports, fixes, or changes will be made to Python 2, and […]
AWS Chalice adds support for the AWS CDK
In a previous post, we showed how you can use the AWS Cloud Development Kit (AWS CDK) and AWS Chalice to develop both infrastructure and application logic as code. To help combine the two frameworks together, a cdk-chalice construct library was used that handled the low-level communication details. In collaboration with the original developer of […]
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 […]
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 […]
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 […]
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 […]
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 […]
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 […]
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 […]
Deploying AWS Chalice application using AWS Cloud Development Kit
In this blog, we will build a simple service based on Amazon API Gateway and AWS Lambda for managing users in Amazon DynamoDB table. I will be using AWS Cloud Development Kit (AWS CDK) and AWS Chalice frameworks to develop both infrastructure and application logic as code. There is some overlap between CDK and Chalice […]