Skip to content
v2.274.0

MemoryRecordSchemaProperty Struct ​

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 ​

metadataSchemaoptionalIResolvable | IResolvable | CfnMemory.MetadataSchemaEntryProperty[]metadata_schemaoptionaltyping.Union[IResolvable, typing.List[typing.Union[IResolvable, MetadataSchemaEntryProperty]]]metadataSchemaoptionalIResolvableMetadataSchemaoptionalIResolvableMetadataSchemaoptionalinterface{}#
List of metadata schema entries.