Skip to content
v2.275.0

ValueImportanceItemProperty Struct ​

Specifies a key-value pair of the search boost value for a document when the key is part of the metadata of a document.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_kendra as kendra } from 'aws-cdk-lib';
const valueImportanceItemProperty: kendra.CfnIndex.ValueImportanceItemProperty = {
  key: 'key',
  value: 123,
};

Properties ​

keyoptionalstringkeyoptionalstrkeyoptionalStringKeyoptionalstringKeyoptional*string#
The document metadata value used for the search boost.
valueoptionalnumbervalueoptionalint | floatvalueoptionalNumberValueoptionaldoubleValueoptional*float64#
The boost value for a document when the key is part of the metadata of a document.