GatewayTargetMcpServerProps

class aws_cdk.aws_bedrock_agentcore_alpha.GatewayTargetMcpServerProps(*, description=None, gateway_target_name=None, credential_provider_configurations, endpoint, gateway)

Bases: GatewayTargetCommonProps

(experimental) Properties for creating an MCP Server-based Gateway Target.

Parameters:
  • description (Optional[str]) – (experimental) Optional description for the gateway target The description can have up to 200 characters. Default: - No description

  • gateway_target_name (Optional[str]) – (experimental) The name of the gateway target The name must be unique within the gateway Pattern: ^([0-9a-zA-Z][-]?){1,100}$. Default: - auto generate

  • credential_provider_configurations (Sequence[ICredentialProviderConfig]) – (experimental) Credential providers for authentication.

  • endpoint (str) – (experimental) 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 (IGateway) – (experimental) The gateway this target belongs to.

Stability:

experimental

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
import aws_cdk.aws_bedrock_agentcore_alpha as bedrock_agentcore_alpha

# credential_provider_config: bedrock_agentcore_alpha.ICredentialProviderConfig
# gateway: bedrock_agentcore_alpha.Gateway

gateway_target_mcp_server_props = bedrock_agentcore_alpha.GatewayTargetMcpServerProps(
    credential_provider_configurations=[credential_provider_config],
    endpoint="endpoint",
    gateway=gateway,

    # the properties below are optional
    description="description",
    gateway_target_name="gatewayTargetName"
)

Attributes

credential_provider_configurations

(experimental) Credential providers for authentication.

Stability:

experimental

description

(experimental) Optional description for the gateway target The description can have up to 200 characters.

Default:
  • No description

Stability:

experimental

endpoint

(experimental) 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

Stability:

experimental

gateway

(experimental) The gateway this target belongs to.

Stability:

experimental

gateway_target_name

^([0-9a-zA-Z][-]?){1,100}$.

Default:
  • auto generate

Stability:

experimental

Type:

(experimental) The name of the gateway target The name must be unique within the gateway Pattern