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
- Struct
- Aws::S3::Types::OwnershipControls
- 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
-
#rules ⇒ Array<Types::OwnershipControlsRule>
The container element for an ownership control rule.
Instance Attribute Details
#rules ⇒ Array<Types::OwnershipControlsRule>
The container element for an ownership control rule.