Values.CreateGatewayRouteInputSourceCreates a gateway route. A gateway route is attached to a virtual gateway and routes traffic to an existing virtual service. If a route matches a request, it can distribute traffic to a target virtual service. For more information about gateway routes, see Gateway routes.
type nonrec t = {clientToken : String_.t option;Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. Up to 36 letters, numbers, hyphens, and underscores are allowed.
*)gatewayRouteName : ResourceName.t;The name to use for the gateway route.
*)meshName : ResourceName.t;The name of the service mesh to create the gateway route in.
*)meshOwner : AccountId.t option;The Amazon Web Services IAM account ID of the service mesh owner. If the account ID is not your own, then the account that you specify must share the mesh with your account before you can create the resource in the service mesh. For more information about mesh sharing, see Working with shared meshes.
*)spec : GatewayRouteSpec.t;The gateway route specification to apply.
*)virtualGatewayName : ResourceName.t;The name of the virtual gateway to associate the gateway route with. If the virtual gateway is in a shared mesh, then you must be the owner of the virtual gateway resource.
*)}val make :
?clientToken:??? ->
?meshOwner:??? ->
?tags:??? ->
gatewayRouteName:ResourceName.t ->
meshName:ResourceName.t ->
spec:GatewayRouteSpec.t ->
virtualGatewayName:ResourceName.t ->
unit ->
tval to_value :
t ->
[> `Structure of
(string
* [> `List of
[> `Structure of (string * [> `String of TagKey.t ]) list ] list
| `String of String_.t
| `Structure of
(string
* [> `Integer of GatewayRoutePriority.t
| `Structure of
(string
* [> `Structure of
(string
* [> `Enum of string
| `Integer of ListenerPort.t
| `List of
[> `Structure of
(string
* [> `Boolean of Boolean.t
| `String of HeaderName.t
| `Structure of
(string
* [> `String of HeaderMatch.t
| `Structure of
(string * [> `Long of Long.t ])
list ])
list ])
list ]
list
| `String of ServiceName.t
| `Structure of
(string
* [> `Integer of ListenerPort.t
| `String of ExactHostName.t
| `Structure of
(string
* [> `Enum of string
| `String of ResourceName.t ])
list ])
list ])
list ])
list ])
list ])
list ]