0.0.6 • Published 3 years ago

@pulumi/aws-s3-replicated-bucket v0.0.6

Weekly downloads
-
License
-
Repository
-
Last release
3 years ago

Replicated Bucket Pulumi Component Provider

Create a s3 that replicates its contents to another region.


Installing

This package is available in many languages in the standard packaging formats.

Node.js (Java/TypeScript)

To use from JavaScript or TypeScript in Node.js, install using either npm:

$ npm install @pulumi/replicatedbucket

or yarn:

$ yarn add @pulumi/replicatedbucket

Python

To use from Python, install using pip:

$ pip install pulumi_replicatedbucket

Go

To use from Go, use go get to grab the latest version of the library

$ go get github.com/pulumi/pulumi-replicatedbucket/sdk

.NET

To use from .NET, install using dotnet add package:

$ dotnet add package Pulumi.ReplicatedBucket

Concept


The Pulumi replicated Bucket provides a simple and correct implementation of a s3 bucket replicated to another region.

const bucket = new replicatedBucket.Bucket("bucket", {
    destinationRegion: "us-east-1",
});
var bucket = new ReplicatedBucket.Bucket(ctx, "bucket", new ReplicatedBucket.BucketArgs{
    DestinationRegion: pulumi.String("us-east-1")
})
bucket, err = replicatedbucket.NewBucket(ctx, "bucket", &replicatedbucket.BucketArgs{
	DestinationRegion: pulumi.String("us-east-1"),
})
bucket = pulumi_replicatedbucket.Bucket("bucket", destination_region="us-east-1")