View a markdown version of this page

Add a target using the API - Amazon Bedrock AgentCore
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).

Add a target using the API

To add a target using the API, make a CreateGatewayTarget request with one of the AgentCore control plane endpoints and define a target configuration that matches the target type.

Note

To add an integration provider template as a gateway target, you must use the Amazon Management Console. For more information, see Built-in templates from integration providers as targets.

When you create a gateway target, you specify the following configurations depending on what you set up when you fulfilled the prerequisites:

  • A credential provider configuration – To specify the authorization type and credentials to access the target.

  • A target configuration – To specify the target, tools, and how the gateway communicates with the target.

To learn more about each type of configuration, see the following topics: