interface ValueImportanceItemProperty
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.Kendra.CfnIndex.ValueImportanceItemProperty |
![]() | github.com/aws/aws-cdk-go/awscdk/v2/awskendra#CfnIndex_ValueImportanceItemProperty |
![]() | software.amazon.awscdk.services.kendra.CfnIndex.ValueImportanceItemProperty |
![]() | aws_cdk.aws_kendra.CfnIndex.ValueImportanceItemProperty |
![]() | 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.