Class CfnAIAgentPropsMixin
java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.Mixin
software.amazon.awscdk.cfnpropertymixins.services.wisdom.CfnAIAgentPropsMixin
- All Implemented Interfaces:
software.amazon.jsii.JsiiSerializable,software.constructs.IMixin
@Generated(value="jsii-pacmak/1.127.0 (build 2117ad5)",
date="2026-03-19T12:55:27.548Z")
@Stability(Stable)
public class CfnAIAgentPropsMixin
extends Mixin
implements software.constructs.IMixin
Creates an Amazon Q in Connect AI Agent.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.cfnpropertymixins.services.wisdom.*;
import software.amazon.awscdk.*;
Object annotations;
Object inputSchema;
IMergeStrategy mergeStrategy;
Object outputSchema;
CfnAIAgentPropsMixin cfnAIAgentPropsMixin = CfnAIAgentPropsMixin.Builder.create(CfnAIAgentMixinProps.builder()
.assistantId("assistantId")
.configuration(AIAgentConfigurationProperty.builder()
.answerRecommendationAiAgentConfiguration(AnswerRecommendationAIAgentConfigurationProperty.builder()
.answerGenerationAiGuardrailId("answerGenerationAiGuardrailId")
.answerGenerationAiPromptId("answerGenerationAiPromptId")
.associationConfigurations(List.of(AssociationConfigurationProperty.builder()
.associationConfigurationData(AssociationConfigurationDataProperty.builder()
.knowledgeBaseAssociationConfigurationData(KnowledgeBaseAssociationConfigurationDataProperty.builder()
.contentTagFilter(TagFilterProperty.builder()
.andConditions(List.of(TagConditionProperty.builder()
.key("key")
.value("value")
.build()))
.orConditions(List.of(OrConditionProperty.builder()
.andConditions(List.of(TagConditionProperty.builder()
.key("key")
.value("value")
.build()))
.tagCondition(TagConditionProperty.builder()
.key("key")
.value("value")
.build())
.build()))
.tagCondition(TagConditionProperty.builder()
.key("key")
.value("value")
.build())
.build())
.maxResults(123)
.overrideKnowledgeBaseSearchType("overrideKnowledgeBaseSearchType")
.build())
.build())
.associationId("associationId")
.associationType("associationType")
.build()))
.intentLabelingGenerationAiPromptId("intentLabelingGenerationAiPromptId")
.locale("locale")
.queryReformulationAiPromptId("queryReformulationAiPromptId")
.build())
.caseSummarizationAiAgentConfiguration(CaseSummarizationAIAgentConfigurationProperty.builder()
.caseSummarizationAiGuardrailId("caseSummarizationAiGuardrailId")
.caseSummarizationAiPromptId("caseSummarizationAiPromptId")
.locale("locale")
.build())
.emailGenerativeAnswerAiAgentConfiguration(EmailGenerativeAnswerAIAgentConfigurationProperty.builder()
.associationConfigurations(List.of(AssociationConfigurationProperty.builder()
.associationConfigurationData(AssociationConfigurationDataProperty.builder()
.knowledgeBaseAssociationConfigurationData(KnowledgeBaseAssociationConfigurationDataProperty.builder()
.contentTagFilter(TagFilterProperty.builder()
.andConditions(List.of(TagConditionProperty.builder()
.key("key")
.value("value")
.build()))
.orConditions(List.of(OrConditionProperty.builder()
.andConditions(List.of(TagConditionProperty.builder()
.key("key")
.value("value")
.build()))
.tagCondition(TagConditionProperty.builder()
.key("key")
.value("value")
.build())
.build()))
.tagCondition(TagConditionProperty.builder()
.key("key")
.value("value")
.build())
.build())
.maxResults(123)
.overrideKnowledgeBaseSearchType("overrideKnowledgeBaseSearchType")
.build())
.build())
.associationId("associationId")
.associationType("associationType")
.build()))
.emailGenerativeAnswerAiPromptId("emailGenerativeAnswerAiPromptId")
.emailQueryReformulationAiPromptId("emailQueryReformulationAiPromptId")
.locale("locale")
.build())
.emailOverviewAiAgentConfiguration(EmailOverviewAIAgentConfigurationProperty.builder()
.emailOverviewAiPromptId("emailOverviewAiPromptId")
.locale("locale")
.build())
.emailResponseAiAgentConfiguration(EmailResponseAIAgentConfigurationProperty.builder()
.associationConfigurations(List.of(AssociationConfigurationProperty.builder()
.associationConfigurationData(AssociationConfigurationDataProperty.builder()
.knowledgeBaseAssociationConfigurationData(KnowledgeBaseAssociationConfigurationDataProperty.builder()
.contentTagFilter(TagFilterProperty.builder()
.andConditions(List.of(TagConditionProperty.builder()
.key("key")
.value("value")
.build()))
.orConditions(List.of(OrConditionProperty.builder()
.andConditions(List.of(TagConditionProperty.builder()
.key("key")
.value("value")
.build()))
.tagCondition(TagConditionProperty.builder()
.key("key")
.value("value")
.build())
.build()))
.tagCondition(TagConditionProperty.builder()
.key("key")
.value("value")
.build())
.build())
.maxResults(123)
.overrideKnowledgeBaseSearchType("overrideKnowledgeBaseSearchType")
.build())
.build())
.associationId("associationId")
.associationType("associationType")
.build()))
.emailQueryReformulationAiPromptId("emailQueryReformulationAiPromptId")
.emailResponseAiPromptId("emailResponseAiPromptId")
.locale("locale")
.build())
.manualSearchAiAgentConfiguration(ManualSearchAIAgentConfigurationProperty.builder()
.answerGenerationAiGuardrailId("answerGenerationAiGuardrailId")
.answerGenerationAiPromptId("answerGenerationAiPromptId")
.associationConfigurations(List.of(AssociationConfigurationProperty.builder()
.associationConfigurationData(AssociationConfigurationDataProperty.builder()
.knowledgeBaseAssociationConfigurationData(KnowledgeBaseAssociationConfigurationDataProperty.builder()
.contentTagFilter(TagFilterProperty.builder()
.andConditions(List.of(TagConditionProperty.builder()
.key("key")
.value("value")
.build()))
.orConditions(List.of(OrConditionProperty.builder()
.andConditions(List.of(TagConditionProperty.builder()
.key("key")
.value("value")
.build()))
.tagCondition(TagConditionProperty.builder()
.key("key")
.value("value")
.build())
.build()))
.tagCondition(TagConditionProperty.builder()
.key("key")
.value("value")
.build())
.build())
.maxResults(123)
.overrideKnowledgeBaseSearchType("overrideKnowledgeBaseSearchType")
.build())
.build())
.associationId("associationId")
.associationType("associationType")
.build()))
.locale("locale")
.build())
.noteTakingAiAgentConfiguration(NoteTakingAIAgentConfigurationProperty.builder()
.locale("locale")
.noteTakingAiGuardrailId("noteTakingAiGuardrailId")
.noteTakingAiPromptId("noteTakingAiPromptId")
.build())
.orchestrationAiAgentConfiguration(OrchestrationAIAgentConfigurationProperty.builder()
.connectInstanceArn("connectInstanceArn")
.locale("locale")
.orchestrationAiGuardrailId("orchestrationAiGuardrailId")
.orchestrationAiPromptId("orchestrationAiPromptId")
.toolConfigurations(List.of(ToolConfigurationProperty.builder()
.annotations(annotations)
.description("description")
.inputSchema(inputSchema)
.instruction(ToolInstructionProperty.builder()
.examples(List.of("examples"))
.instruction("instruction")
.build())
.outputFilters(List.of(ToolOutputFilterProperty.builder()
.jsonPath("jsonPath")
.outputConfiguration(ToolOutputConfigurationProperty.builder()
.outputVariableNameOverride("outputVariableNameOverride")
.sessionDataNamespace("sessionDataNamespace")
.build())
.build()))
.outputSchema(outputSchema)
.overrideInputValues(List.of(ToolOverrideInputValueProperty.builder()
.jsonPath("jsonPath")
.value(ToolOverrideInputValueConfigurationProperty.builder()
.constant(ToolOverrideConstantInputValueProperty.builder()
.type("type")
.value("value")
.build())
.build())
.build()))
.title("title")
.toolId("toolId")
.toolName("toolName")
.toolType("toolType")
.userInteractionConfiguration(UserInteractionConfigurationProperty.builder()
.isUserConfirmationRequired(false)
.build())
.build()))
.build())
.selfServiceAiAgentConfiguration(SelfServiceAIAgentConfigurationProperty.builder()
.associationConfigurations(List.of(AssociationConfigurationProperty.builder()
.associationConfigurationData(AssociationConfigurationDataProperty.builder()
.knowledgeBaseAssociationConfigurationData(KnowledgeBaseAssociationConfigurationDataProperty.builder()
.contentTagFilter(TagFilterProperty.builder()
.andConditions(List.of(TagConditionProperty.builder()
.key("key")
.value("value")
.build()))
.orConditions(List.of(OrConditionProperty.builder()
.andConditions(List.of(TagConditionProperty.builder()
.key("key")
.value("value")
.build()))
.tagCondition(TagConditionProperty.builder()
.key("key")
.value("value")
.build())
.build()))
.tagCondition(TagConditionProperty.builder()
.key("key")
.value("value")
.build())
.build())
.maxResults(123)
.overrideKnowledgeBaseSearchType("overrideKnowledgeBaseSearchType")
.build())
.build())
.associationId("associationId")
.associationType("associationType")
.build()))
.selfServiceAiGuardrailId("selfServiceAiGuardrailId")
.selfServiceAnswerGenerationAiPromptId("selfServiceAnswerGenerationAiPromptId")
.selfServicePreProcessingAiPromptId("selfServicePreProcessingAiPromptId")
.build())
.build())
.description("description")
.name("name")
.tags(Map.of(
"tagsKey", "tags"))
.type("type")
.build())
.strategy(mergeStrategy)
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfaceA typed union that specifies the configuration based on the type of AI Agent.static interfaceThe configuration for AI Agents of typeANSWER_RECOMMENDATION.static interfaceA typed union of the data of the configuration for an Amazon Q in Connect Assistant Association.static interfaceThe configuration for an Amazon Q in Connect Assistant Association.static final classA fluent builder forCfnAIAgentPropsMixin.static interfaceExample:static interfaceConfiguration settings for the EMAIL_GENERATIVE_ANSWER AI agent including prompts, locale, and knowledge base associations.static interfaceConfiguration settings for the EMAIL_OVERVIEW AI agent including prompt ID and locale settings.static interfaceConfiguration settings for the EMAIL_RESPONSE AI agent including prompts, locale, and knowledge base associations.static interfaceThe data of the configuration for aKNOWLEDGE_BASEtype Amazon Q in Connect Assistant Association.static interfaceThe configuration for AI Agents of typeMANUAL_SEARCH.static interfaceExample:static interfaceExample:static interfaceA list of conditions which would be applied together with anORcondition.static interfaceThe configuration of the self-service AI agent.static interfaceAn object that can be used to specify tag conditions.static interfaceAn object that can be used to specify tag conditions.static interfaceExample:static interfaceExample:static interfaceExample:static interfaceExample:static interfaceExample:static interfaceExample:static interfaceExample:static interfaceExample:Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.constructs.IMixin
software.constructs.IMixin.Jsii$Default, software.constructs.IMixin.Jsii$Proxy -
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionCreate a mixin to apply properties toAWS::Wisdom::AIAgent.CfnAIAgentPropsMixin(CfnAIAgentMixinProps props, CfnPropertyMixinOptions options) Create a mixin to apply properties toAWS::Wisdom::AIAgent.protectedCfnAIAgentPropsMixin(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protectedCfnAIAgentPropsMixin(software.amazon.jsii.JsiiObjectRef objRef) -
Method Summary
Modifier and TypeMethodDescriptionvoidapplyTo(software.constructs.IConstruct construct) Apply the mixin properties to the construct.protected CfnAIAgentMixinPropsgetProps()protected IMergeStrategysupports(software.constructs.IConstruct construct) Check if this mixin supports the given construct.Methods 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, toString, wait, wait, waitMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Field Details
-
CFN_PROPERTY_KEYS
-
-
Constructor Details
-
CfnAIAgentPropsMixin
protected CfnAIAgentPropsMixin(software.amazon.jsii.JsiiObjectRef objRef) -
CfnAIAgentPropsMixin
protected CfnAIAgentPropsMixin(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
CfnAIAgentPropsMixin
@Stability(Stable) public CfnAIAgentPropsMixin(@NotNull CfnAIAgentMixinProps props, @Nullable CfnPropertyMixinOptions options) Create a mixin to apply properties toAWS::Wisdom::AIAgent.- Parameters:
props- L1 properties to apply. This parameter is required.options- Mixin options.
-
CfnAIAgentPropsMixin
Create a mixin to apply properties toAWS::Wisdom::AIAgent.- Parameters:
props- L1 properties to apply. This parameter is required.
-
-
Method Details
-
applyTo
@Stability(Stable) public void applyTo(@NotNull software.constructs.IConstruct construct) Apply the mixin properties to the construct. -
supports
@Stability(Stable) @NotNull public Boolean supports(@NotNull software.constructs.IConstruct construct) Check if this mixin supports the given construct. -
getProps
-
getStrategy
-