interface KafkaSchemaValidationConfig
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.Lambda.KafkaSchemaValidationConfig |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awslambda#KafkaSchemaValidationConfig |
Java | software.amazon.awscdk.services.lambda.KafkaSchemaValidationConfig |
Python | aws_cdk.aws_lambda.KafkaSchemaValidationConfig |
TypeScript (source) | aws-cdk-lib » aws_lambda » KafkaSchemaValidationConfig |
Specific schema validation configuration settings that tell Lambda the message attributes you want to validate and filter using your schema registry.
Example
// 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';
declare const kafkaSchemaValidationAttribute: lambda.KafkaSchemaValidationAttribute;
const kafkaSchemaValidationConfig: lambda.KafkaSchemaValidationConfig = {
attribute: kafkaSchemaValidationAttribute,
};
Properties
| Name | Type | Description |
|---|---|---|
| attribute | Kafka | The attributes you want your schema registry to validate and filter for. |
attribute
Type:
Kafka
The attributes you want your schema registry to validate and filter for.
If you selected JSON as the EventRecordFormat, Lambda also deserializes the selected message attributes.

.NET
Go
Java
Python
TypeScript (