AWSS3PutBucketPolicyRequest
Objective-C
@interface AWSS3PutBucketPolicyRequest
Swift
class AWSS3PutBucketPolicyRequest
-
The name of the bucket.
Declaration
Objective-C
@property (nonatomic, strong) NSString *_Nullable bucket;
Swift
var bucket: String? { get set }
-
Set this parameter to true to confirm that you want to remove your permissions to change this bucket policy in the future.
Declaration
Objective-C
@property (nonatomic, strong) NSNumber *_Nullable confirmRemoveSelfBucketAccess;
Swift
var confirmRemoveSelfBucketAccess: NSNumber? { get set }
-
The MD5 hash of the request body.
Declaration
Objective-C
@property (nonatomic, strong) NSString *_Nullable contentMD5;
Swift
var contentMD5: String? { get set }
-
The account id of the expected bucket owner. If the bucket is owned by a different account, the request will fail with an HTTP
403 (Access Denied)
error.Declaration
Objective-C
@property (nonatomic, strong) NSString *_Nullable expectedBucketOwner;
Swift
var expectedBucketOwner: String? { get set }
-
The bucket policy as a JSON document.
Declaration
Objective-C
@property (nonatomic, strong) NSString *_Nullable policy;
Swift
var policy: String? { get set }