AWSS3ObjectLockRule

@interface AWSS3ObjectLockRule

The container element for an Object Lock rule.

  • The default retention period that you want to apply to new objects placed in the specified bucket.

    Declaration

    Objective-C

    @property (readwrite, strong, nonatomic)
        AWSS3DefaultRetention *_Nullable defaultRetention;

    Swift

    var defaultRetention: AWSS3DefaultRetention? { get set }