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.89.0 (build 2f74b3e)", date = "2023-10-05T01:31:33.224Z")
@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,
}