Class: Aws::BedrockAgentCoreControl::Types::McpTargetConfiguration

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

Overview

Note:

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

Note:

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

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

Defined Under Namespace

Classes: ApiGateway, Connector, Lambda, McpServer, OpenApiSchema, SmithyModel, Unknown

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#api_gateway ⇒ Types::ApiGatewayTargetConfiguration

The configuration for an Amazon API Gateway target.



15979
15980
15981
15982
15983
15984
15985
15986
15987
15988
15989
15990
15991
15992
15993
15994
15995
15996
15997
15998
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/types.rb', line 15979

class McpTargetConfiguration < Struct.new(
  :open_api_schema,
  :smithy_model,
  :lambda,
  :mcp_server,
  :api_gateway,
  :connector,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class OpenApiSchema < McpTargetConfiguration; end
  class SmithyModel < McpTargetConfiguration; end
  class Lambda < McpTargetConfiguration; end
  class McpServer < McpTargetConfiguration; end
  class ApiGateway < McpTargetConfiguration; end
  class Connector < McpTargetConfiguration; end
  class Unknown < McpTargetConfiguration; end
end

#connector ⇒ Types::ConnectorTargetConfiguration

The connector integration configuration for the Model Context Protocol target. This configuration defines how the gateway uses a pre-built connector to communicate with the target.



15979
15980
15981
15982
15983
15984
15985
15986
15987
15988
15989
15990
15991
15992
15993
15994
15995
15996
15997
15998
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/types.rb', line 15979

class McpTargetConfiguration < Struct.new(
  :open_api_schema,
  :smithy_model,
  :lambda,
  :mcp_server,
  :api_gateway,
  :connector,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class OpenApiSchema < McpTargetConfiguration; end
  class SmithyModel < McpTargetConfiguration; end
  class Lambda < McpTargetConfiguration; end
  class McpServer < McpTargetConfiguration; end
  class ApiGateway < McpTargetConfiguration; end
  class Connector < McpTargetConfiguration; end
  class Unknown < McpTargetConfiguration; end
end

#lambda ⇒ Types::McpLambdaTargetConfiguration

The Lambda configuration for the Model Context Protocol target. This configuration defines how the gateway uses a Lambda function to communicate with the target.



15979
15980
15981
15982
15983
15984
15985
15986
15987
15988
15989
15990
15991
15992
15993
15994
15995
15996
15997
15998
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/types.rb', line 15979

class McpTargetConfiguration < Struct.new(
  :open_api_schema,
  :smithy_model,
  :lambda,
  :mcp_server,
  :api_gateway,
  :connector,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class OpenApiSchema < McpTargetConfiguration; end
  class SmithyModel < McpTargetConfiguration; end
  class Lambda < McpTargetConfiguration; end
  class McpServer < McpTargetConfiguration; end
  class ApiGateway < McpTargetConfiguration; end
  class Connector < McpTargetConfiguration; end
  class Unknown < McpTargetConfiguration; end
end

#mcp_server ⇒ Types::McpServerTargetConfiguration

The MCP server specified as the gateway target.



15979
15980
15981
15982
15983
15984
15985
15986
15987
15988
15989
15990
15991
15992
15993
15994
15995
15996
15997
15998
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/types.rb', line 15979

class McpTargetConfiguration < Struct.new(
  :open_api_schema,
  :smithy_model,
  :lambda,
  :mcp_server,
  :api_gateway,
  :connector,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class OpenApiSchema < McpTargetConfiguration; end
  class SmithyModel < McpTargetConfiguration; end
  class Lambda < McpTargetConfiguration; end
  class McpServer < McpTargetConfiguration; end
  class ApiGateway < McpTargetConfiguration; end
  class Connector < McpTargetConfiguration; end
  class Unknown < McpTargetConfiguration; end
end

#open_api_schema ⇒ Types::ApiSchemaConfiguration

The OpenAPI schema for the Model Context Protocol target. This schema defines the API structure of the target.



15979
15980
15981
15982
15983
15984
15985
15986
15987
15988
15989
15990
15991
15992
15993
15994
15995
15996
15997
15998
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/types.rb', line 15979

class McpTargetConfiguration < Struct.new(
  :open_api_schema,
  :smithy_model,
  :lambda,
  :mcp_server,
  :api_gateway,
  :connector,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class OpenApiSchema < McpTargetConfiguration; end
  class SmithyModel < McpTargetConfiguration; end
  class Lambda < McpTargetConfiguration; end
  class McpServer < McpTargetConfiguration; end
  class ApiGateway < McpTargetConfiguration; end
  class Connector < McpTargetConfiguration; end
  class Unknown < McpTargetConfiguration; end
end

#smithy_model ⇒ Types::ApiSchemaConfiguration

The Smithy model for the Model Context Protocol target. This model defines the API structure of the target using the Smithy specification.



15979
15980
15981
15982
15983
15984
15985
15986
15987
15988
15989
15990
15991
15992
15993
15994
15995
15996
15997
15998
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/types.rb', line 15979

class McpTargetConfiguration < Struct.new(
  :open_api_schema,
  :smithy_model,
  :lambda,
  :mcp_server,
  :api_gateway,
  :connector,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class OpenApiSchema < McpTargetConfiguration; end
  class SmithyModel < McpTargetConfiguration; end
  class Lambda < McpTargetConfiguration; end
  class McpServer < McpTargetConfiguration; end
  class ApiGateway < McpTargetConfiguration; end
  class Connector < McpTargetConfiguration; end
  class Unknown < McpTargetConfiguration; end
end

#unknown ⇒ Object

Returns the value of attribute unknown

Returns:

  • (Object) —

    the current value of unknown



15979
15980
15981
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/types.rb', line 15979

def unknown
  @unknown
end