interface ValueImportanceItemProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.Kendra.CfnIndex.ValueImportanceItemProperty |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awskendra#CfnIndex_ValueImportanceItemProperty |
Java | software.amazon.awscdk.services.kendra.CfnIndex.ValueImportanceItemProperty |
Python | aws_cdk.aws_kendra.CfnIndex.ValueImportanceItemProperty |
TypeScript | aws-cdk-lib » 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 { aws_kendra as kendra } from 'aws-cdk-lib';
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.

.NET
Go
Java
Python
TypeScript