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_provider ⇒ Types::ApiKeyCredentialProvider

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



5242
5243
5244
5245
5246
5247
5248
5249
5250
5251
5252
5253
5254
5255
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/types.rb', line 5242

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_provider ⇒ Types::IamCredentialProvider

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



5242
5243
5244
5245
5246
5247
5248
5249
5250
5251
5252
5253
5254
5255
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/types.rb', line 5242

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_provider ⇒ Types::OAuthCredentialProvider

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



5242
5243
5244
5245
5246
5247
5248
5249
5250
5251
5252
5253
5254
5255
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/types.rb', line 5242

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

#unknown ⇒ Object

Returns the value of attribute unknown

Returns:

  • (Object) —

    the current value of unknown



5242
5243
5244
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/types.rb', line 5242

def unknown
  @unknown
end