Posted On: Nov 15, 2021

AWS App Runner now supports using the AWS Cloud Development Kit (AWS CDK) to build and deploy applications. AWS CDK enables you to compose your infrastructure across AWS from a single source using familiar programming languages such as Python and Node.js. With the AWS CDK integration, you can create App Runner services by defining your source code location as Amazon Elastic Container Registry (Amazon ECR) Public, Amazon ECR private, or GitHub. You can also create the required Identity and Access Management (IAM) roles using the AWS CDK for other services your application uses, such as Amazon DynamoDB and AWS Lambda.

You can use the service construct of AWS CDK with source property to define the source location. For creating and managing IAM roles you can define the instanceRole and accessRole properties in the service construct of AWS CDK. For more information on using AWS CDK for AWS App Runner, see AWS CDK documentation. To learn more about App Runner, refer to the developer guide