Class: Aws::S3::Types::OwnershipControls
- Inherits:
-
Struct
- Object
- Struct
- Aws::S3::Types::OwnershipControls
- 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
},
],
}
The container element for a bucket’s ownership controls.
Constant Summary collapse
- SENSITIVE =
[]
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.
9748 9749 9750 9751 9752 |
# File 'lib/aws-sdk-s3/types.rb', line 9748 class OwnershipControls < Struct.new( :rules) SENSITIVE = [] include Aws::Structure end |