Class: Aws::Lambda::Types::KafkaSchemaRegistryAccessConfig

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

Overview

Specific access configuration settings that tell Lambda how to authenticate with your schema registry.

If you're working with an Glue schema registry, don't provide authentication details in this object. Instead, ensure that your execution role has the required permissions for Lambda to access your cluster.

If you're working with a Confluent schema registry, choose the authentication method in the Type field, and provide the Secrets Manager secret ARN in the URI field.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#type ⇒ String

The type of authentication Lambda uses to access your schema registry.

  • BASIC_AUTH – The Secrets Manager ARN of your secret key used for basic authentication with your Confluent schema registry.

  • CLIENT_CERTIFICATE_TLS_AUTH – The Secrets Manager ARN of your secret key containing the certificate chain (X.509 PEM), private key (PKCS#8 PEM), and private key password (optional) used for mutual TLS authentication with your Confluent schema registry.

  • SERVER_ROOT_CA_CERTIFICATE – The Secrets Manager ARN of your secret key containing the root CA certificate (X.509 PEM) used for TLS encryption with your Confluent schema registry.

  • OAUTHBEARER_AUTH – The Secrets Manager ARN of your secret key containing the OAuth 2.0 credentials that Lambda uses to acquire an access token for your Confluent schema registry. For the contents of the secret, see Configuring the OAuth secret.

Returns:

  • (String)


6185
6186
6187
6188
6189
6190
# File 'gems/aws-sdk-lambda/lib/aws-sdk-lambda/types.rb', line 6185

class KafkaSchemaRegistryAccessConfig < Struct.new(
  :type,
  :uri)
  SENSITIVE = []
  include Aws::Structure
end

#uri ⇒ String

The URI of the secret (Secrets Manager secret ARN) to authenticate with your schema registry.

Returns:

  • (String)


6185
6186
6187
6188
6189
6190
# File 'gems/aws-sdk-lambda/lib/aws-sdk-lambda/types.rb', line 6185

class KafkaSchemaRegistryAccessConfig < Struct.new(
  :type,
  :uri)
  SENSITIVE = []
  include Aws::Structure
end