SmithyTargetConfiguration
- class aws_cdk.aws_bedrockagentcore.SmithyTargetConfiguration(smithy_model)
Bases:
McpTargetConfigurationConfiguration 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.
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk import aws_bedrockagentcore as bedrockagentcore # api_schema: bedrockagentcore.ApiSchema smithy_target_configuration = bedrockagentcore.SmithyTargetConfiguration(api_schema)
- Parameters:
smithy_model (
ApiSchema)
Methods
- bind(scope, gateway)
Binds this configuration to a construct scope Sets up necessary permissions for the gateway to access the Smithy model.
- Parameters:
- Return type:
Attributes
- smithy_model
The Smithy model that defines the API.
- target_type
The target type.
Static Methods