Interface CfnAIAgentProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnAIAgentProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.120.0 (build 192dc88)",
date="2025-12-05T22:26:47.456Z")
@Stability(Stable)
public interface CfnAIAgentProps
extends software.amazon.jsii.JsiiSerializable
Properties for defining a
CfnAIAgent.
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.*;
CfnAIAgentProps cfnAIAgentProps = CfnAIAgentProps.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")
// the properties below are optional
.value("value")
.build()))
.orConditions(List.of(OrConditionProperty.builder()
.andConditions(List.of(TagConditionProperty.builder()
.key("key")
// the properties below are optional
.value("value")
.build()))
.tagCondition(TagConditionProperty.builder()
.key("key")
// the properties below are optional
.value("value")
.build())
.build()))
.tagCondition(TagConditionProperty.builder()
.key("key")
// the properties below are optional
.value("value")
.build())
.build())
.maxResults(123)
.overrideKnowledgeBaseSearchType("overrideKnowledgeBaseSearchType")
.build())
.build())
.associationId("associationId")
.associationType("associationType")
.build()))
.intentLabelingGenerationAiPromptId("intentLabelingGenerationAiPromptId")
.locale("locale")
.queryReformulationAiPromptId("queryReformulationAiPromptId")
.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")
// the properties below are optional
.value("value")
.build()))
.orConditions(List.of(OrConditionProperty.builder()
.andConditions(List.of(TagConditionProperty.builder()
.key("key")
// the properties below are optional
.value("value")
.build()))
.tagCondition(TagConditionProperty.builder()
.key("key")
// the properties below are optional
.value("value")
.build())
.build()))
.tagCondition(TagConditionProperty.builder()
.key("key")
// the properties below are optional
.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")
// the properties below are optional
.value("value")
.build()))
.orConditions(List.of(OrConditionProperty.builder()
.andConditions(List.of(TagConditionProperty.builder()
.key("key")
// the properties below are optional
.value("value")
.build()))
.tagCondition(TagConditionProperty.builder()
.key("key")
// the properties below are optional
.value("value")
.build())
.build()))
.tagCondition(TagConditionProperty.builder()
.key("key")
// the properties below are optional
.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")
// the properties below are optional
.value("value")
.build()))
.orConditions(List.of(OrConditionProperty.builder()
.andConditions(List.of(TagConditionProperty.builder()
.key("key")
// the properties below are optional
.value("value")
.build()))
.tagCondition(TagConditionProperty.builder()
.key("key")
// the properties below are optional
.value("value")
.build())
.build()))
.tagCondition(TagConditionProperty.builder()
.key("key")
// the properties below are optional
.value("value")
.build())
.build())
.maxResults(123)
.overrideKnowledgeBaseSearchType("overrideKnowledgeBaseSearchType")
.build())
.build())
.associationId("associationId")
.associationType("associationType")
.build()))
.locale("locale")
.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")
// the properties below are optional
.value("value")
.build()))
.orConditions(List.of(OrConditionProperty.builder()
.andConditions(List.of(TagConditionProperty.builder()
.key("key")
// the properties below are optional
.value("value")
.build()))
.tagCondition(TagConditionProperty.builder()
.key("key")
// the properties below are optional
.value("value")
.build())
.build()))
.tagCondition(TagConditionProperty.builder()
.key("key")
// the properties below are optional
.value("value")
.build())
.build())
.maxResults(123)
.overrideKnowledgeBaseSearchType("overrideKnowledgeBaseSearchType")
.build())
.build())
.associationId("associationId")
.associationType("associationType")
.build()))
.selfServiceAiGuardrailId("selfServiceAiGuardrailId")
.selfServiceAnswerGenerationAiPromptId("selfServiceAnswerGenerationAiPromptId")
.selfServicePreProcessingAiPromptId("selfServicePreProcessingAiPromptId")
.build())
.build())
.type("type")
// the properties below are optional
.description("description")
.name("name")
.tags(Map.of(
"tagsKey", "tags"))
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnAIAgentPropsstatic final classAn implementation forCfnAIAgentProps -
Method Summary
Modifier and TypeMethodDescriptionstatic CfnAIAgentProps.Builderbuilder()The identifier of the Amazon Q in Connect assistant.Configuration for the AI Agent.default StringThe description of the AI Agent.default StringgetName()The name of the AI Agent.getTags()The tags used to organize, track, or control access for this resource.getType()The type of the AI Agent.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getAssistantId
The identifier of the Amazon Q in Connect assistant.Can be either the ID or the ARN. URLs cannot contain the ARN.
- See Also:
-
getConfiguration
Configuration for the AI Agent.Returns union: either
IResolvableorCfnAIAgent.AIAgentConfigurationProperty- See Also:
-
getType
The type of the AI Agent.- See Also:
-
getDescription
The description of the AI Agent.- See Also:
-
getName
The name of the AI Agent.- See Also:
-
getTags
The tags used to organize, track, or control access for this resource.- See Also:
-
builder
- Returns:
- a
CfnAIAgentProps.BuilderofCfnAIAgentProps
-