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.



3355
3356
3357
3358
3359
3360
3361
3362
3363
3364
3365
3366
3367
3368
3369
3370
3371
3372
# File 'lib/aws-sdk-devopsagent/types.rb', line 3355

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.



3355
3356
3357
3358
3359
3360
3361
3362
3363
3364
3365
3366
3367
3368
3369
3370
3371
3372
# File 'lib/aws-sdk-devopsagent/types.rb', line 3355

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



3355
3356
3357
3358
3359
3360
3361
3362
3363
3364
3365
3366
3367
3368
3369
3370
3371
3372
# File 'lib/aws-sdk-devopsagent/types.rb', line 3355

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.



3355
3356
3357
3358
3359
3360
3361
3362
3363
3364
3365
3366
3367
3368
3369
3370
3371
3372
# File 'lib/aws-sdk-devopsagent/types.rb', line 3355

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.



3355
3356
3357
3358
3359
3360
3361
3362
3363
3364
3365
3366
3367
3368
3369
3370
3371
3372
# File 'lib/aws-sdk-devopsagent/types.rb', line 3355

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



3355
3356
3357
# File 'lib/aws-sdk-devopsagent/types.rb', line 3355

def unknown
  @unknown
end