# MemoryRecordSchemaProperty

- Source: Generated code
- Type last changed: v2.253.0 · 6 May 2026

## Example

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_bedrockagentcore as bedrockagentcore } from 'aws-cdk-lib';
const memoryRecordSchemaProperty: bedrockagentcore.CfnMemory.MemoryRecordSchemaProperty = {
  metadataSchema: [{
    key: 'key',

    // the properties below are optional
    extractionConfig: {
      llmExtractionConfig: {
        definition: 'definition',

        // the properties below are optional
        llmExtractionInstruction: 'llmExtractionInstruction',
        validation: {
          numberValidation: {
            maxValue: 123,
            minValue: 123,
          },
          stringListValidation: {
            allowedValues: ['allowedValues'],
            maxItems: 123,
          },
          stringValidation: {
            allowedValues: ['allowedValues'],
          },
        },
      },
    },
    extractionType: 'extractionType',
    type: 'type',
  }],
};
```

## Properties

- `metadataSchema`: [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnMemory.MetadataSchemaEntryProperty](/cdk/api/v2/docs/aws-cdk-lib.aws_bedrockagentcore.CfnMemory.MetadataSchemaEntryProperty.html)[] — List of metadata schema entries.
