AWSS3PutBucketLifecycleConfigurationRequest

Objective-C

@interface AWSS3PutBucketLifecycleConfigurationRequest

Swift

class AWSS3PutBucketLifecycleConfigurationRequest
  • The name of the bucket for which to set the configuration.

    Declaration

    Objective-C

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

    Swift

    var bucket: 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 }
  • Container for lifecycle rules. You can add as many as 1,000 rules.

    Declaration

    Objective-C

    @property (nonatomic, strong) AWSS3BucketLifecycleConfiguration *_Nullable lifecycleConfiguration;

    Swift

    var lifecycleConfiguration: AWSS3BucketLifecycleConfiguration? { get set }