AWSS3PutPublicAccessBlockRequest
Objective-C
@interface AWSS3PutPublicAccessBlockRequest
Swift
class AWSS3PutPublicAccessBlockRequest
-
The name of the Amazon S3 bucket whose
PublicAccessBlock
configuration you want to set.Declaration
Objective-C
@property (nonatomic, strong) NSString *_Nullable bucket;
Swift
var bucket: String? { get set }
-
The MD5 hash of the
PutPublicAccessBlock
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
PublicAccessBlock
configuration that you want to apply to this Amazon S3 bucket. You can enable the configuration options in any combination. For more information about when Amazon S3 considers a bucket or object public, see The Meaning of “Public” in the Amazon Simple Storage Service Developer Guide.Declaration
Objective-C
@property (nonatomic, strong) AWSS3PublicAccessBlockConfiguration *_Nullable publicAccessBlockConfiguration;
Swift
var publicAccessBlockConfiguration: AWSS3PublicAccessBlockConfiguration? { get set }