# MetadataSchemaEntryProperty

- Source: Generated code
- Type last changed: v2.268.0 · 2 Sep 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 metadataSchemaEntryProperty: bedrockagentcore.CfnMemory.MetadataSchemaEntryProperty = {
  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

- `extractionConfig`: [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnMemory.ExtractionConfigProperty](/cdk/api/v2/docs/aws-cdk-lib.aws_bedrockagentcore.CfnMemory.ExtractionConfigProperty.html)

- `extractionType`: string — Specifies whether the metadata value is extracted by the LLM or passed through deterministically from the event.

- `key`: string (required) — Key name for metadata fields.

- `type`: string — Supported data types for metadata values.
