Class: Aws::BedrockAgentCoreControl::Types::TargetConfiguration

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/types.rb

Overview

Note:

TargetConfiguration is a union - when making an API calls you must set exactly one of the members.

Note:

TargetConfiguration is a union - when returned from an API call exactly one value will be set and the returned type will be a subclass of TargetConfiguration corresponding to the set member.

The configuration for a gateway target. This structure defines how the gateway connects to and interacts with the target endpoint.

Defined Under Namespace

Classes: Http, Mcp, Unknown

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#httpTypes::HttpTargetConfiguration

The HTTP target configuration. Use this to route gateway requests to an HTTP-based endpoint such as an AgentCore Runtime.



14721
14722
14723
14724
14725
14726
14727
14728
14729
14730
14731
14732
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/types.rb', line 14721

class TargetConfiguration < Struct.new(
  :mcp,
  :http,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class Mcp < TargetConfiguration; end
  class Http < TargetConfiguration; end
  class Unknown < TargetConfiguration; end
end

#mcpTypes::McpTargetConfiguration

The Model Context Protocol (MCP) configuration for the target. This configuration defines how the gateway uses MCP to communicate with the target.



14721
14722
14723
14724
14725
14726
14727
14728
14729
14730
14731
14732
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/types.rb', line 14721

class TargetConfiguration < Struct.new(
  :mcp,
  :http,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class Mcp < TargetConfiguration; end
  class Http < TargetConfiguration; end
  class Unknown < TargetConfiguration; end
end

#unknownObject

Returns the value of attribute unknown

Returns:

  • (Object)

    the current value of unknown



14721
14722
14723
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/types.rb', line 14721

def unknown
  @unknown
end