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.



3509
3510
3511
3512
3513
3514
3515
3516
3517
3518
3519
3520
3521
3522
3523
3524
3525
3526
# File 'lib/aws-sdk-devopsagent/types.rb', line 3509

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.



3509
3510
3511
3512
3513
3514
3515
3516
3517
3518
3519
3520
3521
3522
3523
3524
3525
3526
# File 'lib/aws-sdk-devopsagent/types.rb', line 3509

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



3509
3510
3511
3512
3513
3514
3515
3516
3517
3518
3519
3520
3521
3522
3523
3524
3525
3526
# File 'lib/aws-sdk-devopsagent/types.rb', line 3509

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.



3509
3510
3511
3512
3513
3514
3515
3516
3517
3518
3519
3520
3521
3522
3523
3524
3525
3526
# File 'lib/aws-sdk-devopsagent/types.rb', line 3509

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.



3509
3510
3511
3512
3513
3514
3515
3516
3517
3518
3519
3520
3521
3522
3523
3524
3525
3526
# File 'lib/aws-sdk-devopsagent/types.rb', line 3509

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



3509
3510
3511
# File 'lib/aws-sdk-devopsagent/types.rb', line 3509

def unknown
  @unknown
end