Production-ready AWS CodePipelines from TypeScript, CLI, or a single AI prompt. 124+ reusable plugins, per-org compliance enforcement, multi-tenant isolation, and zero vendor lock-in.
Ready-to-use pipeline configurations and CDK examples that demonstrate Pipeline Builder’s capabilities. Use these as starting points for your own pipelines or as reference implementations for advanced patterns.
All sample files are located in deploy/samples/.
| Related docs: Plugin Catalog | Metadata Keys | API Reference |
Language-specific CI/CD pipelines based on well-known open source repos. Each sample demonstrates idiomatic build, test, security, and packaging stages for its language.
Location: deploy/samples/pipelines/
| Sample | Language | Source Repo | Stages |
|---|---|---|---|
| react-javascript | JS/TS | facebook/react | Build, Test, Lint, Security, Publish |
| spring-boot-java | Java | spring-projects/spring-boot | Build, Test, Lint, Security |
| django-python | Python | django/django | Test, Lint, Security, Publish |
| gin-golang | Go | gin-gonic/gin | Build, Test, Lint, Security |
| axum-rust | Rust | tokio-rs/axum | Build, Test, Lint, Security, Publish |
| rails-ruby | Ruby | rails/rails | Test, Lint, Security, Publish |
| aspnetcore-dotnet | C#/.NET | dotnet/aspnetcore | Build, Test, Lint, Security, Publish |
filter (version, accessModifier, isActive, isDefault) so the resolved plugin version is explicit and reproduciblefailureBehavior: "warn" so they report findings without failing the build"pre", supplementary steps use "post"MEDIUM or LARGE via the aws:cdk:codebuild:buildenvironment:computetype metadata keySelf-contained stack classes showing PipelineBuilder usage.
Location: deploy/samples/cdk/
| Sample | Pattern |
|---|---|
| basic-pipeline-ts | Simplest usage — GitHub source, plugin filters, 4 stages |
| vpc-isolated-pipeline-ts | VPC networking with NetworkConfig and step-level overrides |
| multi-account-pipeline-ts | Cross-account with RoleConfig, CodeStar source, ManualApproval |
| monorepo-pipeline-ts | Monorepo with factory functions, pnpm workspace, per-service Docker |
| custom-iam-roles-ts | Three levels of IAM role control (pipeline, step project, step action) |
| secrets-management-ts | Secrets Manager integration with orgId-scoped resolution |
From custom-iam-roles-ts:
| Level | Config | Trust Principal |
|---|---|---|
| Pipeline | BuilderProps.role |
codepipeline.amazonaws.com |
| Step project | aws:cdk:pipelines:codebuildstep:role metadata |
codebuild.amazonaws.com |
| Step action | aws:cdk:pipelines:codebuildstep:actionrole metadata |
— |
From secrets-management-ts:
orgId on BuilderPropssecrets: [{ name: 'SECRET_NAME', required: true }]pipeline-builder/{orgId}/{secretName} in Secrets ManagerSECRETS_MANAGER-type CodeBuild env vars automaticallyLoad all sample pipelines into a running Pipeline Builder instance. By default the script uploads every sample in a single bulk request (validating each pipeline.json first), and defaults to https://localhost:8443:
cd deploy
bash bin/load-pipelines.sh
# Custom platform URL
PLATFORM_BASE_URL=https://pipeline.example.com bash bin/load-pipelines.sh
# Validate the sample files without uploading
bash bin/load-pipelines.sh --dry-run
# Upload one at a time via the single-create endpoint (legacy)
bash bin/load-pipelines.sh --single
Tip: Samples are also loaded automatically by
init-platform.shduring post-deploy setup.