Interface CfnBucket.OwnershipControlsRuleProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnBucket.OwnershipControlsRuleProperty.Jsii$Proxy
- Enclosing class:
CfnBucket
@Stability(Stable)
public static interface CfnBucket.OwnershipControlsRuleProperty
extends software.amazon.jsii.JsiiSerializable
Specifies an Object Ownership rule.
S3 Object Ownership is an Amazon S3 bucket-level setting that you can use to disable access control lists (ACLs) and take ownership of every object in your bucket, simplifying access management for data stored in Amazon S3. For more information, see Controlling ownership of objects and disabling ACLs in the Amazon S3 User Guide .
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import software.amazon.awscdk.services.s3.*; OwnershipControlsRuleProperty ownershipControlsRuleProperty = OwnershipControlsRuleProperty.builder() .objectOwnership("objectOwnership") .build();
- See Also:
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forCfnBucket.OwnershipControlsRuleProperty
static final class
An implementation forCfnBucket.OwnershipControlsRuleProperty
-
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getObjectOwnership
Specifies an object ownership rule.- See Also:
-
builder
-