interface CfnFeaturedResultsSetProps
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.Kendra.CfnFeaturedResultsSetProps |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awskendra#CfnFeaturedResultsSetProps |
Java | software.amazon.awscdk.services.kendra.CfnFeaturedResultsSetProps |
Python | aws_cdk.aws_kendra.CfnFeaturedResultsSetProps |
TypeScript | aws-cdk-lib » aws_kendra » CfnFeaturedResultsSetProps |
Properties for defining a CfnFeaturedResultsSet.
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 cfnFeaturedResultsSetProps: kendra.CfnFeaturedResultsSetProps = {
featuredResultsSetName: 'featuredResultsSetName',
indexId: 'indexId',
// the properties below are optional
description: 'description',
featuredDocuments: [{
id: 'id',
}],
queryTexts: ['queryTexts'],
status: 'status',
tags: [{
key: 'key',
value: 'value',
}],
};
Properties
| Name | Type | Description |
|---|---|---|
| featured | string | A name for the set of featured results. |
| index | string | The identifier of the index that you want to use for featuring results. |
| description? | string | A description for the set of featured results. |
| featured | IResolvable | (IResolvable | Featured)[] | A list of document IDs for the documents you want to feature at the top of the search results page. |
| query | string[] | A list of queries for featuring results. |
| status? | string | The current status of the set of featured results. |
| tags? | Cfn[] | A list of key-value pairs that identify or categorize the featured results set. |
featuredResultsSetName
Type:
string
A name for the set of featured results.
indexId
Type:
string
The identifier of the index that you want to use for featuring results.
description?
Type:
string
(optional)
A description for the set of featured results.
featuredDocuments?
Type:
IResolvable | (IResolvable | Featured)[]
(optional)
A list of document IDs for the documents you want to feature at the top of the search results page.
queryTexts?
Type:
string[]
(optional)
A list of queries for featuring results.
status?
Type:
string
(optional)
The current status of the set of featured results.
When the value is ACTIVE, featured results are ready for use.
tags?
Type:
Cfn[]
(optional)
A list of key-value pairs that identify or categorize the featured results set.

.NET
Go
Java
Python
TypeScript