47 releases (3 stable)

new 1.3.0 Nov 27, 2023
0.39.0 Nov 20, 2023
0.28.0 May 24, 2023
0.25.0 Mar 30, 2023
0.0.0 May 8, 2021

#15 in #aws

Download history 5714/week @ 2023-08-08 4449/week @ 2023-08-15 5125/week @ 2023-08-22 4971/week @ 2023-08-29 4830/week @ 2023-09-05 4789/week @ 2023-09-12 6067/week @ 2023-09-19 4148/week @ 2023-09-26 4545/week @ 2023-10-03 4138/week @ 2023-10-10 3535/week @ 2023-10-17 4444/week @ 2023-10-24 6247/week @ 2023-10-31 4357/week @ 2023-11-07 5715/week @ 2023-11-14 3755/week @ 2023-11-21

20,897 downloads per month
Used in 11 crates (10 directly)


81K SLoC


CloudFormation allows you to create and manage Amazon Web Services infrastructure deployments predictably and repeatedly. You can use CloudFormation to leverage Amazon Web Services products, such as Amazon Elastic Compute Cloud, Amazon Elastic Block Store, Amazon Simple Notification Service, Elastic Load Balancing, and Auto Scaling to build highly reliable, highly scalable, cost-effective applications without creating or configuring the underlying Amazon Web Services infrastructure.

With CloudFormation, you declare all your resources and dependencies in a template file. The template defines a collection of resources as a single unit called a stack. CloudFormation creates and deletes all member resources of the stack together and manages all dependencies between the resources for you.

For more information about CloudFormation, see the CloudFormation product page.

CloudFormation makes use of other Amazon Web Services products. If you need additional technical information about a specific Amazon Web Services product, you can find the product's technical documentation at docs.aws.amazon.com.

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-cloudformation to your project, add the following to your Cargo.toml file:

aws-config = { version = "1.0.1", features = ["behavior-version-latest"] }
aws-sdk-cloudformation = "1.3.0"
tokio = { version = "1", features = ["full"] }

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

use aws_sdk_cloudformation as cloudformation;

async fn main() -> Result<(), cloudformation::Error> {
    let config = aws_config::load_from_env().await;
    let client = aws_sdk_cloudformation::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.


~296K SLoC