interface GatewayTargetMcpServerProps
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.Bedrock.Agentcore.Alpha.GatewayTargetMcpServerProps |
Go | github.com/aws/aws-cdk-go/awsbedrockagentcorealpha/v2#GatewayTargetMcpServerProps |
Java | software.amazon.awscdk.services.bedrock.agentcore.alpha.GatewayTargetMcpServerProps |
Python | aws_cdk.aws_bedrock_agentcore_alpha.GatewayTargetMcpServerProps |
TypeScript (source) | @aws-cdk/aws-bedrock-agentcore-alpha ยป GatewayTargetMcpServerProps |
Implements
Gateway
Properties for creating an MCP Server-based Gateway Target.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as bedrock_agentcore_alpha from '@aws-cdk/aws-bedrock-agentcore-alpha';
declare const credentialProviderConfig: bedrock_agentcore_alpha.ICredentialProviderConfig;
declare const gateway: bedrock_agentcore_alpha.Gateway;
const gatewayTargetMcpServerProps: bedrock_agentcore_alpha.GatewayTargetMcpServerProps = {
credentialProviderConfigurations: [credentialProviderConfig],
endpoint: 'endpoint',
gateway: gateway,
// the properties below are optional
description: 'description',
gatewayTargetName: 'gatewayTargetName',
};
Properties
| Name | Type | Description |
|---|---|---|
| credential | ICredential[] | Credential providers for authentication. |
| endpoint | string | The HTTPS endpoint URL of the MCP server. |
| gateway | IGateway | The gateway this target belongs to. |
| description? | string | Optional description for the gateway target The description can have up to 200 characters. |
| gateway | string | The name of the gateway target The name must be unique within the gateway Pattern: ^([0-9a-zA-Z][-]?){1,100}$. |
credentialProviderConfigurations
Type:
ICredential[]
Credential providers for authentication.
endpoint
Type:
string
The HTTPS endpoint URL of the MCP server.
The endpoint must:
- Use HTTPS protocol
- Be properly URL-encoded
- Point to an MCP server that implements tool capabilities
gateway
Type:
IGateway
The gateway this target belongs to.
description?
Type:
string
(optional, default: No description)
Optional description for the gateway target The description can have up to 200 characters.
gatewayTargetName?
Type:
string
(optional, default: auto generate)
The name of the gateway target The name must be unique within the gateway Pattern: ^([0-9a-zA-Z][-]?){1,100}$.

.NET
Go
Java
Python
TypeScript (