CustomConfigurationInputProperty Struct
The memory configuration input.
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 customConfigurationInputProperty: bedrockagentcore.CfnMemory.CustomConfigurationInputProperty = {
episodicOverride: {
consolidation: {
appendToPrompt: 'appendToPrompt',
modelId: 'modelId',
},
extraction: {
appendToPrompt: 'appendToPrompt',
modelId: 'modelId',
},
reflection: {
appendToPrompt: 'appendToPrompt',
modelId: 'modelId',
// the properties below are optional
memoryRecordSchema: {
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',
}],
},
namespaces: ['namespaces'],
namespaceTemplates: ['namespaceTemplates'],
},
},
selfManagedConfiguration: {
historicalContextWindowSize: 123,
invocationConfiguration: {
payloadDeliveryBucketName: 'payloadDeliveryBucketName',
topicArn: 'topicArn',
},
triggerConditions: [{
messageBasedTrigger: {
messageCount: 123,
},
timeBasedTrigger: {
idleSessionTimeout: 123,
},
tokenBasedTrigger: {
tokenCount: 123,
},
}],
},
semanticOverride: {
consolidation: {
appendToPrompt: 'appendToPrompt',
modelId: 'modelId',
},
extraction: {
appendToPrompt: 'appendToPrompt',
modelId: 'modelId',
},
},
summaryOverride: {
consolidation: {
appendToPrompt: 'appendToPrompt',
modelId: 'modelId',
},
},
userPreferenceOverride: {
consolidation: {
appendToPrompt: 'appendToPrompt',
modelId: 'modelId',
},
extraction: {
appendToPrompt: 'appendToPrompt',
modelId: 'modelId',
},
},
};
Properties
episodicOverrideoptionalIResolvable | CfnMemory.EpisodicOverridePropertyepisodic_overrideoptionaltyping.Union[IResolvable, EpisodicOverrideProperty]episodicOverrideoptionalIResolvableEpisodicOverrideoptionalIResolvableEpisodicOverrideoptionalinterface{}#selfManagedConfigurationoptionalIResolvable | CfnMemory.SelfManagedConfigurationPropertyself_managed_configurationoptionaltyping.Union[IResolvable, SelfManagedConfigurationProperty]selfManagedConfigurationoptionalIResolvableSelfManagedConfigurationoptionalIResolvableSelfManagedConfigurationoptionalinterface{}#The custom configuration input.
semanticOverrideoptionalIResolvable | CfnMemory.SemanticOverridePropertysemantic_overrideoptionaltyping.Union[IResolvable, SemanticOverrideProperty]semanticOverrideoptionalIResolvableSemanticOverrideoptionalIResolvableSemanticOverrideoptionalinterface{}#The memory override configuration.
summaryOverrideoptionalIResolvable | CfnMemory.SummaryOverridePropertysummary_overrideoptionaltyping.Union[IResolvable, SummaryOverrideProperty]summaryOverrideoptionalIResolvableSummaryOverrideoptionalIResolvableSummaryOverrideoptionalinterface{}#The memory configuration override.
userPreferenceOverrideoptionalIResolvable | CfnMemory.UserPreferenceOverridePropertyuser_preference_overrideoptionaltyping.Union[IResolvable, UserPreferenceOverrideProperty]userPreferenceOverrideoptionalIResolvableUserPreferenceOverrideoptionalIResolvableUserPreferenceOverrideoptionalinterface{}#The memory user preference override.