The number of days that you want to specify for the default retention period. Must be used with Mode.
Mode
The default Object Lock retention mode you want to apply to new objects placed in the specified bucket. Must be used with either Days or Years.
Days
Years
The number of years that you want to specify for the default retention period. Must be used with Mode.