23 releases (breaking)

Uses new Rust 2021

0.19.0 Sep 21, 2022
0.17.0 Aug 9, 2022
0.16.0 Jul 22, 2022
0.9.0 Mar 17, 2022
0.0.0 May 7, 2021

#32 in Build Utils

Download history 804/week @ 2022-06-13 945/week @ 2022-06-20 973/week @ 2022-06-27 986/week @ 2022-07-04 1288/week @ 2022-07-11 834/week @ 2022-07-18 433/week @ 2022-07-25 1029/week @ 2022-08-01 960/week @ 2022-08-08 16/week @ 2022-08-15 41/week @ 2022-08-22 29/week @ 2022-08-29 73/week @ 2022-09-05 60/week @ 2022-09-12 30/week @ 2022-09-19 14/week @ 2022-09-26

179 downloads per month
Used in cb-project-metadata-updater


47K SLoC


Please Note: The SDK is currently in Developer Preview and is intended strictly for feedback purposes only. Do not use this SDK for production workloads.

CodeBuild is a fully managed build service in the cloud. CodeBuild compiles your source code, runs unit tests, and produces artifacts that are ready to deploy. CodeBuild eliminates the need to provision, manage, and scale your own build servers. It provides prepackaged build environments for the most popular programming languages and build tools, such as Apache Maven, Gradle, and more. You can also fully customize build environments in CodeBuild to use your own build tools. CodeBuild scales automatically to meet peak build requests. You pay only for the build time you consume. For more information about CodeBuild, see the _ CodeBuild User Guide._

Getting Started

Examples are available for many services and operations, check out the examples folder in GitHub.

The SDK provides one crate per AWS service. You must add Tokio as a dependency within your Rust project to execute asynchronous code. To add aws-sdk-codebuild to your project, add the following to your Cargo.toml file:

aws-config = "0.49.0"
aws-sdk-codebuild = "0.19.0"
tokio = { version = "1", features = ["full"] }

Then in code, a client can be created with the following:

use aws_sdk_codebuild as codebuild;

async fn main() -> Result<(), codebuild::Error> {
    let config = aws_config::load_from_env().await;
    let client = codebuild::Client::new(&config);

    // ... make some calls with the client


See the client documentation for information on what calls can be made, and the inputs and outputs for each of those calls.

Using the SDK

Until the SDK is released, we will be adding information about using the SDK to the Developer Guide. Feel free to suggest additional sections for the guide by opening an issue and describing what you are trying to do.

Getting Help


This project is licensed under the Apache-2.0 License.


~435K SLoC