interface ValueImportanceItemProperty
| Language | Type name | 
|---|---|
|  .NET | Amazon.CDK.AWS.Kendra.CfnIndex.ValueImportanceItemProperty | 
|  Java | software.amazon.awscdk.services.kendra.CfnIndex.ValueImportanceItemProperty | 
|  Python | aws_cdk.aws_kendra.CfnIndex.ValueImportanceItemProperty | 
|  TypeScript | @aws-cdk/aws-kendra»CfnIndex»ValueImportanceItemProperty | 
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
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as kendra from '@aws-cdk/aws-kendra';
const valueImportanceItemProperty: kendra.CfnIndex.ValueImportanceItemProperty = {
  key: 'key',
  value: 123,
};
Properties
| Name | Type | Description | 
|---|---|---|
| key? | string | The document metadata value used for the search boost. | 
| value? | number | The boost value for a document when the key is part of the metadata of a document. | 
key?
Type:
string
(optional)
The document metadata value used for the search boost.
value?
Type:
number
(optional)
The boost value for a document when the key is part of the metadata of a document.
