Amazon S3 API · JSON Structure

S3 Defaultretention Structure

The container element for specifying the default Object Lock retention settings for new objects placed in the specified bucket.

  • The DefaultRetention settings require both a mode and a period.

  • The DefaultRetention period can be either Days or Years but you must select one. You cannot specify Days and Years at the same time.

Type: object Properties: 0
Cloud StorageObject StorageStorage

S3 Defaultretention Structure is a JSON Structure definition published by Amazon S3 API. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

Meta-schema: https://json-structure.org/meta/core/v0/#

JSON Structure

Raw ↑
{
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "title": "DefaultRetention",
  "type": "object",
  "description": "<p>The container element for specifying the default Object Lock retention settings for new objects placed in the specified bucket.</p> <note> <ul> <li> <p>The <code>DefaultRetention</code> settings require both a mode and a period.</p> </li> <li> <p>The <code>DefaultRetention</code> period can be either <code>Days</code> or <code>Years</code> but you must select one. You cannot specify <code>Days</code> and <code>Years</code> at the same time.</p> </li> </ul> </note>",
  "fields": [
    {
      "name": "Mode",
      "type": "string"
    },
    {
      "name": "Days",
      "type": "string"
    },
    {
      "name": "Years",
      "type": "string"
    }
  ]
}