Module Values.AwsS3BucketObjectLockConfigurationSource

The container element for S3 Object Lock configuration parameters. In Amazon S3, Object Lock can help prevent objects from being deleted or overwritten for a fixed amount of time or indefinitely.

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

    Indicates whether the bucket has an Object Lock configuration enabled.

    *)
  2. rule : AwsS3BucketObjectLockConfigurationRuleDetails.t option;
    (*

    Specifies the Object Lock rule for the specified object.

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