Interface CfnFeaturedResultsSetProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnFeaturedResultsSetProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.140.0 (build 79fd58c)",
date="2026-09-30T11:04:54.341Z")
@Stability(Stable)
public interface CfnFeaturedResultsSetProps
extends software.amazon.jsii.JsiiSerializable
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 software.amazon.awscdk.services.kendra.*;
CfnFeaturedResultsSetProps cfnFeaturedResultsSetProps = CfnFeaturedResultsSetProps.builder()
.featuredResultsSetName("featuredResultsSetName")
.indexId("indexId")
// the properties below are optional
.description("description")
.featuredDocuments(List.of(FeaturedDocumentProperty.builder()
.id("id")
.build()))
.queryTexts(List.of("queryTexts"))
.status("status")
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnFeaturedResultsSetPropsstatic final classAn implementation forCfnFeaturedResultsSetProps -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default StringA description for the set of featured results.default ObjectA list of document IDs for the documents you want to feature at the top of the search results page.A name for the set of featured results.The identifier of the index that you want to use for featuring results.A list of queries for featuring results.default StringThe current status of the set of featured results.getTags()A list of key-value pairs that identify or categorize the featured results set.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getFeaturedResultsSetName
A name for the set of featured results.- See Also:
-
getIndexId
The identifier of the index that you want to use for featuring results.- See Also:
-
getDescription
A description for the set of featured results.- See Also:
-
getFeaturedDocuments
A list of document IDs for the documents you want to feature at the top of the search results page.Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnFeaturedResultsSet.FeaturedDocumentProperty>- See Also:
-
getQueryTexts
A list of queries for featuring results.- See Also:
-
getStatus
The current status of the set of featured results.When the value is ACTIVE, featured results are ready for use.
- See Also:
-
getTags
A list of key-value pairs that identify or categorize the featured results set.- See Also:
-
builder
- Returns:
- a
CfnFeaturedResultsSetProps.BuilderofCfnFeaturedResultsSetProps
-