SmithyTargetConfiguration

class aws_cdk.aws_bedrock_agentcore_alpha.SmithyTargetConfiguration(smithy_model)

Bases: McpTargetConfiguration

(deprecated) Configuration for Smithy-based MCP targets.

This configuration exposes a Smithy-modeled API as MCP tools, allowing the gateway to transform Smithy operations into tool calls.

Deprecated:

Use the equivalent construct from aws-cdk-lib/aws-bedrockagentcore instead.

Stability:

deprecated

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

# api_schema: bedrock_agentcore_alpha.ApiSchema

smithy_target_configuration = bedrock_agentcore_alpha.SmithyTargetConfiguration(api_schema)
Parameters:

smithy_model (ApiSchema)

Stability:

deprecated

Methods

bind(scope, gateway)

(deprecated) Binds this configuration to a construct scope Sets up necessary permissions for the gateway to access the Smithy model.

Parameters:
  • scope (Construct) – The construct scope.

  • gateway (IGateway) – The gateway that will use this target.

Stability:

deprecated

Return type:

TargetConfigurationConfig

Attributes

smithy_model

(deprecated) The Smithy model that defines the API.

Stability:

deprecated

target_type

(deprecated) The target type.

Stability:

deprecated

Static Methods

classmethod create(smithy_model)

(deprecated) Create a Smithy target configuration.

Parameters:

smithy_model (ApiSchema) – The Smithy model schema.

Return type:

SmithyTargetConfiguration

Returns:

A new SmithyTargetConfiguration instance

Stability:

deprecated