Before you can deploy the self-mutating CDK pipeline to your AWS account, you need to have the correct toolchain installed locally, an AWS account with sufficient permissions, and a GitHub repository ready to serve as the pipeline source. This page walks through every requirement so you can confirm your environment is ready before running any commands.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.
Required Tools
Install each of the following tools in order. All subsequent setup steps assume these are available on yourPATH.
Node.js 14 or later
The CDK CLI and the TypeScript compilation step both require Node.js. Download and install the latest LTS release from nodejs.org. Verify your version:npm is bundled with Node.js and does not need a separate install.
AWS CLI v2
The CDK uses the AWS CLI under the hood to resolve credentials and bootstrap your account. See the AWS CLI Setup page for full installation and configuration instructions.
AWS CDK CLI v2.20.0
The project pins CDK to version
2.20.0. Install the matching CLI globally so that local synthesis and diff commands match the version used in the pipeline.TypeScript 3.9+
The project is written in TypeScript
~3.9.7. Install the TypeScript compiler globally so you can run tsc outside of the npm scripts if needed.AWS Account and IAM Permissions
You need access to an AWS account with programmatic credentials. For the initial bootstrap and first stack deployment you require broad permissions — an IAM user or role with the AdministratorAccess managed policy is the simplest starting point. After the first manualcdk deploy, all subsequent deployments are driven by the pipeline’s own execution role. You can tighten your personal IAM permissions once the pipeline is running.
GitHub Requirements
The pipeline sources code directly from GitHub using AWS CodeStar Connections. Before deploying you need:- A GitHub repository that will hold your CDK application code. The pipeline is currently configured to pull from
RaghurajSingh/SMSon theaws-pipelinebranch — you will replace this with your own repository and branch during configuration. - A CodeStar Connection approved in the AWS Console. The first time you deploy, AWS will prompt you to authorize the GitHub connection in the CodeStar Connections console under Developer Tools → Connections. The pipeline will stay in a
Pendingstate until this authorization is completed.
Once your tools are installed and your AWS credentials are configured, head to Configuration to update the account ID, region, and GitHub repository settings before deploying.