AWSS3OwnershipControlsRule
Objective-C
@interface AWSS3OwnershipControlsRule
Swift
class AWSS3OwnershipControlsRule
The container element for an ownership control rule.
Required parameters: [ObjectOwnership]
-
The container element for object ownership for a bucket’s ownership controls.
BucketOwnerPreferred - Objects uploaded to the bucket change ownership to the bucket owner if the objects are uploaded with the
bucket-owner-full-control
canned ACL.ObjectWriter - The uploading account will own the object if the object is uploaded with the
bucket-owner-full-control
canned ACL.Declaration
Objective-C
@property (nonatomic) AWSS3ObjectOwnership objectOwnership;
Swift
var objectOwnership: AWSS3ObjectOwnership { get set }