You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

Class: Aws::S3::Types::OwnershipControls

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing OwnershipControls as input to an Aws::Client method, you can use a vanilla Hash:

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

The container element for a bucket's ownership controls.

Returned by:

Instance Attribute Summary collapse

Instance Attribute Details

#rulesArray<Types::OwnershipControlsRule>

The container element for an ownership control rule.

Returns: