com.gammarer.cdk.aws.secure_bucket.SecureObjectOwnership Maven / Gradle / Ivy
Show all versions of aws-secure-bucket Show documentation
package com.gammarer.cdk.aws.secure_bucket;
/**
* The ObjectOwnership of the bucket.
*
* @see https://docs.aws.amazon.com/AmazonS3/latest/dev/about-object-ownership.html
*/
@javax.annotation.Generated(value = "jsii-pacmak/1.97.0 (build 729de35)", date = "2024-04-21T17:14:32.047Z")
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
@software.amazon.jsii.Jsii(module = com.gammarer.cdk.aws.secure_bucket.$Module.class, fqn = "@gammarer/aws-secure-bucket.SecureObjectOwnership")
public enum SecureObjectOwnership {
/**
* ACLs are disabled, and the bucket owner automatically owns and has full control over every object in the bucket.
*
* ACLs no longer affect permissions to data in the S3 bucket.
* The bucket uses policies to define access control.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
BUCKET_OWNER_ENFORCED,
/**
* Objects uploaded to the bucket change ownership to the bucket owner .
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
BUCKET_OWNER_PREFERRED,
/**
* The uploading account will own the object.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
OBJECT_WRITER,
}