Class CfnQuickResponse
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.wisdom.CfnQuickResponse
- All Implemented Interfaces:
IInspectable,ITaggableV2,IQuickResponseRef,software.amazon.jsii.JsiiSerializable,software.constructs.IConstruct,software.constructs.IDependable
@Generated(value="jsii-pacmak/1.116.0 (build 0eddcff)",
date="2025-10-29T11:15:50.638Z")
@Stability(Stable)
public class CfnQuickResponse
extends CfnResource
implements IInspectable, IQuickResponseRef, ITaggableV2
Creates an Amazon Q in Connect quick response.
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.wisdom.*;
CfnQuickResponse cfnQuickResponse = CfnQuickResponse.Builder.create(this, "MyCfnQuickResponse")
.content(QuickResponseContentProviderProperty.builder()
.content("content")
.build())
.knowledgeBaseArn("knowledgeBaseArn")
.name("name")
// the properties below are optional
.channels(List.of("channels"))
.contentType("contentType")
.description("description")
.groupingConfiguration(GroupingConfigurationProperty.builder()
.criteria("criteria")
.values(List.of("values"))
.build())
.isActive(false)
.language("language")
.shortcutKey("shortcutKey")
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classA fluent builder forCfnQuickResponse.static interfaceThe configuration information of the grouping of Amazon Q in Connect users.static interfaceThe container quick response content.static interfaceThe content of the quick response stored in different media types.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.wisdom.IQuickResponseRef
IQuickResponseRef.Jsii$Default, IQuickResponseRef.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
ConstructorsModifierConstructorDescriptionprotectedCfnQuickResponse(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protectedCfnQuickResponse(software.amazon.jsii.JsiiObjectRef objRef) CfnQuickResponse(software.constructs.Construct scope, String id, CfnQuickResponseProps props) -
Method Summary
Modifier and TypeMethodDescriptionThe content of the quick response stored in different media types.The Amazon Resource Name (ARN) of the quick response.The identifier of the quick response.The status of the quick response data.Tag Manager which manages the tags for this resource.The Amazon Connect contact channels this quick response applies to.The content of the quick response.The media type of the quick response content.The description of the quick response.The configuration information of the user groups that the quick response is accessible to.Whether the quick response is active.The Amazon Resource Name (ARN) of the knowledge base.The language code value for the language in which the quick response is written.getName()The name of the quick response.A reference to a QuickResponse resource.The shortcut key of the quick response.getTags()The tags used to organize, track, or control access for this resource.voidinspect(TreeInspector inspector) Examines the CloudFormation resource and discloses attributes.renderProperties(Map<String, Object> props) voidsetChannels(List<String> value) The Amazon Connect contact channels this quick response applies to.voidsetContent(IResolvable value) The content of the quick response.voidThe content of the quick response.voidsetContentType(String value) The media type of the quick response content.voidsetDescription(String value) The description of the quick response.voidThe configuration information of the user groups that the quick response is accessible to.voidThe configuration information of the user groups that the quick response is accessible to.voidsetIsActive(Boolean value) Whether the quick response is active.voidsetIsActive(IResolvable value) Whether the quick response is active.voidsetKnowledgeBaseArn(String value) The Amazon Resource Name (ARN) of the knowledge base.voidsetLanguage(String value) The language code value for the language in which the quick response is written.voidThe name of the quick response.voidsetShortcutKey(String value) The shortcut key of the quick response.voidThe tags used to organize, track, or control access for this resource.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
-
CfnQuickResponse
protected CfnQuickResponse(software.amazon.jsii.JsiiObjectRef objRef) -
CfnQuickResponse
protected CfnQuickResponse(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
CfnQuickResponse
@Stability(Stable) public CfnQuickResponse(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull CfnQuickResponseProps 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.
-
getAttrContents
The content of the quick response stored in different media types. -
getAttrQuickResponseArn
The Amazon Resource Name (ARN) of the quick response. -
getAttrQuickResponseId
The identifier of the quick response. -
getAttrStatus
The status of the quick response data. -
getCdkTagManager
Tag Manager which manages the tags for this resource.- Specified by:
getCdkTagManagerin interfaceITaggableV2
-
getCfnProperties
- Overrides:
getCfnPropertiesin classCfnResource
-
getQuickResponseRef
A reference to a QuickResponse resource.- Specified by:
getQuickResponseRefin interfaceIQuickResponseRef
-
getContent
The content of the quick response.Returns union: either
IResolvableorCfnQuickResponse.QuickResponseContentProviderProperty -
setContent
The content of the quick response. -
setContent
@Stability(Stable) public void setContent(@NotNull CfnQuickResponse.QuickResponseContentProviderProperty value) The content of the quick response. -
getKnowledgeBaseArn
The Amazon Resource Name (ARN) of the knowledge base. -
setKnowledgeBaseArn
The Amazon Resource Name (ARN) of the knowledge base. -
getName
The name of the quick response. -
setName
The name of the quick response. -
getChannels
The Amazon Connect contact channels this quick response applies to. -
setChannels
The Amazon Connect contact channels this quick response applies to. -
getContentType
The media type of the quick response content. -
setContentType
The media type of the quick response content. -
getDescription
The description of the quick response. -
setDescription
The description of the quick response. -
getGroupingConfiguration
The configuration information of the user groups that the quick response is accessible to.Returns union: either
IResolvableorCfnQuickResponse.GroupingConfigurationProperty -
setGroupingConfiguration
The configuration information of the user groups that the quick response is accessible to. -
setGroupingConfiguration
@Stability(Stable) public void setGroupingConfiguration(@Nullable CfnQuickResponse.GroupingConfigurationProperty value) The configuration information of the user groups that the quick response is accessible to. -
getIsActive
Whether the quick response is active.Returns union: either
BooleanorIResolvable -
setIsActive
Whether the quick response is active. -
setIsActive
Whether the quick response is active. -
getLanguage
The language code value for the language in which the quick response is written. -
setLanguage
The language code value for the language in which the quick response is written. -
getShortcutKey
The shortcut key of the quick response. -
setShortcutKey
The shortcut key of the quick response. -
getTags
The tags used to organize, track, or control access for this resource. -
setTags
The tags used to organize, track, or control access for this resource.
-