interface ValueImportanceItemProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.Kendra.Mixins.CfnIndexPropsMixin.ValueImportanceItemProperty |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awskendra/mixins#CfnIndexPropsMixin_ValueImportanceItemProperty |
Java | software.amazon.awscdk.mixins.preview.services.kendra.mixins.CfnIndexPropsMixin.ValueImportanceItemProperty |
Python | aws_cdk.mixins_preview.aws_kendra.mixins.CfnIndexPropsMixin.ValueImportanceItemProperty |
TypeScript | @aws-cdk/mixins-preview » aws_kendra » mixins » CfnIndexPropsMixin » 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 { mixins as kendra_mixins } from '@aws-cdk/mixins-preview/aws-kendra';
const valueImportanceItemProperty: kendra_mixins.CfnIndexPropsMixin.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