KafkaSchemaRegistryAccessConfigο
- class aws_cdk.aws_lambda.KafkaSchemaRegistryAccessConfig(*, type, uri)ο
Bases:
objectSpecific access configuration settings that tell Lambda how to authenticate with your schema registry.
If youβre working with an AWS 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 AWS Secrets Manager secret ARN in the URI field.
- Parameters:
type (
KafkaSchemaRegistryAccessConfigType) β The type of authentication Lambda uses to access your schema registry.uri (
str) β The URI of the secret (Secrets Manager secret ARN) to authenticate with your schema registry.
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk import aws_lambda as lambda_ # kafka_schema_registry_access_config_type: lambda.KafkaSchemaRegistryAccessConfigType kafka_schema_registry_access_config = lambda.KafkaSchemaRegistryAccessConfig( type=kafka_schema_registry_access_config_type, uri="uri" )
Attributes
- typeο
The type of authentication Lambda uses to access your schema registry.
- uriο
The URI of the secret (Secrets Manager secret ARN) to authenticate with your schema registry.
- See:
KafkaSchemaRegistryAccessConfigType