View a markdown version of this page

TargetConfiguration - Amazon Bedrock AgentCore Control Plane
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

TargetConfiguration

The configuration for a gateway target. This structure defines how the gateway connects to and interacts with the target endpoint.

Contents

Important

This data type is a UNION, so only one of the following members can be specified when used or returned.

http

The HTTP target configuration. Use this to route gateway requests to an HTTP-based endpoint such as an AgentCore Runtime.

Type: HttpTargetConfiguration object

Note: This object is a Union. Only one member of this object can be specified or returned.

Required: No

inference

The inference configuration for the target. This configuration routes requests to a large language model (LLM) provider.

Type: InferenceTargetConfiguration object

Note: This object is a Union. Only one member of this object can be specified or returned.

Required: No

mcp

The Model Context Protocol (MCP) configuration for the target. This configuration defines how the gateway uses MCP to communicate with the target.

Type: McpTargetConfiguration object

Note: This object is a Union. Only one member of this object can be specified or returned.

Required: No

See Also

For more information about using this API in one of the language-specific Amazon SDKs, see the following: