Module Lambda.Url

see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-url.html

type cors = {
  1. allow_credentials : bool option;
  2. allow_origins : string list option;
  3. expose_headers : string list option;
  4. allow_headers : string list option;
  5. max_age : int option;
  6. allow_methods : string list option;
}

see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lambda-url-cors.html

type properties = {
  1. qualifier : string option;
  2. invoke_mode : string option;
  3. auth_type : string;
  4. target_function_arn : string;
  5. cors : cors option;
}

see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-url.html;

val make_properties : ?qualifier:string -> ?invoke_mode:string -> auth_type:string -> target_function_arn:string -> ?cors:cors -> unit -> properties
val make_cors : ?allow_credentials:bool -> ?allow_origins:string list -> ?expose_headers:string list -> ?allow_headers:string list -> ?max_age:int -> ?allow_methods:string list -> unit -> cors
val yojson_of_cors : cors -> [> `Assoc of (string * Yojson.Safe.t) list ]
val yojson_of_properties : properties -> [> `Assoc of (string * Yojson.Safe.t) list ]
type attributes = {
  1. ref_ : string;
  2. function_arn : string;
  3. function_url : string;
}
val create_attributes : string -> attributes
val cloudformation_type : string