MDAA TS Docs
    Preparing search index...

    Interface LifecycleTransitionProps

    A single storage-class transition within an S3 lifecycle rule.

    Use cases: Cost optimization by aging objects to cheaper storage; Archiving cold data

    AWS: S3 Lifecycle Transition (current or noncurrent version)

    Validation: days required; storageClass required

    interface LifecycleTransitionProps {
        days: number;
        newerNoncurrentVersions?: number;
        storageClass: string;
    }
    Index

    Properties

    days: number

    Number of days after object creation (or after becoming noncurrent) before the transition applies.

    AWS: S3 Lifecycle Transition TransitionInDays / NoncurrentDays

    Validation: Required; positive integer

    newerNoncurrentVersions?: number

    For noncurrent version transitions, the number of newer noncurrent versions to retain before transitioning older ones.

    AWS: S3 Lifecycle NoncurrentVersionTransition NewerNoncurrentVersions

    Validation: Optional; positive integer

    storageClass: string

    Target S3 storage class for the transition.

    AWS: S3 storage class

    Validation: Required; valid S3 storage class (e.g. STANDARD_IA, INTELLIGENT_TIERING, ONEZONE_IA, GLACIER_IR, GLACIER, DEEP_ARCHIVE)