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