ConstReadonlyCompliance: "compliance"Files cannot be deleted or modified during the retention period, even by the account owner.
ReadonlyGovernance: "governance"Files cannot be deleted during retention except by callers with the bypassGovernance capability.
ReadonlyNone: "none"No default retention is applied to new uploads.
Named constants for the bucket-level Object Lock retention mode.
Pair with BucketRetentionPolicy when setting a bucket's default retention:
{ mode: BucketRetentionMode.Compliance, period: { duration: 30, unit: 'days' } }.