Skip to content
v2.275.0

SchemaValidationConfigProperty Struct ​

Specific schema validation configuration settings that tell Lambda the message attributes you want to validate and filter using your schema registry.

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 schemaValidationConfigProperty: lambda.CfnEventSourceMapping.SchemaValidationConfigProperty = {
  attribute: 'attribute',
};

Properties ​

attributeoptionalstringattributeoptionalstrattributeoptionalStringAttributeoptionalstringAttributeoptional*string#
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.