SmithyTargetConfiguration
- class aws_cdk.aws_bedrock_agentcore_alpha.SmithyTargetConfiguration(smithy_model)
Bases:
McpTargetConfiguration(experimental) 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.
- 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 # api_schema: bedrock_agentcore_alpha.ApiSchema smithy_target_configuration = bedrock_agentcore_alpha.SmithyTargetConfiguration(api_schema)
- Parameters:
smithy_model (
ApiSchema)- Stability:
experimental
Methods
- bind(scope, gateway)
(experimental) Binds this configuration to a construct scope Sets up necessary permissions for the gateway to access the Smithy model.
- Parameters:
- Stability:
experimental
- Return type:
Attributes
- smithy_model
(experimental) The Smithy model that defines the API.
- Stability:
experimental
- target_type
(experimental) The target type.
- Stability:
experimental
Static Methods