HarnessToolConfiguration
Configuration union for different tool types.
Inheritors
Types
Configuration for AgentCore Browser.
Configuration for AgentCore Code Interpreter.
Configuration for AgentCore Gateway.
Configuration for an inline function tool.
Configuration for remote MCP server.
Functions
Casts this HarnessToolConfiguration as a AgentCoreBrowser and retrieves its aws.sdk.kotlin.services.bedrockagentcorecontrol.model.HarnessAgentCoreBrowserConfig value. Throws an exception if the HarnessToolConfiguration is not a AgentCoreBrowser.
Casts this HarnessToolConfiguration as a AgentCoreBrowser and retrieves its aws.sdk.kotlin.services.bedrockagentcorecontrol.model.HarnessAgentCoreBrowserConfig value. Returns null if the HarnessToolConfiguration is not a AgentCoreBrowser.
Casts this HarnessToolConfiguration as a AgentCoreCodeInterpreter and retrieves its aws.sdk.kotlin.services.bedrockagentcorecontrol.model.HarnessAgentCoreCodeInterpreterConfig value. Throws an exception if the HarnessToolConfiguration is not a AgentCoreCodeInterpreter.
Casts this HarnessToolConfiguration as a AgentCoreCodeInterpreter and retrieves its aws.sdk.kotlin.services.bedrockagentcorecontrol.model.HarnessAgentCoreCodeInterpreterConfig value. Returns null if the HarnessToolConfiguration is not a AgentCoreCodeInterpreter.
Casts this HarnessToolConfiguration as a AgentCoreGateway and retrieves its aws.sdk.kotlin.services.bedrockagentcorecontrol.model.HarnessAgentCoreGatewayConfig value. Throws an exception if the HarnessToolConfiguration is not a AgentCoreGateway.
Casts this HarnessToolConfiguration as a AgentCoreGateway and retrieves its aws.sdk.kotlin.services.bedrockagentcorecontrol.model.HarnessAgentCoreGatewayConfig value. Returns null if the HarnessToolConfiguration is not a AgentCoreGateway.
Casts this HarnessToolConfiguration as a InlineFunction and retrieves its aws.sdk.kotlin.services.bedrockagentcorecontrol.model.HarnessInlineFunctionConfig value. Throws an exception if the HarnessToolConfiguration is not a InlineFunction.
Casts this HarnessToolConfiguration as a InlineFunction and retrieves its aws.sdk.kotlin.services.bedrockagentcorecontrol.model.HarnessInlineFunctionConfig value. Returns null if the HarnessToolConfiguration is not a InlineFunction.
Casts this HarnessToolConfiguration as a RemoteMcp and retrieves its aws.sdk.kotlin.services.bedrockagentcorecontrol.model.HarnessRemoteMcpConfig value. Throws an exception if the HarnessToolConfiguration is not a RemoteMcp.
Casts this HarnessToolConfiguration as a RemoteMcp and retrieves its aws.sdk.kotlin.services.bedrockagentcorecontrol.model.HarnessRemoteMcpConfig value. Returns null if the HarnessToolConfiguration is not a RemoteMcp.