Bucket

class Bucket : KotlinCustomResource

Provides a resource to create a oss bucket and set its attribution.

NOTE: The bucket namespace is shared by all users of the OSS system. Please set bucket name as unique as possible. NOTE: Available since v1.2.0.

Import

OSS bucket can be imported using the bucket name, e.g.

$ pulumi import alicloud:oss/bucket:Bucket bucket bucket-12345678

Properties

Link copied to clipboard

A access monitor status of a bucket. See access_monitor below.

Link copied to clipboard
val acl: Output<String>?

The canned ACL to apply. Can be "private", "public-read" and "public-read-write". Defaults to "private".

Link copied to clipboard
val bucket: Output<String>?
Link copied to clipboard

A rule of Cross-Origin Resource Sharing. The items of core rule are no more than 10 for every OSS bucket. See cors_rule below.

Link copied to clipboard
val creationDate: Output<String>

The creation date of the bucket.

Link copied to clipboard

The extranet access endpoint of the bucket.

Link copied to clipboard
val forceDestroy: Output<Boolean>?

A boolean that indicates all objects should be deleted from the bucket so that the bucket can be destroyed without error. These objects are not recoverable. Defaults to "false".

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

The intranet access endpoint of the bucket.

Link copied to clipboard

A boolean that indicates lifecycle rules allow prefix overlap.

Link copied to clipboard

A configuration of object lifecycle management. See lifecycle_rule below.

Link copied to clipboard
val location: Output<String>

The location of the bucket.

Link copied to clipboard
val logging: Output<BucketLogging>?

A Settings of bucket logging. See logging below.

Link copied to clipboard
val loggingIsenable: Output<Boolean>?

The flag of using logging enable container. Defaults true.

Link copied to clipboard
val owner: Output<String>

The bucket owner.

Link copied to clipboard
val policy: Output<String>?

Json format text of bucket policy bucket policy management.

Link copied to clipboard
val pulumiChildResources: Set<KotlinResource>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val redundancyType: Output<String>?

The redundancy type to enable. Can be "LRS", and "ZRS". Defaults to "LRS".

Link copied to clipboard

The configuration of referer. See referer_config below.

Link copied to clipboard

A configuration of server-side encryption. See server_side_encryption_rule below.

Link copied to clipboard
val storageClass: Output<String>?

The storage class to apply. Can be "Standard", "IA", "Archive", "ColdArchive" and "DeepColdArchive". Defaults to "Standard". "ColdArchive" is available since 1.203.0. "DeepColdArchive" is available since 1.209.0.

Link copied to clipboard
val tags: Output<Map<String, Any>>?

A mapping of tags to assign to the bucket. The items are no more than 10 for a bucket.

Link copied to clipboard

A transfer acceleration status of a bucket. See transfer_acceleration below.

Link copied to clipboard
val urn: Output<String>
Link copied to clipboard

A state of versioning. See versioning below.

Link copied to clipboard
val website: Output<BucketWebsite>?

A website configuration. See website below.