CodeBuild
Projects, builds, batches, reports, webhooks, source credentials.
Quick start
import boto3
cb = boto3.client("codebuild", endpoint_url="http://localhost:4566",
region_name="us-east-1",
aws_access_key_id="test", aws_secret_access_key="test")
cb.create_project(name="demo",
source={"type":"NO_SOURCE"},
artifacts={"type":"NO_ARTIFACTS"},
environment={"type":"LINUX_CONTAINER",
"image":"aws/codebuild/amazonlinux2-x86_64-standard:5.0",
"computeType":"BUILD_GENERAL1_SMALL"},
serviceRole="arn:aws:iam::000000000000:role/r")
Supported operations
11 operations exposed by this service as of MiniStack 1.3.14. Extracted directly from the handler dispatch in the source module.
BatchDeleteBuilds
BatchGetBuilds
BatchGetProjects
CreateProject
DeleteProject
ListBuilds
ListBuildsForProject
ListProjects
StartBuild
StopBuild
UpdateProject
CloudFormation
The CloudFormation engine provisions these resource types via this service:
AWS::CodeBuild::Project
See CloudFormation engine for intrinsic support and lifecycle details.
Known limitations
- No actual build is executed — StartBuild returns a build record that transitions through states.
- The log group is created but never populated.
Source
ministack/services/codebuild.py:128-188
Read the source to verify the ops list above — dispatch tables and handler functions are the ground truth.