Skip to main content

Documentation Index

Fetch the complete documentation index at: https://mintlify.com/okruti-raghuraj/aws-1/llms.txt

Use this file to discover all available pages before exploring further.

AWS CDK Pipeline is a TypeScript infrastructure-as-code project that provisions a fully automated, self-mutating CI/CD pipeline on AWS using the CDK Pipelines library. When you push to your GitHub repository, the pipeline automatically synths, updates itself, and deploys your application stacks — including Lambda-based serverless workloads — to your target AWS account and region.

Introduction

Understand what AWS CDK Pipeline does and how it fits into your workflow.

Quickstart

Bootstrap and deploy your first pipeline in under 15 minutes.

Pipeline Architecture

Learn how CodePipeline, CDK Pipelines, and GitHub Source work together.

Stacks & Constructs

Explore the CDK stacks and constructs that make up the project.

How it works

1

Bootstrap your AWS environment

Run cdk bootstrap in your target account and region to prepare the CDK assets bucket and execution role.
2

Configure GitHub source

Point CodePipelineSource.gitHub() to your repository and branch, then store your GitHub connection ARN in AWS.
3

Deploy the pipeline stack

Run cdk deploy once to create the pipeline. From that point on, every push to the configured branch triggers a self-mutation and re-deploy automatically.
4

Add application stages

Define cdk.Stage subclasses containing your application stacks (Lambda, ECS, etc.) and add them to the pipeline with pipeline.addStage().
This project targets AWS account 602143770054 in region ap-south-1 by default. Update the env block in bin/aws-cdk-pipeline.ts to target a different account or region before deploying.

Build docs developers (and LLMs) love