Module Values.AwsS3BucketBucketLifecycleConfigurationRulesTransitionsDetailsSource

A rule for when objects transition to specific storage classes.

Sourcetype nonrec t = {
  1. date : NonEmptyString.t option;
    (*

    A date on which to transition objects to the specified storage class. If you provide Date, you cannot provide Days. For more information about the validation and formatting of timestamp fields in Security Hub CSPM, see Timestamps.

    *)
  2. days : Integer.t option;
    (*

    The number of days after which to transition the object to the specified storage class. If you provide Days, you cannot provide Date.

    *)
  3. storageClass : NonEmptyString.t option;
    (*

    The storage class to transition the object to. Valid values are as follows: DEEP_ARCHIVE GLACIER INTELLIGENT_TIERING ONEZONE_IA STANDARD_IA

    *)
}
Sourceval make : ?date:??? -> ?days:??? -> ?storageClass:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Integer of Integer.t | `String of NonEmptyString.t ]) 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