Skip to content
v2.275.0

MetadataSchemaEntryProperty 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 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 ​

extractionConfigoptionalIResolvable | CfnMemory.ExtractionConfigPropertyextraction_configoptionaltyping.Union[IResolvable, ExtractionConfigProperty]extractionConfigoptionalIResolvableExtractionConfigoptionalIResolvableExtractionConfigoptionalinterface{}#
extractionTypeoptionalstringextraction_typeoptionalstrextractionTypeoptionalStringExtractionTypeoptionalstringExtractionTypeoptional*string#
Specifies whether the metadata value is extracted by the LLM or passed through deterministically from the event.
keystringkeystrkeyStringKeystringKey*stringrequired#
Key name for metadata fields.
typeoptionalstringtypeoptionalstrtypeoptionalStringTypeoptionalstringTypeoptional*string#
Supported data types for metadata values.