Class CfnRetriever
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.qbusiness.CfnRetriever
- All Implemented Interfaces:
IInspectable,ITaggableV2,IRetrieverRef,software.amazon.jsii.JsiiSerializable,software.constructs.IConstruct,software.constructs.IDependable
@Generated(value="jsii-pacmak/1.116.0 (build 0eddcff)",
date="2025-10-29T11:15:44.834Z")
@Stability(Stable)
public class CfnRetriever
extends CfnResource
implements IInspectable, IRetrieverRef, ITaggableV2
Adds a retriever to your Amazon Q Business application.
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.qbusiness.*;
CfnRetriever cfnRetriever = CfnRetriever.Builder.create(this, "MyCfnRetriever")
.applicationId("applicationId")
.configuration(RetrieverConfigurationProperty.builder()
.kendraIndexConfiguration(KendraIndexConfigurationProperty.builder()
.indexId("indexId")
.build())
.nativeIndexConfiguration(NativeIndexConfigurationProperty.builder()
.indexId("indexId")
.build())
.build())
.displayName("displayName")
.type("type")
// the properties below are optional
.roleArn("roleArn")
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classA fluent builder forCfnRetriever.static interfaceStores an Amazon Kendra index as a retriever.static interfaceConfiguration information for an Amazon Q Business index.static interfaceProvides information on how the retriever used for your Amazon Q Business application is configured.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.IInspectable
IInspectable.Jsii$Default, IInspectable.Jsii$ProxyNested classes/interfaces inherited from interface software.amazon.awscdk.services.qbusiness.IRetrieverRef
IRetrieverRef.Jsii$Default, IRetrieverRef.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
ConstructorsModifierConstructorDescriptionprotectedCfnRetriever(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protectedCfnRetriever(software.amazon.jsii.JsiiObjectRef objRef) CfnRetriever(software.constructs.Construct scope, String id, CfnRetrieverProps props) -
Method Summary
Modifier and TypeMethodDescriptionThe identifier of the Amazon Q Business application using the retriever.The Unix timestamp when the retriever was created.The Amazon Resource Name (ARN) of the IAM role associated with the retriever.The identifier of the retriever used by your Amazon Q Business application.The status of your retriever.The Unix timestamp when the retriever was last updated.Tag Manager which manages the tags for this resource.Provides information on how the retriever used for your Amazon Q Business application is configured.The name of your retriever.A reference to a Retriever resource.The ARN of an IAM role used by Amazon Q Business to access the basic authentication credentials stored in a Secrets Manager secret.getTags()A list of key-value pairs that identify or categorize the retriever.getType()The type of your retriever.voidinspect(TreeInspector inspector) Examines the CloudFormation resource and discloses attributes.renderProperties(Map<String, Object> props) voidsetApplicationId(String value) The identifier of the Amazon Q Business application using the retriever.voidsetConfiguration(IResolvable value) Provides information on how the retriever used for your Amazon Q Business application is configured.voidProvides information on how the retriever used for your Amazon Q Business application is configured.voidsetDisplayName(String value) The name of your retriever.voidsetRoleArn(String value) The ARN of an IAM role used by Amazon Q Business to access the basic authentication credentials stored in a Secrets Manager secret.voidA list of key-value pairs that identify or categorize the retriever.voidThe type of your retriever.Methods inherited from class software.amazon.awscdk.CfnResource
addDeletionOverride, addDependency, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, getAtt, getAtt, getCfnOptions, getCfnResourceType, getMetadata, getUpdatedProperites, getUpdatedProperties, isCfnResource, obtainDependencies, obtainResourceDependencies, removeDependency, replaceDependency, shouldSynthesize, toString, validatePropertiesMethods inherited from class software.amazon.awscdk.CfnRefElement
getRefMethods inherited from class software.amazon.awscdk.CfnElement
getCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalIdMethods 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
getNodeMethods 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
-
CfnRetriever
protected CfnRetriever(software.amazon.jsii.JsiiObjectRef objRef) -
CfnRetriever
protected CfnRetriever(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
CfnRetriever
@Stability(Stable) public CfnRetriever(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull CfnRetrieverProps props) - 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
-
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.
-
getAttrCreatedAt
The Unix timestamp when the retriever was created. -
getAttrRetrieverArn
The Amazon Resource Name (ARN) of the IAM role associated with the retriever. -
getAttrRetrieverId
The identifier of the retriever used by your Amazon Q Business application. -
getAttrStatus
The status of your retriever. -
getAttrUpdatedAt
The Unix timestamp when the retriever was last updated. -
getCdkTagManager
Tag Manager which manages the tags for this resource.- Specified by:
getCdkTagManagerin interfaceITaggableV2
-
getCfnProperties
- Overrides:
getCfnPropertiesin classCfnResource
-
getRetrieverRef
A reference to a Retriever resource.- Specified by:
getRetrieverRefin interfaceIRetrieverRef
-
getApplicationId
The identifier of the Amazon Q Business application using the retriever. -
setApplicationId
The identifier of the Amazon Q Business application using the retriever. -
getConfiguration
Provides information on how the retriever used for your Amazon Q Business application is configured.Returns union: either
IResolvableorCfnRetriever.RetrieverConfigurationProperty -
setConfiguration
Provides information on how the retriever used for your Amazon Q Business application is configured. -
setConfiguration
@Stability(Stable) public void setConfiguration(@NotNull CfnRetriever.RetrieverConfigurationProperty value) Provides information on how the retriever used for your Amazon Q Business application is configured. -
getDisplayName
The name of your retriever. -
setDisplayName
The name of your retriever. -
getType
The type of your retriever. -
setType
The type of your retriever. -
getRoleArn
The ARN of an IAM role used by Amazon Q Business to access the basic authentication credentials stored in a Secrets Manager secret. -
setRoleArn
The ARN of an IAM role used by Amazon Q Business to access the basic authentication credentials stored in a Secrets Manager secret. -
getTags
A list of key-value pairs that identify or categorize the retriever. -
setTags
A list of key-value pairs that identify or categorize the retriever.
-