Module Values.LifecyclePolicySource

Describes a policy used by lifecycle management that specifies when to transition files into and out of storage classes. For more information, see Managing file system storage. When using the put-lifecycle-configuration CLI command or the PutLifecycleConfiguration API action, Amazon EFS requires that each LifecyclePolicy object have only a single transition. This means that in a request body, LifecyclePolicies must be structured as an array of LifecyclePolicy objects, one object for each transition. For more information, see the request examples in PutLifecycleConfiguration.

Sourcetype nonrec t = {
  1. transitionToIA : TransitionToIARules.t option;
    (*

    The number of days after files were last accessed in primary storage (the Standard storage class) at which to move them to Infrequent Access (IA) storage. Metadata operations such as listing the contents of a directory don't count as file access events.

    *)
  2. transitionToPrimaryStorageClass : TransitionToPrimaryStorageClassRules.t option;
    (*

    Whether to move files back to primary (Standard) storage after they are accessed in IA or Archive storage. Metadata operations such as listing the contents of a directory don't count as file access events.

    *)
  3. transitionToArchive : TransitionToArchiveRules.t option;
    (*

    The number of days after files were last accessed in primary storage (the Standard storage class) at which to move them to Archive storage. Metadata operations such as listing the contents of a directory don't count as file access events.

    *)
}
Sourceval make : ?transitionToIA:??? -> ?transitionToPrimaryStorageClass:??? -> ?transitionToArchive:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string ]) list ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t