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

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-s3/lib/aws-sdk-s3/types.rb

Overview

Note:

When making an API call, you may pass OwnershipControls data as a hash:

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

The container element for a bucket's ownership controls.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#rulesArray<Types::OwnershipControlsRule>

The container element for an ownership control rule.

Returns:



9842
9843
9844
9845
9846
# File 'gems/aws-sdk-s3/lib/aws-sdk-s3/types.rb', line 9842

class OwnershipControls < Struct.new(
  :rules)
  SENSITIVE = []
  include Aws::Structure
end