# OwnershipControlsProperty

Specifies the container element for Object Ownership rules.

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](https://docs.aws.amazon.com/AmazonS3/latest/userguide/about-object-ownership.html) in the *Amazon S3 User Guide* .

- Source: Generated code
- Type last changed: v2.93.0 · 23 Aug 2023

## Example

```ts
// 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 ownershipControlsProperty: s3.CfnBucket.OwnershipControlsProperty = {
  rules: [{
    objectOwnership: 'objectOwnership',
  }],
};
```

## Properties

- `rules`: [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnBucket.OwnershipControlsRuleProperty](/cdk/api/v2/docs/aws-cdk-lib.aws_s3.CfnBucket.OwnershipControlsRuleProperty.html)[] (required) — Specifies the container element for Object Ownership rules.
