This package is deprecated.
Viewing docs for AWS S3 Replicated Bucket v0.0.6
published on Thursday, Oct 7, 2021 by Lee Zen
published on Thursday, Oct 7, 2021 by Lee Zen
AWS S3 Replicated Bucket (Deprecated)
I want to use the Pulumi AWS S3 Replicated Bucket package (aws-s3-replicated-bucket) in my project.
## Provider details
- Package: aws-s3-replicated-bucket
- Version: v0.0.6
- Publisher: Lee Zen
- Source: pulumi
- Repository: https://github.com/pulumi/pulumi-aws-s3-replicated-bucket
## Documentation
The Pulumi Cloud Registry API serves canonical, up-to-date docs for this package — including private packages and every published version. Send the "Accept: text/markdown" header for clean readable content, or "application/json" for structured data.
Start at the navigation tree, which cross-links to the readme, installation guide, and per-resource docs URL template:
- https://api.pulumi.com/api/registry/packages/pulumi/lee_zen/aws-s3-replicated-bucket/versions/latest/nav
Returns a summary by default. The full tree can be hundreds of kB for large providers, so prefer targeted search: append "?q=<query>&depth=full" to filter by resource/function title or token (for example "?q=bucket&depth=full"). Only request the full nav without a query if you actually need to enumerate every resource.
Other endpoints:
- Overview and getting started: https://api.pulumi.com/api/registry/packages/pulumi/lee_zen/aws-s3-replicated-bucket/versions/latest/readme
- Installation and configuration: https://api.pulumi.com/api/registry/packages/pulumi/lee_zen/aws-s3-replicated-bucket/versions/latest/installation
- Per-resource/function docs: https://api.pulumi.com/api/registry/packages/pulumi/lee_zen/aws-s3-replicated-bucket/versions/latest/docs/{token}?lang={lang}
Replace {token} with the percent-encoded token from the nav response (for example aws:s3/bucket:Bucket).
Replace {lang} with typescript, python, go, csharp, java, yaml, or hcl.
Fetch the installation endpoint above for the correct setup steps — install instructions vary between native providers, bridged Terraform providers, and component packages.
Help me get started using this provider. Show me a complete Pulumi program that provisions a common resource, including all necessary configuration and imports.
This package is deprecated.
Viewing docs for AWS S3 Replicated Bucket v0.0.6
published on Thursday, Oct 7, 2021 by Lee Zen
published on Thursday, Oct 7, 2021 by Lee Zen
Easily create AWS S3 buckets that are replicated across AWS regions as a package available in all Pulumi languages.
Example
import * as s3 from "@pulumi/aws-s3-replicated-bucket";
const bucket = new s3.ReplicatedBucket("bucket", {
destinationRegion: "us-east-1",
});
export const srcBucket = bucket.sourceBucket.arn;
export const dstBucket = bucket.destinationBucket.arn;
import pulumi_aws_s3_replicated_bucket as s3
bucket = s3.ReplicatedBucket("bucket", destination_region="us-east-1")
pulumi.export('srcBucket', bucket.source_bucket.arn)
pulumi.export('dstBucket', bucket.destination_bucket.arn)
package main
import (
"github.com/pulumi/pulumi-aws-s3-replicated-bucket/sdk/go/s3"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
bucket, err := s3.NewReplicatedBucket(ctx, "bucket", &s3.ReplicatedBucketArgs{
DestinationRegion: pulumi.String("us-east-1"),
})
if err != nil {
return err
}
ctx.Export("srcBucket", bucket.SourceBucket.Arn)
ctx.Export("dstBucket", bucket.DestinationBucket.Arn)
return nil
}
}
using System.Collections.Generic;
using Pulumi;
using S3 = Pulumi.AwsS3ReplicatedBucket;
await Deployment.RunAsync(() =>
{
var bucket = new S3.ReplicatedBucket("bucket", new S3.ReplicatedBucketArgs
{
DestinationRegion = "us-east-1"
});
return new Dictionary<string, object?>
{
["srcBucket"] = bucket.SourceBucket.Arn,
["dstBucket"] = bucket.DestinationBucket.Arn
};
});
This package is deprecated.
Viewing docs for AWS S3 Replicated Bucket v0.0.6
published on Thursday, Oct 7, 2021 by Lee Zen
published on Thursday, Oct 7, 2021 by Lee Zen