Class: Aws::BedrockAgentCoreControl::Types::CredentialProvider

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/types.rb

Overview

Note:

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

Note:

CredentialProvider is a union - when returned from an API call exactly one value will be set and the returned type will be a subclass of CredentialProvider corresponding to the set member.

A credential provider for gateway authentication. This structure contains the configuration for authenticating with the target endpoint.

Defined Under Namespace

Classes: ApiKeyCredentialProvider, IamCredentialProvider, OauthCredentialProvider, Unknown

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#api_key_credential_providerTypes::ApiKeyCredentialProvider

The API key credential provider. This provider uses an API key to authenticate with the target endpoint.



2908
2909
2910
2911
2912
2913
2914
2915
2916
2917
2918
2919
2920
2921
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/types.rb', line 2908

class CredentialProvider < Struct.new(
  :oauth_credential_provider,
  :api_key_credential_provider,
  :iam_credential_provider,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class OauthCredentialProvider < CredentialProvider; end
  class ApiKeyCredentialProvider < CredentialProvider; end
  class IamCredentialProvider < CredentialProvider; end
  class Unknown < CredentialProvider; end
end

#iam_credential_providerTypes::IamCredentialProvider

The IAM credential provider. This provider uses IAM authentication with SigV4 signing to access the target endpoint.



2908
2909
2910
2911
2912
2913
2914
2915
2916
2917
2918
2919
2920
2921
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/types.rb', line 2908

class CredentialProvider < Struct.new(
  :oauth_credential_provider,
  :api_key_credential_provider,
  :iam_credential_provider,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class OauthCredentialProvider < CredentialProvider; end
  class ApiKeyCredentialProvider < CredentialProvider; end
  class IamCredentialProvider < CredentialProvider; end
  class Unknown < CredentialProvider; end
end

#oauth_credential_providerTypes::OAuthCredentialProvider

The OAuth credential provider. This provider uses OAuth authentication to access the target endpoint.



2908
2909
2910
2911
2912
2913
2914
2915
2916
2917
2918
2919
2920
2921
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/types.rb', line 2908

class CredentialProvider < Struct.new(
  :oauth_credential_provider,
  :api_key_credential_provider,
  :iam_credential_provider,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class OauthCredentialProvider < CredentialProvider; end
  class ApiKeyCredentialProvider < CredentialProvider; end
  class IamCredentialProvider < CredentialProvider; end
  class Unknown < CredentialProvider; end
end

#unknownObject

Returns the value of attribute unknown

Returns:

  • (Object)

    the current value of unknown



2908
2909
2910
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/types.rb', line 2908

def unknown
  @unknown
end