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

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-devopsagent/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, CustomHeaders, OAuth3Lo, OAuthClientCredentials, Unknown

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#api_key ⇒ Types::MCPServerAPIKeyConfig

MCP server configuration with API key authentication.



3762
3763
3764
3765
3766
3767
3768
3769
3770
3771
3772
3773
3774
3775
3776
3777
3778
3779
3780
3781
# File 'gems/aws-sdk-devopsagent/lib/aws-sdk-devopsagent/types.rb', line 3762

class MCPServerAuthorizationConfig < Struct.new(
  :o_auth_client_credentials,
  :o_auth_3_lo,
  :api_key,
  :bearer_token,
  :custom_headers,
  :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 CustomHeaders < MCPServerAuthorizationConfig; end
  class AuthorizationDiscovery < MCPServerAuthorizationConfig; end
  class Unknown < MCPServerAuthorizationConfig; end
end

#authorization_discovery ⇒ Types::MCPServerAuthorizationDiscoveryConfig

MCP server authorization discovery configuration.



3762
3763
3764
3765
3766
3767
3768
3769
3770
3771
3772
3773
3774
3775
3776
3777
3778
3779
3780
3781
# File 'gems/aws-sdk-devopsagent/lib/aws-sdk-devopsagent/types.rb', line 3762

class MCPServerAuthorizationConfig < Struct.new(
  :o_auth_client_credentials,
  :o_auth_3_lo,
  :api_key,
  :bearer_token,
  :custom_headers,
  :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 CustomHeaders < MCPServerAuthorizationConfig; end
  class AuthorizationDiscovery < MCPServerAuthorizationConfig; end
  class Unknown < MCPServerAuthorizationConfig; end
end

#bearer_token ⇒ Types::MCPServerBearerTokenConfig

MCP server configuration with Bearer token (RFC 6750).



3762
3763
3764
3765
3766
3767
3768
3769
3770
3771
3772
3773
3774
3775
3776
3777
3778
3779
3780
3781
# File 'gems/aws-sdk-devopsagent/lib/aws-sdk-devopsagent/types.rb', line 3762

class MCPServerAuthorizationConfig < Struct.new(
  :o_auth_client_credentials,
  :o_auth_3_lo,
  :api_key,
  :bearer_token,
  :custom_headers,
  :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 CustomHeaders < MCPServerAuthorizationConfig; end
  class AuthorizationDiscovery < MCPServerAuthorizationConfig; end
  class Unknown < MCPServerAuthorizationConfig; end
end

#custom_headers ⇒ Types::MCPServerCustomHeadersConfig

MCP server configuration with one or more custom authentication headers.



3762
3763
3764
3765
3766
3767
3768
3769
3770
3771
3772
3773
3774
3775
3776
3777
3778
3779
3780
3781
# File 'gems/aws-sdk-devopsagent/lib/aws-sdk-devopsagent/types.rb', line 3762

class MCPServerAuthorizationConfig < Struct.new(
  :o_auth_client_credentials,
  :o_auth_3_lo,
  :api_key,
  :bearer_token,
  :custom_headers,
  :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 CustomHeaders < MCPServerAuthorizationConfig; end
  class AuthorizationDiscovery < MCPServerAuthorizationConfig; end
  class Unknown < MCPServerAuthorizationConfig; end
end

#o_auth_3_lo ⇒ Types::MCPServerOAuth3LOConfig

MCP server configuration with OAuth 3LO.



3762
3763
3764
3765
3766
3767
3768
3769
3770
3771
3772
3773
3774
3775
3776
3777
3778
3779
3780
3781
# File 'gems/aws-sdk-devopsagent/lib/aws-sdk-devopsagent/types.rb', line 3762

class MCPServerAuthorizationConfig < Struct.new(
  :o_auth_client_credentials,
  :o_auth_3_lo,
  :api_key,
  :bearer_token,
  :custom_headers,
  :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 CustomHeaders < MCPServerAuthorizationConfig; end
  class AuthorizationDiscovery < MCPServerAuthorizationConfig; end
  class Unknown < MCPServerAuthorizationConfig; end
end

#o_auth_client_credentials ⇒ Types::MCPServerOAuthClientCredentialsConfig

MCP server configuration with OAuth client credentials.



3762
3763
3764
3765
3766
3767
3768
3769
3770
3771
3772
3773
3774
3775
3776
3777
3778
3779
3780
3781
# File 'gems/aws-sdk-devopsagent/lib/aws-sdk-devopsagent/types.rb', line 3762

class MCPServerAuthorizationConfig < Struct.new(
  :o_auth_client_credentials,
  :o_auth_3_lo,
  :api_key,
  :bearer_token,
  :custom_headers,
  :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 CustomHeaders < MCPServerAuthorizationConfig; end
  class AuthorizationDiscovery < MCPServerAuthorizationConfig; end
  class Unknown < MCPServerAuthorizationConfig; end
end

#unknown ⇒ Object

Returns the value of attribute unknown

Returns:

  • (Object) —

    the current value of unknown



3762
3763
3764
# File 'gems/aws-sdk-devopsagent/lib/aws-sdk-devopsagent/types.rb', line 3762

def unknown
  @unknown
end