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.

Direct Known Subclasses

Lambda, McpServer, OpenApiSchema, SmithyModel, Unknown

Defined Under Namespace

Classes: Lambda, McpServer, OpenApiSchema, SmithyModel, Unknown

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#lambdaTypes::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.



3837
3838
3839
3840
3841
3842
3843
3844
3845
3846
3847
3848
3849
3850
3851
3852
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/types.rb', line 3837

class McpTargetConfiguration < Struct.new(
  :open_api_schema,
  :smithy_model,
  :lambda,
  :mcp_server,
  :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 Unknown < McpTargetConfiguration; end
end

#mcp_serverTypes::McpServerTargetConfiguration

The MCP server specified as the gateway target.



3837
3838
3839
3840
3841
3842
3843
3844
3845
3846
3847
3848
3849
3850
3851
3852
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/types.rb', line 3837

class McpTargetConfiguration < Struct.new(
  :open_api_schema,
  :smithy_model,
  :lambda,
  :mcp_server,
  :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 Unknown < McpTargetConfiguration; end
end

#open_api_schemaTypes::ApiSchemaConfiguration

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



3837
3838
3839
3840
3841
3842
3843
3844
3845
3846
3847
3848
3849
3850
3851
3852
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/types.rb', line 3837

class McpTargetConfiguration < Struct.new(
  :open_api_schema,
  :smithy_model,
  :lambda,
  :mcp_server,
  :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 Unknown < McpTargetConfiguration; end
end

#smithy_modelTypes::ApiSchemaConfiguration

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



3837
3838
3839
3840
3841
3842
3843
3844
3845
3846
3847
3848
3849
3850
3851
3852
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/types.rb', line 3837

class McpTargetConfiguration < Struct.new(
  :open_api_schema,
  :smithy_model,
  :lambda,
  :mcp_server,
  :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 Unknown < McpTargetConfiguration; end
end

#unknownObject

Returns the value of attribute unknown

Returns:

  • (Object)

    the current value of unknown



3837
3838
3839
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/types.rb', line 3837

def unknown
  @unknown
end