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.



3591
3592
3593
3594
3595
3596
3597
3598
3599
3600
3601
3602
3603
3604
3605
3606
3607
3608
# File 'lib/aws-sdk-devopsagent/types.rb', line 3591

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.



3591
3592
3593
3594
3595
3596
3597
3598
3599
3600
3601
3602
3603
3604
3605
3606
3607
3608
# File 'lib/aws-sdk-devopsagent/types.rb', line 3591

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



3591
3592
3593
3594
3595
3596
3597
3598
3599
3600
3601
3602
3603
3604
3605
3606
3607
3608
# File 'lib/aws-sdk-devopsagent/types.rb', line 3591

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.



3591
3592
3593
3594
3595
3596
3597
3598
3599
3600
3601
3602
3603
3604
3605
3606
3607
3608
# File 'lib/aws-sdk-devopsagent/types.rb', line 3591

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.



3591
3592
3593
3594
3595
3596
3597
3598
3599
3600
3601
3602
3603
3604
3605
3606
3607
3608
# File 'lib/aws-sdk-devopsagent/types.rb', line 3591

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



3591
3592
3593
# File 'lib/aws-sdk-devopsagent/types.rb', line 3591

def unknown
  @unknown
end