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, Lambda, McpServer, OpenApiSchema, SmithyModel, Unknown

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#api_gatewayTypes::ApiGatewayTargetConfiguration

The configuration for an Amazon API Gateway target.



6536
6537
6538
6539
6540
6541
6542
6543
6544
6545
6546
6547
6548
6549
6550
6551
6552
6553
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/types.rb', line 6536

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

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



6536
6537
6538
6539
6540
6541
6542
6543
6544
6545
6546
6547
6548
6549
6550
6551
6552
6553
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/types.rb', line 6536

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

#mcp_serverTypes::McpServerTargetConfiguration

The MCP server specified as the gateway target.



6536
6537
6538
6539
6540
6541
6542
6543
6544
6545
6546
6547
6548
6549
6550
6551
6552
6553
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/types.rb', line 6536

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



6536
6537
6538
6539
6540
6541
6542
6543
6544
6545
6546
6547
6548
6549
6550
6551
6552
6553
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/types.rb', line 6536

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



6536
6537
6538
6539
6540
6541
6542
6543
6544
6545
6546
6547
6548
6549
6550
6551
6552
6553
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/types.rb', line 6536

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

#unknownObject

Returns the value of attribute unknown

Returns:

  • (Object)

    the current value of unknown



6536
6537
6538
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/types.rb', line 6536

def unknown
  @unknown
end