AWSS3PutBucketCorsRequest

Objective-C

@interface AWSS3PutBucketCorsRequest

Swift

class AWSS3PutBucketCorsRequest
  • Specifies the bucket impacted by the corsconfiguration.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSString *_Nullable bucket;

    Swift

    var bucket: String? { get set }
  • Describes the cross-origin access configuration for objects in an Amazon S3 bucket. For more information, see Enabling Cross-Origin Resource Sharing in the Amazon Simple Storage Service Developer Guide.

    Declaration

    Objective-C

    @property (nonatomic, strong) AWSS3CORSConfiguration *_Nullable CORSConfiguration;

    Swift

    var corsConfiguration: AWSS3CORSConfiguration? { get set }
  • The base64-encoded 128-bit MD5 digest of the data. This header must be used as a message integrity check to verify that the request body was not corrupted in transit. For more information, go to RFC 1864.

    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 }