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.



11633
11634
11635
11636
11637
11638
11639
11640
11641
11642
11643
11644
11645
11646
11647
11648
11649
11650
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/types.rb', line 11633

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.



11633
11634
11635
11636
11637
11638
11639
11640
11641
11642
11643
11644
11645
11646
11647
11648
11649
11650
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/types.rb', line 11633

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.



11633
11634
11635
11636
11637
11638
11639
11640
11641
11642
11643
11644
11645
11646
11647
11648
11649
11650
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/types.rb', line 11633

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.



11633
11634
11635
11636
11637
11638
11639
11640
11641
11642
11643
11644
11645
11646
11647
11648
11649
11650
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/types.rb', line 11633

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.



11633
11634
11635
11636
11637
11638
11639
11640
11641
11642
11643
11644
11645
11646
11647
11648
11649
11650
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/types.rb', line 11633

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



11633
11634
11635
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/types.rb', line 11633

def unknown
  @unknown
end