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

Inherits:
Struct
  • Object
show all
Includes:
Aws::Structure
Defined in:
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, BucketOwnerEnforced
    },
  ],
}

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:



10970
10971
10972
10973
10974
# File 'lib/aws-sdk-s3/types.rb', line 10970

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