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, Inference, Mcp, Unknown

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#http ⇒ Types::HttpTargetConfiguration

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



20333
20334
20335
20336
20337
20338
20339
20340
20341
20342
20343
20344
20345
20346
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/types.rb', line 20333

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

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

#inference ⇒ Types::InferenceTargetConfiguration

The inference configuration for the target. This configuration routes requests to a large language model (LLM) provider.



20333
20334
20335
20336
20337
20338
20339
20340
20341
20342
20343
20344
20345
20346
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/types.rb', line 20333

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

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

#mcp ⇒ Types::McpTargetConfiguration

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



20333
20334
20335
20336
20337
20338
20339
20340
20341
20342
20343
20344
20345
20346
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/types.rb', line 20333

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

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

#unknown ⇒ Object

Returns the value of attribute unknown

Returns:

  • (Object) —

    the current value of unknown



20333
20334
20335
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/types.rb', line 20333

def unknown
  @unknown
end