PassthroughTargetConfiguration
The configuration for an HTTP passthrough target. A passthrough target forwards requests directly to an external HTTP endpoint.
Contents
- endpoint
-
The HTTPS endpoint that the gateway forwards requests to for this passthrough target.
Type: String
Length Constraints: Minimum length of 1. Maximum length of 2048.
Pattern:
https://[a-zA-Z0-9\-\.]+(:[0-9]{1,5})?(/.*)?Required: Yes
- protocolType
-
The application protocol that the passthrough target implements. This value is required for passthrough targets:
-
MCP- The Model Context Protocol. -
A2A- The Agent-to-Agent protocol. -
INFERENCE- The protocol for routing requests to a large language model (LLM) provider. -
CUSTOM- A custom application protocol.
Type: String
Valid Values:
MCP | A2A | INFERENCE | CUSTOMRequired: Yes
-
- schema
-
The API schema configuration that defines the structure of the passthrough target's API.
Type: HttpApiSchemaConfiguration object
Required: No
- stickinessConfiguration
-
The session stickiness configuration for the passthrough target. This configuration routes requests within the same session to the same target.
Type: StickinessConfiguration object
Required: No
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the following: