interface OwnershipControlsRuleProperty
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.S3.CfnBucket.OwnershipControlsRuleProperty |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awss3#CfnBucket_OwnershipControlsRuleProperty |
Java | software.amazon.awscdk.services.s3.CfnBucket.OwnershipControlsRuleProperty |
Python | aws_cdk.aws_s3.CfnBucket.OwnershipControlsRuleProperty |
TypeScript | aws-cdk-lib » aws_s3 » CfnBucket » OwnershipControlsRuleProperty |
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 { aws_s3 as s3 } from 'aws-cdk-lib';
const ownershipControlsRuleProperty: s3.CfnBucket.OwnershipControlsRuleProperty = {
objectOwnership: 'objectOwnership',
};
Properties
Name | Type | Description |
---|---|---|
object | string | Specifies an object ownership rule. |
objectOwnership?
Type:
string
(optional)
Specifies an object ownership rule.