interface SchemaValidationConfigProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.Lambda.CfnEventSourceMapping.SchemaValidationConfigProperty |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awslambda#CfnEventSourceMapping_SchemaValidationConfigProperty |
Java | software.amazon.awscdk.services.lambda.CfnEventSourceMapping.SchemaValidationConfigProperty |
Python | aws_cdk.aws_lambda.CfnEventSourceMapping.SchemaValidationConfigProperty |
TypeScript | aws-cdk-lib » aws_lambda » CfnEventSourceMapping » SchemaValidationConfigProperty |
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';
const schemaValidationConfigProperty: lambda.CfnEventSourceMapping.SchemaValidationConfigProperty = {
attribute: 'attribute',
};
Properties
| Name | Type | Description |
|---|---|---|
| attribute? | string | The attributes you want your schema registry to validate and filter for. |
attribute?
Type:
string
(optional)
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