Module Values.CreateGatewayRouteInputSource

Creates 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.

Sourcetype nonrec t = {
  1. 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.

    *)
  2. gatewayRouteName : ResourceName.t;
    (*

    The name to use for the gateway route.

    *)
  3. meshName : ResourceName.t;
    (*

    The name of the service mesh to create the gateway route in.

    *)
  4. 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.

    *)
  5. spec : GatewayRouteSpec.t;
    (*

    The gateway route specification to apply.

    *)
  6. tags : TagList.t option;
    (*

    Optional metadata that you can apply to the gateway route to assist with categorization and organization. Each tag consists of a key and an optional value, both of which you define. Tag keys can have a maximum character length of 128 characters, and tag values can have a maximum length of 256 characters.

    *)
  7. 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.

    *)
}
Sourceval context_ : string
Sourceval make : ?clientToken:??? -> ?meshOwner:??? -> ?tags:??? -> gatewayRouteName:ResourceName.t -> meshName:ResourceName.t -> spec:GatewayRouteSpec.t -> virtualGatewayName:ResourceName.t -> unit -> t
Sourceval 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 ]
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