Select your cookie preferences

We use essential cookies and similar tools that are necessary to provide our site and services. We use performance cookies to collect anonymous statistics, so we can understand how customers use our site and make improvements. Essential cookies cannot be deactivated, but you can choose “Customize” or “Decline” to decline performance cookies.

If you agree, AWS and approved third parties will also use cookies to provide useful site features, remember your preferences, and display relevant content, including relevant advertising. To accept or decline all non-essential cookies, choose “Accept” or “Decline.” To make more detailed choices, choose “Customize.”

Command line reference for AWS CodeBuild

Focus mode
Command line reference for AWS CodeBuild - AWS CodeBuild

The AWS CLI provides commands for automating AWS CodeBuild. Use the information in this topic as a supplement to the AWS Command Line Interface User Guide and the AWS CLI Reference for AWS CodeBuild.

Not what you're looking for? If you want to use the AWS SDKs to call CodeBuild, see the AWS SDKs and tools reference.

To use the information in this topic, you should have already installed the AWS CLI and configured it for use with CodeBuild, as described in Interact with CodeBuild using the AWS CLI.

To use the AWS CLI to specify the endpoint for CodeBuild, see Specify the AWS CodeBuild endpoint (AWS CLI).

Run this command to get a list of CodeBuild commands.

aws codebuild help

Run this command to get information about a CodeBuild command, where command-name is the name of the command.

aws codebuild command-name help

CodeBuild commands include:

PrivacySite termsCookie preferences
© 2025, Amazon Web Services, Inc. or its affiliates. All rights reserved.