StaticRoute
A static route to a single gateway target.
Contents
- targetName
-
The name of the target to route requests to.
Type: String
Pattern:
([0-9a-zA-Z][-]?){1,100}Required: Yes
- fallback
-
The fallback configuration for this route. Supported only for inference targets.
Type: Fallback object
Required: No
- model
-
The model ID to send to the target. Supported only for inference targets. If you don't specify a model, the gateway sends the model from the original request.
Type: String
Length Constraints: Minimum length of 1. Maximum length of 2048.
Pattern:
[a-zA-Z0-9][a-zA-Z0-9\-._/@:]*Required: No
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the following: