# SchemaRegistryConfigProperty

Specific configuration settings for a Kafka schema registry.

- Source: Generated code
- Type last changed: v2.201.0 · 13 Jun 2025

## Example

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_lambda as lambda } from 'aws-cdk-lib';
const schemaRegistryConfigProperty: lambda.CfnEventSourceMapping.SchemaRegistryConfigProperty = {
  accessConfigs: [{
    type: 'type',
    uri: 'uri',
  }],
  eventRecordFormat: 'eventRecordFormat',
  schemaRegistryUri: 'schemaRegistryUri',
  schemaValidationConfigs: [{
    attribute: 'attribute',
  }],
};
```

## Properties

- `accessConfigs`: [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnEventSourceMapping.SchemaRegistryAccessConfigProperty](/cdk/api/v2/docs/aws-cdk-lib.aws_lambda.CfnEventSourceMapping.SchemaRegistryAccessConfigProperty.html)[] — An array of access configuration objects that tell Lambda how to authenticate with your schema registry.

- `eventRecordFormat`: string — The record format that Lambda delivers to your function after schema validation.

  - Choose `JSON` to have Lambda deliver the record to your function as a standard JSON object.
  - Choose `SOURCE` to have Lambda deliver the record to your function in its original source format. Lambda removes all schema metadata, such as the schema ID, before sending the record to your function.

- `schemaRegistryUri`: string — The URI for your schema registry. The correct URI format depends on the type of schema registry you're using.

  - For AWS Glue schema registries, use the ARN of the registry.
  - For Confluent schema registries, use the URL of the registry.

- `schemaValidationConfigs`: [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnEventSourceMapping.SchemaValidationConfigProperty](/cdk/api/v2/docs/aws-cdk-lib.aws_lambda.CfnEventSourceMapping.SchemaValidationConfigProperty.html)[] — An array of schema validation configuration objects, which tell Lambda the message attributes you want to validate and filter using your schema registry.
