

지원 종료 공지: 2025년 11월 13일에 AWS 는 AWS Elemental MediaStore에 대한 지원을 중단합니다. 2025년 11월 13일 이후에는 더 이상 MediaStore 콘솔 또는 MediaStore 리소스에 액세스할 수 없습니다. 자세한 내용은 이 [블로그 게시물](https://aws.amazon.com/blogs/media/support-for-aws-elemental-mediastore-ending-soon/)을 참조하세요.

기계 번역으로 제공되는 번역입니다. 제공된 번역과 원본 영어의 내용이 상충하는 경우에는 영어 버전이 우선합니다.

# 객체 수명 주기 정책의 예: 복수의 규칙
<a name="policies-object-lifecycle-examples-multiple-rules"></a>

다음 정책은 다음을 수행하도록 MediaStore에 지시합니다.
+ `AwardsShow` 폴더에 저장된 객체를 30일 후 IA(액세스 빈도 낮음) 스토리지 클래스로 이동
+ 파일 확장자가 `m3u8`이고 `Football` 폴더에 저장된 객체를 20초 후 삭제
+ `April` 폴더에 저장된 객체를 10일 후 삭제
+ 파일 확장자가 `ts`이고 `Program` 폴더에 저장된 객체를 5일 후 삭제

```
{
    "rules": [
        {
            "definition": {
                "path": [
                    {"prefix": "AwardsShow/"}
                ],
                "days_since_create": [
                    {"numeric": [ ">=" , 30 ]}
                ]
            },
            "action": "ARCHIVE"
        },
        {
            "definition": {
                "path": [
                    {"wildcard": "Football/*.m3u8"}
                ],
                "seconds_since_create": [
                    {"numeric": [ ">", 20 ]}
                ]
            },
            "action": "EXPIRE"
        },
        {
            "definition": {
                "path": [
                    {"prefix": "April"}
                ],
                "days_since_create": [
                    {"numeric": [ ">", 10 ]}
                ]
            },
            "action": "EXPIRE"
        },
        {
            "definition": {
                "path": [
                    {"wildcard": "Program/*.ts"}
                ],
                "days_since_create": [
                    {"numeric": [ ">", 5 ]}
                ]
            },
            "action": "EXPIRE"
        }
    ]
}
```