Skip to content

Bedrock Agentcore Control  >  Structures  >  PassthroughTargetConfiguration

PassthroughTargetConfiguration

Structure Class

PassthroughTargetConfiguration dataclass

The configuration for an HTTP passthrough target. A passthrough target forwards requests directly to an external HTTP endpoint.

Attributes

endpoint instance-attribute
endpoint: str

The HTTPS endpoint that the gateway forwards requests to for this passthrough target.

protocol_type instance-attribute
protocol_type: PassthroughProtocolType

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.

schema class-attribute instance-attribute
schema: HttpApiSchemaConfiguration | None = None

The API schema configuration that defines the structure of the passthrough target's API.

stickiness_configuration class-attribute instance-attribute
stickiness_configuration: StickinessConfiguration | None = None

The session stickiness configuration for the passthrough target. This configuration routes requests within the same session to the same target.