Bucket Container
interface BucketContainer
S3 Bucket Container
Represents the root of an S3 store on which bucket operations may be performed.
Managing Bucket Tags
This interface does not define any methods for managing bucket tags. To work with bucket tags use one of the bucket access methods contained in this type, such as withBucket or get which give access to an S3Bucket instance without performing any additional operations.
Example:
container.withBucket("my-bucket") {
tags.put("something", "some value")
}
container["my-bucket"].tags.put("something", "some value")Content copied to clipboard
Functions
Link copied to clipboard
Attempts to create a bucket with the given name if it does not already exist in the S3 instance.
Link copied to clipboard
Deletes the target bucket from the S3 instance.
Link copied to clipboard
Deletes the target bucket and all of its contents.
Link copied to clipboard
Creates a new S3Bucket instance wrapping the target S3 bucket.
Link copied to clipboard
Fetches a list of all buckets available on the target S3 instance.
Link copied to clipboard
Executes the given action on the target bucket.