Module ApiGatewayV2.Api

see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigatewayv2-api.html

type body_s3_location = {
  1. etag : string option;
  2. bucket : string option;
  3. version : string option;
  4. key : string option;
}

see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apigatewayv2-api-bodys3location.html

and cors = {
  1. allow_origins : string list option;
  2. allow_credentials : bool 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-apigatewayv2-api-cors.html

type properties = {
  1. route_selection_expression : string option;
  2. body_s3_location : body_s3_location option;
  3. description : string option;
  4. base_path : string option;
  5. fail_on_warnings : bool option;
  6. disable_execute_api_endpoint : bool option;
  7. disable_schema_validation : bool option;
  8. name : string option;
  9. target : string option;
  10. credentials_arn : string option;
  11. cors_configuration : cors option;
  12. version : string option;
  13. protocol_type : string option;
  14. route_key : string option;
  15. body : Yojson.Safe.t option;
  16. tags : string Stdlib__Map.Make(Stdlib.String).t option;
  17. api_key_selection_expression : string option;
}

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

val make_properties : ?route_selection_expression:string -> ?body_s3_location:body_s3_location -> ?description:string -> ?base_path:string -> ?fail_on_warnings:bool -> ?disable_execute_api_endpoint:bool -> ?disable_schema_validation:bool -> ?name:string -> ?target:string -> ?credentials_arn:string -> ?cors_configuration:cors -> ?version:string -> ?protocol_type:string -> ?route_key:string -> ?body:Yojson.Safe.t -> ?tags:string Stdlib__Map.Make(Stdlib.String).t -> ?api_key_selection_expression:string -> unit -> properties
val make_body_s3_location : ?etag:string -> ?bucket:string -> ?version:string -> ?key:string -> unit -> body_s3_location
val make_cors : ?allow_origins:string list -> ?allow_credentials:bool -> ?expose_headers:string list -> ?allow_headers:string list -> ?max_age:int -> ?allow_methods:string list -> unit -> cors
val yojson_of_body_s3_location : body_s3_location -> [> `Assoc of (string * Yojson.Safe.t) list ]
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. api_endpoint : string;
  3. api_id : string;
}
val create_attributes : string -> attributes
val cloudformation_type : string