Files
agent-claw/cdk/node_modules/aws-cdk-lib/aws-lambda-event-sources/lib/confluent-schema-registry.d.ts
2026-05-06 18:55:16 -05:00

36 lines
1.2 KiB
TypeScript

import type { IEventSourceMapping, IFunction } from '../../aws-lambda/lib';
import type { ISchemaRegistry, KafkaSchemaRegistryAccessConfigType, KafkaSchemaRegistryConfig, SchemaRegistryProps } from '../../aws-lambda/lib/schema-registry';
import type { ISecret } from '../../aws-secretsmanager';
/**
* Properties for confluent schema registry configuration.
*/
export interface ConfluentSchemaRegistryProps extends SchemaRegistryProps {
/**
* The URI for your schema registry.
*
* @default - none
*/
readonly schemaRegistryUri: string;
/**
* The type of authentication for schema registry credentials.
* @default none
*/
readonly authenticationType: KafkaSchemaRegistryAccessConfigType;
/**
* The secret with the schema registry credentials.
* @default none
*/
readonly secret: ISecret;
}
/**
* Confluent schema registry configuration for a Lambda event source.
*/
export declare class ConfluentSchemaRegistry implements ISchemaRegistry {
private readonly props;
constructor(props: ConfluentSchemaRegistryProps);
/**
* Returns a schema registry configuration.
*/
bind(_target: IEventSourceMapping, targetHandler: IFunction): KafkaSchemaRegistryConfig;
}