class Aws::S3::Types::OwnershipControls

The container element for a bucket's ownership controls.

@note When making an API call, you may pass OwnershipControls

data as a hash:

    {
      rules: [ # required
        {
          object_ownership: "BucketOwnerPreferred", # required, accepts BucketOwnerPreferred, ObjectWriter
        },
      ],
    }

@!attribute [rw] rules

The container element for an ownership control rule.
@return [Array<Types::OwnershipControlsRule>]

@see docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/OwnershipControls AWS API Documentation

Constants

SENSITIVE