Class CfnFeaturedResultsSet
java.lang.Object
software.amazon.jsii.JsiiObject
software.constructs.Construct
software.amazon.awscdk.CfnElement
software.amazon.awscdk.CfnRefElement
software.amazon.awscdk.CfnResource
software.amazon.awscdk.services.kendra.CfnFeaturedResultsSet
- All Implemented Interfaces:
IInspectable,IEnvironmentAware,IFeaturedResultsSetRef,ITaggableV2,software.amazon.jsii.JsiiSerializable,software.constructs.IConstruct,software.constructs.IDependable
@Generated(value="jsii-pacmak/1.140.0 (build 79fd58c)",
date="2026-09-30T11:04:54.340Z")
@Stability(Stable)
public class CfnFeaturedResultsSet
extends CfnResource
implements IInspectable, IFeaturedResultsSetRef, ITaggableV2
Resource Type definition for AWS::Kendra::FeaturedResultsSet.
A set of featured results that are displayed at the top of your search results. Featured results are placed above all other results for certain queries. If there's an exact match of a query, then one or more specific documents are featured in the search results.
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.*;
CfnFeaturedResultsSet cfnFeaturedResultsSet = CfnFeaturedResultsSet.Builder.create(this, "MyCfnFeaturedResultsSet")
.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 TypeClassDescriptionstatic final classA fluent builder forCfnFeaturedResultsSet.static interfaceA featured document.Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.constructs.IConstruct
software.constructs.IConstruct.Jsii$DefaultNested classes/interfaces inherited from interface software.amazon.awscdk.interfaces.kendra.IFeaturedResultsSetRef
IFeaturedResultsSetRef.Jsii$Default, IFeaturedResultsSetRef.Jsii$ProxyNested classes/interfaces inherited from interface software.amazon.awscdk.IInspectable
IInspectable.Jsii$Default, IInspectable.Jsii$ProxyNested classes/interfaces inherited from interface software.amazon.awscdk.ITaggableV2
ITaggableV2.Jsii$Default, ITaggableV2.Jsii$Proxy -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringThe CloudFormation resource type name for this resource class. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedCfnFeaturedResultsSet(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protectedCfnFeaturedResultsSet(software.amazon.jsii.JsiiObjectRef objRef) CfnFeaturedResultsSet(software.constructs.Construct scope, String id, CfnFeaturedResultsSetProps props) Create a newAWS::Kendra::FeaturedResultsSet. -
Method Summary
Modifier and TypeMethodDescriptionstatic StringThe Amazon Resource Name (ARN) of the featured results set.The identifier of the set of featured results.Tag Manager which manages the tags for this resource.A description for the set of featured results.A 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.A reference to a FeaturedResultsSet resource.The identifier of the index that you want to use for featuring results.A list of queries for featuring results.The current status of the set of featured results.getTags()A list of key-value pairs that identify or categorize the featured results set.voidinspect(TreeInspector inspector) Examines the CloudFormation resource and discloses attributes.static BooleanChecks whether the given object is a CfnFeaturedResultsSet.renderProperties(Map<String, Object> props) voidsetDescription(String value) A description for the set of featured results.voidsetFeaturedDocuments(List<Object> value) A list of document IDs for the documents you want to feature at the top of the search results page.voidsetFeaturedDocuments(IResolvable value) A list of document IDs for the documents you want to feature at the top of the search results page.voidsetFeaturedResultsSetName(String value) A name for the set of featured results.voidsetIndexId(String value) The identifier of the index that you want to use for featuring results.voidsetQueryTexts(List<String> value) A list of queries for featuring results.voidThe current status of the set of featured results.voidA list of key-value pairs that identify or categorize the featured results set.Methods inherited from class software.amazon.awscdk.CfnResource
addDeletionOverride, addDependency, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, addResourceDependency, addResourceDependency, applyCrossStackReferenceStrength, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, cfnPropertyName, getAtt, getAtt, getCfnOptions, getCfnResourceType, getEnv, getMetadata, getUpdatedProperites, getUpdatedProperties, isCfnResource, obtainDependencies, removeDependency, removeResourceDependency, replaceDependency, shouldSynthesize, toString, validatePropertiesMethods inherited from class software.amazon.awscdk.CfnRefElement
getRefMethods inherited from class software.amazon.awscdk.CfnElement
getCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalId, withMethods inherited from class software.constructs.Construct
getNode, isConstructMethods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface software.constructs.IConstruct
getNode, withMethods inherited from interface software.amazon.awscdk.interfaces.IEnvironmentAware
getEnvMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Field Details
-
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
-
-
Constructor Details
-
CfnFeaturedResultsSet
protected CfnFeaturedResultsSet(software.amazon.jsii.JsiiObjectRef objRef) -
CfnFeaturedResultsSet
protected CfnFeaturedResultsSet(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
CfnFeaturedResultsSet
@Stability(Stable) public CfnFeaturedResultsSet(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull CfnFeaturedResultsSetProps props) Create a newAWS::Kendra::FeaturedResultsSet.- Parameters:
scope- Scope in which this resource is defined. This parameter is required.id- Construct identifier for this resource (unique in its scope). This parameter is required.props- Resource properties. This parameter is required.
-
-
Method Details
-
arnForFeaturedResultsSet
@Stability(Stable) @NotNull public static String arnForFeaturedResultsSet(@NotNull IFeaturedResultsSetRef resource) - Parameters:
resource- This parameter is required.
-
isCfnFeaturedResultsSet
Checks whether the given object is a CfnFeaturedResultsSet.- Parameters:
x- This parameter is required.
-
inspect
Examines the CloudFormation resource and discloses attributes.- Specified by:
inspectin interfaceIInspectable- Parameters:
inspector- tree inspector to collect and process attributes. This parameter is required.
-
renderProperties
@Stability(Stable) @NotNull protected Map<String,Object> renderProperties(@NotNull Map<String, Object> props) - Overrides:
renderPropertiesin classCfnResource- Parameters:
props- This parameter is required.
-
getAttrArn
The Amazon Resource Name (ARN) of the featured results set. -
getAttrFeaturedResultsSetId
The identifier of the set of featured results. -
getCdkTagManager
Tag Manager which manages the tags for this resource.- Specified by:
getCdkTagManagerin interfaceITaggableV2
-
getCfnProperties
- Overrides:
getCfnPropertiesin classCfnResource
-
getCfnPropertyNames
- Overrides:
getCfnPropertyNamesin classCfnResource
-
getFeaturedResultsSetRef
A reference to a FeaturedResultsSet resource.- Specified by:
getFeaturedResultsSetRefin interfaceIFeaturedResultsSetRef
-
getFeaturedResultsSetName
A name for the set of featured results. -
setFeaturedResultsSetName
A name for the set of featured results. -
getIndexId
The identifier of the index that you want to use for featuring results. -
setIndexId
The identifier of the index that you want to use for featuring results. -
getDescription
A description for the set of featured results. -
setDescription
A description for the set of featured results. -
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> -
setFeaturedDocuments
A list of document IDs for the documents you want to feature at the top of the search results page. -
setFeaturedDocuments
A list of document IDs for the documents you want to feature at the top of the search results page. -
getQueryTexts
A list of queries for featuring results. -
setQueryTexts
A list of queries for featuring results. -
getStatus
The current status of the set of featured results. -
setStatus
The current status of the set of featured results. -
getTags
A list of key-value pairs that identify or categorize the featured results set. -
setTags
A list of key-value pairs that identify or categorize the featured results set.
-