Bucket

class Bucket : KotlinCustomResource

Provides a resource to manage an S3 Control Bucket.

This functionality is for managing S3 on Outposts. To manage S3 Buckets in an AWS Partition, see the aws.s3.BucketV2 resource.

Example Usage

package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.s3control.Bucket;
import com.pulumi.aws.s3control.BucketArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var example = new Bucket("example", BucketArgs.builder()
.bucket("example")
.outpostId(data.aws_outposts_outpost().example().id())
.build());
}
}

Import

S3 Control Buckets can be imported using Amazon Resource Name (ARN), e.g.,

$ pulumi import aws:s3control/bucket:Bucket example arn:aws:s3-outposts:us-east-1:123456789012:outpost/op-12345678/bucket/example

Properties

Link copied to clipboard
val arn: Output<String>

Amazon Resource Name (ARN) of the bucket.

Link copied to clipboard
val bucket: Output<String>

Name of the bucket.

Link copied to clipboard
val creationDate: Output<String>

UTC creation date in RFC3339 format.

Link copied to clipboard
val id: Output<String>
Link copied to clipboard
val outpostId: Output<String>

Identifier of the Outpost to contain this bucket.

Link copied to clipboard

Boolean whether Public Access Block is enabled.

Link copied to clipboard
val pulumiChildResources: Set<KotlinResource>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val tags: Output<Map<String, String>>?

Key-value map of resource tags. .If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.

Link copied to clipboard
val tagsAll: Output<Map<String, String>>

A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

Link copied to clipboard
val urn: Output<String>