Module AppMesh.GatewayRoute

see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appmesh-gatewayroute.html

type http_gateway_route_path_rewrite = {
  1. exact : string option;
}

see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-gatewayroute-httpgatewayroutepathrewrite.html

and http_gateway_route_prefix_rewrite = {
  1. value : string option;
  2. default_prefix : string option;
}

see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-gatewayroute-httpgatewayrouteprefixrewrite.html

and tag = {
  1. key : string;
  2. value : string;
}

see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-resource-tags.html

and gateway_route_hostname_rewrite = {
  1. default_target_hostname : string option;
}

see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-gatewayroute-gatewayroutehostnamerewrite.html

and gateway_route_range_match = {
  1. start : int;
  2. end_ : int;
}

see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-gatewayroute-gatewayrouterangematch.html

and http_query_parameter_match = {
  1. exact : string option;
}

see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-gatewayroute-httpqueryparametermatch.html

and http_path_match = {
  1. regex : string option;
  2. exact : string option;
}

see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-gatewayroute-httppathmatch.html

and gateway_route_virtual_service = {
  1. virtual_service_name : string;
}

see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-gatewayroute-gatewayroutevirtualservice.html

and gateway_route_hostname_match = {
  1. suffix : string option;
  2. exact : string option;
}

see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-gatewayroute-gatewayroutehostnamematch.html

and grpc_gateway_route_rewrite = {
  1. hostname : gateway_route_hostname_rewrite option;
}

see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-gatewayroute-grpcgatewayrouterewrite.html

and gateway_route_target = {
  1. port : int option;
  2. virtual_service : gateway_route_virtual_service;
}

see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-gatewayroute-gatewayroutetarget.html

and gateway_route_metadata_match = {
  1. suffix : string option;
  2. regex : string option;
  3. exact : string option;
  4. prefix : string option;
  5. range : gateway_route_range_match option;
}

see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-gatewayroute-gatewayroutemetadatamatch.html

and http_gateway_route_rewrite = {
  1. path : http_gateway_route_path_rewrite option;
  2. hostname : gateway_route_hostname_rewrite option;
  3. prefix : http_gateway_route_prefix_rewrite option;
}

see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-gatewayroute-httpgatewayrouterewrite.html

and query_parameter = {
  1. name : string;
  2. match_ : http_query_parameter_match option;
}

see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-gatewayroute-queryparameter.html

and http_gateway_route_header_match = {
  1. suffix : string option;
  2. regex : string option;
  3. exact : string option;
  4. prefix : string option;
  5. range : gateway_route_range_match option;
}

see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-gatewayroute-httpgatewayrouteheadermatch.html

and http_gateway_route_header = {
  1. invert : bool option;
  2. name : string;
  3. match_ : http_gateway_route_header_match option;
}

see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-gatewayroute-httpgatewayrouteheader.html

and grpc_gateway_route_action = {
  1. target : gateway_route_target;
  2. rewrite : grpc_gateway_route_rewrite option;
}

see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-gatewayroute-grpcgatewayrouteaction.html

and http_gateway_route_action = {
  1. target : gateway_route_target;
  2. rewrite : http_gateway_route_rewrite option;
}

see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-gatewayroute-httpgatewayrouteaction.html

and grpc_gateway_route_metadata = {
  1. invert : bool option;
  2. name : string;
  3. match_ : gateway_route_metadata_match option;
}

see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-gatewayroute-grpcgatewayroutemetadata.html

and grpc_gateway_route_match = {
  1. service_name : string option;
  2. port : int option;
  3. hostname : gateway_route_hostname_match option;
  4. metadata : grpc_gateway_route_metadata list option;
}

see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-gatewayroute-grpcgatewayroutematch.html

and http_gateway_route_match = {
  1. path : http_path_match option;
  2. headers : http_gateway_route_header list option;
  3. port : int option;
  4. hostname : gateway_route_hostname_match option;
  5. prefix : string option;
  6. method_ : string option;
  7. query_parameters : query_parameter list option;
}

see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-gatewayroute-httpgatewayroutematch.html

and grpc_gateway_route = {
  1. action : grpc_gateway_route_action;
  2. match_ : grpc_gateway_route_match;
}

see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-gatewayroute-grpcgatewayroute.html

and http_gateway_route = {
  1. action : http_gateway_route_action;
  2. match_ : http_gateway_route_match;
}

see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-gatewayroute-httpgatewayroute.html

and gateway_route_spec = {
  1. http_route : http_gateway_route option;
  2. priority : int option;
  3. http2_route : http_gateway_route option;
  4. grpc_route : grpc_gateway_route option;
}

see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-gatewayroute-gatewayroutespec.html

type properties = {
  1. mesh_name : string;
  2. virtual_gateway_name : string;
  3. mesh_owner : string option;
  4. gateway_route_name : string option;
  5. spec : gateway_route_spec;
  6. tags : tag list option;
}

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

val make_properties : mesh_name:string -> virtual_gateway_name:string -> ?mesh_owner:string -> ?gateway_route_name:string -> spec:gateway_route_spec -> ?tags:tag list -> unit -> properties
val make_http_gateway_route_path_rewrite : ?exact:string -> unit -> http_gateway_route_path_rewrite
val make_http_gateway_route_prefix_rewrite : ?value:string -> ?default_prefix:string -> unit -> http_gateway_route_prefix_rewrite
val make_tag : key:string -> value:string -> unit -> tag
val make_gateway_route_hostname_rewrite : ?default_target_hostname:string -> unit -> gateway_route_hostname_rewrite
val make_gateway_route_range_match : start:int -> end_:int -> unit -> gateway_route_range_match
val make_http_query_parameter_match : ?exact:string -> unit -> http_query_parameter_match
val make_http_path_match : ?regex:string -> ?exact:string -> unit -> http_path_match
val make_gateway_route_virtual_service : virtual_service_name:string -> unit -> gateway_route_virtual_service
val make_gateway_route_hostname_match : ?suffix:string -> ?exact:string -> unit -> gateway_route_hostname_match
val make_grpc_gateway_route_rewrite : ?hostname:gateway_route_hostname_rewrite -> unit -> grpc_gateway_route_rewrite
val make_gateway_route_target : ?port:int -> virtual_service:gateway_route_virtual_service -> unit -> gateway_route_target
val make_gateway_route_metadata_match : ?suffix:string -> ?regex:string -> ?exact:string -> ?prefix:string -> ?range:gateway_route_range_match -> unit -> gateway_route_metadata_match
val make_http_gateway_route_rewrite : ?path:http_gateway_route_path_rewrite -> ?hostname:gateway_route_hostname_rewrite -> ?prefix:http_gateway_route_prefix_rewrite -> unit -> http_gateway_route_rewrite
val make_query_parameter : name:string -> ?match_:http_query_parameter_match -> unit -> query_parameter
val make_http_gateway_route_header_match : ?suffix:string -> ?regex:string -> ?exact:string -> ?prefix:string -> ?range:gateway_route_range_match -> unit -> http_gateway_route_header_match
val make_http_gateway_route_header : ?invert:bool -> name:string -> ?match_:http_gateway_route_header_match -> unit -> http_gateway_route_header
val make_grpc_gateway_route_action : target:gateway_route_target -> ?rewrite:grpc_gateway_route_rewrite -> unit -> grpc_gateway_route_action
val make_http_gateway_route_action : target:gateway_route_target -> ?rewrite:http_gateway_route_rewrite -> unit -> http_gateway_route_action
val make_grpc_gateway_route_metadata : ?invert:bool -> name:string -> ?match_:gateway_route_metadata_match -> unit -> grpc_gateway_route_metadata
val make_grpc_gateway_route_match : ?service_name:string -> ?port:int -> ?hostname:gateway_route_hostname_match -> ?metadata:grpc_gateway_route_metadata list -> unit -> grpc_gateway_route_match
val make_http_gateway_route_match : ?path:http_path_match -> ?headers:http_gateway_route_header list -> ?port:int -> ?hostname:gateway_route_hostname_match -> ?prefix:string -> ?method_:string -> ?query_parameters:query_parameter list -> unit -> http_gateway_route_match
val make_grpc_gateway_route : action:grpc_gateway_route_action -> match_:grpc_gateway_route_match -> unit -> grpc_gateway_route
val make_http_gateway_route : action:http_gateway_route_action -> match_:http_gateway_route_match -> unit -> http_gateway_route
val make_gateway_route_spec : ?http_route:http_gateway_route -> ?priority:int -> ?http2_route:http_gateway_route -> ?grpc_route:grpc_gateway_route -> unit -> gateway_route_spec
val yojson_of_http_gateway_route_path_rewrite : http_gateway_route_path_rewrite -> Yojson.Safe.t
val yojson_of_http_gateway_route_prefix_rewrite : http_gateway_route_prefix_rewrite -> Yojson.Safe.t
val yojson_of_tag : tag -> [> `Assoc of (string * Yojson.Safe.t) list ]
val yojson_of_gateway_route_hostname_rewrite : gateway_route_hostname_rewrite -> Yojson.Safe.t
val yojson_of_gateway_route_range_match : gateway_route_range_match -> Yojson.Safe.t
val yojson_of_http_query_parameter_match : http_query_parameter_match -> Yojson.Safe.t
val yojson_of_http_path_match : http_path_match -> Yojson.Safe.t
val yojson_of_gateway_route_virtual_service : gateway_route_virtual_service -> Yojson.Safe.t
val yojson_of_gateway_route_hostname_match : gateway_route_hostname_match -> Yojson.Safe.t
val yojson_of_grpc_gateway_route_rewrite : grpc_gateway_route_rewrite -> Yojson.Safe.t
val yojson_of_gateway_route_target : gateway_route_target -> Yojson.Safe.t
val yojson_of_gateway_route_metadata_match : gateway_route_metadata_match -> Yojson.Safe.t
val yojson_of_http_gateway_route_rewrite : http_gateway_route_rewrite -> Yojson.Safe.t
val yojson_of_query_parameter : query_parameter -> Yojson.Safe.t
val yojson_of_http_gateway_route_header_match : http_gateway_route_header_match -> Yojson.Safe.t
val yojson_of_http_gateway_route_header : http_gateway_route_header -> Yojson.Safe.t
val yojson_of_grpc_gateway_route_action : grpc_gateway_route_action -> Yojson.Safe.t
val yojson_of_http_gateway_route_action : http_gateway_route_action -> Yojson.Safe.t
val yojson_of_grpc_gateway_route_metadata : grpc_gateway_route_metadata -> Yojson.Safe.t
val yojson_of_grpc_gateway_route_match : grpc_gateway_route_match -> Yojson.Safe.t
val yojson_of_http_gateway_route_match : http_gateway_route_match -> Yojson.Safe.t
val yojson_of_grpc_gateway_route : grpc_gateway_route -> Yojson.Safe.t
val yojson_of_http_gateway_route : http_gateway_route -> Yojson.Safe.t
val yojson_of_gateway_route_spec : gateway_route_spec -> [> `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. uid : string;
  3. mesh_name : string;
  4. virtual_gateway_name : string;
  5. mesh_owner : string;
  6. resource_owner : string;
  7. gateway_route_name : string;
  8. arn : string;
}
val create_attributes : string -> attributes
val cloudformation_type : string