Module Values.HomeDirectoryMapEntrySource

Represents an object that contains entries and targets for HomeDirectoryMappings. The following is an Entry and Target pair example for chroot. [ { "Entry": "/", "Target": "/bucket_name/home/mydirectory" } ]

Sourcetype nonrec t = {
  1. entry : MapEntry.t;
    (*

    Represents an entry for HomeDirectoryMappings.

    *)
  2. target : MapTarget.t;
    (*

    Represents the map target that is used in a HomeDirectoryMapEntry.

    *)
  3. type_ : MapType.t option;
    (*

    Specifies the type of mapping. Set the type to FILE if you want the mapping to point to a file, or DIRECTORY for the directory to point to a directory. By default, home directory mappings have a Type of DIRECTORY when you create a Transfer Family server. You would need to explicitly set Type to FILE if you want a mapping to have a file target.

    *)
}
Sourceval context_ : string
Sourceval make : ?type_:??? -> entry:MapEntry.t -> target:MapTarget.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string | `String of MapEntry.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