aws-cdk-lib.aws_kendra.CfnIndex.ValueImportanceItemProperty

interface ValueImportanceItemProperty

LanguageType name
.NETAmazon.CDK.AWS.Kendra.CfnIndex.ValueImportanceItemProperty
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awskendra#CfnIndex_ValueImportanceItemProperty
Javasoftware.amazon.awscdk.services.kendra.CfnIndex.ValueImportanceItemProperty
Pythonaws_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

NameTypeDescription
key?stringThe document metadata value used for the search boost.
value?numberThe 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.