Class: Aws::DevOpsAgent::Types::MCPServerAuthorizationConfig

Inherits:
Struct
  • Object
show all
Includes:
Structure, Structure::Union
Defined in:
lib/aws-sdk-devopsagent/types.rb

Overview

Note:

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

Authorization configuration options for MCP server, supporting OAuth, API key, bearer token, and authorization discovery methods.

Defined Under Namespace

Classes: ApiKey, AuthorizationDiscovery, BearerToken, OAuth3Lo, OAuthClientCredentials, Unknown

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#api_keyTypes::MCPServerAPIKeyConfig

MCP server configuration with API key authentication.



3706
3707
3708
3709
3710
3711
3712
3713
3714
3715
3716
3717
3718
3719
3720
3721
3722
3723
# File 'lib/aws-sdk-devopsagent/types.rb', line 3706

class MCPServerAuthorizationConfig < Struct.new(
  :o_auth_client_credentials,
  :o_auth_3_lo,
  :api_key,
  :bearer_token,
  :authorization_discovery,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class OAuthClientCredentials < MCPServerAuthorizationConfig; end
  class OAuth3Lo < MCPServerAuthorizationConfig; end
  class ApiKey < MCPServerAuthorizationConfig; end
  class BearerToken < MCPServerAuthorizationConfig; end
  class AuthorizationDiscovery < MCPServerAuthorizationConfig; end
  class Unknown < MCPServerAuthorizationConfig; end
end

#authorization_discoveryTypes::MCPServerAuthorizationDiscoveryConfig

MCP server authorization discovery configuration.



3706
3707
3708
3709
3710
3711
3712
3713
3714
3715
3716
3717
3718
3719
3720
3721
3722
3723
# File 'lib/aws-sdk-devopsagent/types.rb', line 3706

class MCPServerAuthorizationConfig < Struct.new(
  :o_auth_client_credentials,
  :o_auth_3_lo,
  :api_key,
  :bearer_token,
  :authorization_discovery,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class OAuthClientCredentials < MCPServerAuthorizationConfig; end
  class OAuth3Lo < MCPServerAuthorizationConfig; end
  class ApiKey < MCPServerAuthorizationConfig; end
  class BearerToken < MCPServerAuthorizationConfig; end
  class AuthorizationDiscovery < MCPServerAuthorizationConfig; end
  class Unknown < MCPServerAuthorizationConfig; end
end

#bearer_tokenTypes::MCPServerBearerTokenConfig

MCP server configuration with Bearer token (RFC 6750).



3706
3707
3708
3709
3710
3711
3712
3713
3714
3715
3716
3717
3718
3719
3720
3721
3722
3723
# File 'lib/aws-sdk-devopsagent/types.rb', line 3706

class MCPServerAuthorizationConfig < Struct.new(
  :o_auth_client_credentials,
  :o_auth_3_lo,
  :api_key,
  :bearer_token,
  :authorization_discovery,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class OAuthClientCredentials < MCPServerAuthorizationConfig; end
  class OAuth3Lo < MCPServerAuthorizationConfig; end
  class ApiKey < MCPServerAuthorizationConfig; end
  class BearerToken < MCPServerAuthorizationConfig; end
  class AuthorizationDiscovery < MCPServerAuthorizationConfig; end
  class Unknown < MCPServerAuthorizationConfig; end
end

#o_auth_3_loTypes::MCPServerOAuth3LOConfig

MCP server configuration with OAuth 3LO.



3706
3707
3708
3709
3710
3711
3712
3713
3714
3715
3716
3717
3718
3719
3720
3721
3722
3723
# File 'lib/aws-sdk-devopsagent/types.rb', line 3706

class MCPServerAuthorizationConfig < Struct.new(
  :o_auth_client_credentials,
  :o_auth_3_lo,
  :api_key,
  :bearer_token,
  :authorization_discovery,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class OAuthClientCredentials < MCPServerAuthorizationConfig; end
  class OAuth3Lo < MCPServerAuthorizationConfig; end
  class ApiKey < MCPServerAuthorizationConfig; end
  class BearerToken < MCPServerAuthorizationConfig; end
  class AuthorizationDiscovery < MCPServerAuthorizationConfig; end
  class Unknown < MCPServerAuthorizationConfig; end
end

#o_auth_client_credentialsTypes::MCPServerOAuthClientCredentialsConfig

MCP server configuration with OAuth client credentials.



3706
3707
3708
3709
3710
3711
3712
3713
3714
3715
3716
3717
3718
3719
3720
3721
3722
3723
# File 'lib/aws-sdk-devopsagent/types.rb', line 3706

class MCPServerAuthorizationConfig < Struct.new(
  :o_auth_client_credentials,
  :o_auth_3_lo,
  :api_key,
  :bearer_token,
  :authorization_discovery,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class OAuthClientCredentials < MCPServerAuthorizationConfig; end
  class OAuth3Lo < MCPServerAuthorizationConfig; end
  class ApiKey < MCPServerAuthorizationConfig; end
  class BearerToken < MCPServerAuthorizationConfig; end
  class AuthorizationDiscovery < MCPServerAuthorizationConfig; end
  class Unknown < MCPServerAuthorizationConfig; end
end

#unknownObject

Returns the value of attribute unknown

Returns:

  • (Object)

    the current value of unknown



3706
3707
3708
# File 'lib/aws-sdk-devopsagent/types.rb', line 3706

def unknown
  @unknown
end