0.0.6 • Published 4 years ago
@pulumi/aws-s3-replicated-bucket v0.0.6
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/replicatedbucketor yarn:
$ yarn add @pulumi/replicatedbucketPython
To use from Python, install using pip:
$ pip install pulumi_replicatedbucketGo
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.ReplicatedBucketConcept
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")0.0.6
4 years ago