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, BucketOwnerEnforced
},
],
}
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.
10970 10971 10972 10973 10974 |
# File 'lib/aws-sdk-s3/types.rb', line 10970 class OwnershipControls < Struct.new( :rules) SENSITIVE = [] include Aws::Structure end |