Interface CfnAIAgent.SelfServiceAIAgentConfigurationProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnAIAgent.SelfServiceAIAgentConfigurationProperty.Jsii$Proxy
- Enclosing class:
CfnAIAgent
@Stability(Stable)
public static interface CfnAIAgent.SelfServiceAIAgentConfigurationProperty
extends software.amazon.jsii.JsiiSerializable
The configuration of the self-service 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.services.wisdom.*;
SelfServiceAIAgentConfigurationProperty selfServiceAIAgentConfigurationProperty = 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();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnAIAgent.SelfServiceAIAgentConfigurationPropertystatic final classAn implementation forCfnAIAgent.SelfServiceAIAgentConfigurationProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default ObjectThe association configuration of the self-service AI agent.default StringThe ID of the self-service AI guardrail.default StringThe ID of the self-service answer generation AI prompt.default StringThe ID of the self-service preprocessing AI prompt.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getAssociationConfigurations
The association configuration of the self-service AI agent.Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnAIAgent.AssociationConfigurationProperty>- See Also:
-
getSelfServiceAiGuardrailId
The ID of the self-service AI guardrail.- See Also:
-
getSelfServiceAnswerGenerationAiPromptId
The ID of the self-service answer generation AI prompt.- See Also:
-
getSelfServicePreProcessingAiPromptId
The ID of the self-service preprocessing AI prompt.- See Also:
-
builder
-