1. Packages
  2. AWS
AWS v6.76.0 published on Tuesday, Apr 8, 2025 by Pulumi

AWS

AWS v6.76.0 published on Tuesday, Apr 8, 2025 by Pulumi

The Amazon Web Services (AWS) provider for Pulumi can provision many of the cloud resources available in AWS. It uses the AWS SDK to manage and provision resources.

The AWS provider must be configured with credentials to deploy and update resources in AWS; see Installation & Configuration for instructions.

New to Pulumi and AWS? Get started with AWS using our tutorial.

Example

const aws = require("@pulumi/aws");

const bucket = new aws.s3.BucketV2("mybucket");
Copy
import pulumi
import pulumi_aws as aws

bucket = aws.s3.BucketV2("bucket")
Copy
package main

import (
	"github.com/pulumi/pulumi-aws/sdk/v5/go/aws/s3"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := s3.NewBucketV2(ctx, "bucket", &s3.BucketV2Args{})
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
using Pulumi;
using Aws = Pulumi.Aws;

await Deployment.RunAsync(() =>
{
    var bucket = new Aws.S3.BucketV2("bucket");
});
Copy
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.aws.s3.Bucket;

public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }

    private static void stack(Context ctx) {
        final var bucket = new BucketV2("my-bucket");
        ctx.export("bucketName", bucket.name());
  }
}
Copy
resources:
  mybucket:
    type: aws:s3:BucketV2
outputs:
  bucketName: ${mybucket.name}
Copy

Visit the How-to Guides to find step-by-step guides for specific scenarios like creating a serverless application or setting up Athena search.

Components

Pulumi offers Components that provide simpler interfaces and higher-productivity APIs for many areas of AWS:

  • Amazon EKS
  • Crosswalk for AWS, which includes API Gateway, CloudWatch, Elastic Container Registry, Elastic Container Service, Elastic Kubernetes Service, Elastic Load Balancing, Identity & Access Management, Lambda, Virtual Private Cloud, and more
AWS v6.76.0 published on Tuesday, Apr 8, 2025 by Pulumi