示例对象生命周期策略:在几秒内过期 - AWS Elemental MediaStore

示例对象生命周期策略:在几秒内过期

以下策略会指示 MediaStore 删除满足以下所有条件的对象:

  • 在策略生效之后添加到容器中。

  • 存储在 Football 文件夹中。

  • 具有 m3u8 文件扩展名。

  • 已在容器中存放超过 20 秒。

{ "rules": [ { "definition": { "path": [ {"wildcard": "Football/*.m3u8"} ], "seconds_since_create": [ {"numeric": [ ">", 20 ]} ] }, "action": "EXPIRE" } ] }