Class CfnKnowledgeBasePropsMixin.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnKnowledgeBasePropsMixin>
- Enclosing class:
CfnKnowledgeBasePropsMixin
CfnKnowledgeBasePropsMixin.-
Method Summary
Modifier and TypeMethodDescriptionbuild()create()create(CfnPropertyMixinOptions options) description(String description) The description.knowledgeBaseType(String knowledgeBaseType) The type of knowledge base.The name of the knowledge base.renderingConfiguration(CfnKnowledgeBasePropsMixin.RenderingConfigurationProperty renderingConfiguration) Information about how to render the content.renderingConfiguration(IResolvable renderingConfiguration) Information about how to render the content.serverSideEncryptionConfiguration(CfnKnowledgeBasePropsMixin.ServerSideEncryptionConfigurationProperty serverSideEncryptionConfiguration) This customer managed key must have a policy that allowskms:CreateGrantandkms:DescribeKeypermissions to the IAM identity using the key to invoke Wisdom.serverSideEncryptionConfiguration(IResolvable serverSideEncryptionConfiguration) This customer managed key must have a policy that allowskms:CreateGrantandkms:DescribeKeypermissions to the IAM identity using the key to invoke Wisdom.sourceConfiguration(CfnKnowledgeBasePropsMixin.SourceConfigurationProperty sourceConfiguration) The source of the knowledge base content.sourceConfiguration(IResolvable sourceConfiguration) The source of the knowledge base content.The tags used to organize, track, or control access for this resource.vectorIngestionConfiguration(CfnKnowledgeBasePropsMixin.VectorIngestionConfigurationProperty vectorIngestionConfiguration) Contains details about how to ingest the documents in a data source.vectorIngestionConfiguration(IResolvable vectorIngestionConfiguration) Contains details about how to ingest the documents in a data source.
-
Method Details
-
create
@Stability(Stable) public static CfnKnowledgeBasePropsMixin.Builder create(CfnPropertyMixinOptions options) - Parameters:
options- Mixin options.- Returns:
- a new instance of
CfnKnowledgeBasePropsMixin.Builder.
-
create
- Returns:
- a new instance of
CfnKnowledgeBasePropsMixin.Builder.
-
description
The description.- Parameters:
description- The description. This parameter is required.- Returns:
this- See Also:
-
knowledgeBaseType
@Stability(Stable) public CfnKnowledgeBasePropsMixin.Builder knowledgeBaseType(String knowledgeBaseType) The type of knowledge base.Only CUSTOM knowledge bases allow you to upload your own content. EXTERNAL knowledge bases support integrations with third-party systems whose content is synchronized automatically.
- Parameters:
knowledgeBaseType- The type of knowledge base. This parameter is required.- Returns:
this- See Also:
-
name
The name of the knowledge base.- Parameters:
name- The name of the knowledge base. This parameter is required.- Returns:
this- See Also:
-
renderingConfiguration
@Stability(Stable) public CfnKnowledgeBasePropsMixin.Builder renderingConfiguration(IResolvable renderingConfiguration) Information about how to render the content.- Parameters:
renderingConfiguration- Information about how to render the content. This parameter is required.- Returns:
this- See Also:
-
renderingConfiguration
@Stability(Stable) public CfnKnowledgeBasePropsMixin.Builder renderingConfiguration(CfnKnowledgeBasePropsMixin.RenderingConfigurationProperty renderingConfiguration) Information about how to render the content.- Parameters:
renderingConfiguration- Information about how to render the content. This parameter is required.- Returns:
this- See Also:
-
serverSideEncryptionConfiguration
@Stability(Stable) public CfnKnowledgeBasePropsMixin.Builder serverSideEncryptionConfiguration(IResolvable serverSideEncryptionConfiguration) This customer managed key must have a policy that allowskms:CreateGrantandkms:DescribeKeypermissions to the IAM identity using the key to invoke Wisdom.For more information about setting up a customer managed key for Wisdom, see Enable Amazon Connect Wisdom for your instance . For information about valid ID values, see Key identifiers (KeyId) in the AWS Key Management Service Developer Guide .
- Parameters:
serverSideEncryptionConfiguration- This customer managed key must have a policy that allowskms:CreateGrantandkms:DescribeKeypermissions to the IAM identity using the key to invoke Wisdom. This parameter is required.- Returns:
this- See Also:
-
serverSideEncryptionConfiguration
@Stability(Stable) public CfnKnowledgeBasePropsMixin.Builder serverSideEncryptionConfiguration(CfnKnowledgeBasePropsMixin.ServerSideEncryptionConfigurationProperty serverSideEncryptionConfiguration) This customer managed key must have a policy that allowskms:CreateGrantandkms:DescribeKeypermissions to the IAM identity using the key to invoke Wisdom.For more information about setting up a customer managed key for Wisdom, see Enable Amazon Connect Wisdom for your instance . For information about valid ID values, see Key identifiers (KeyId) in the AWS Key Management Service Developer Guide .
- Parameters:
serverSideEncryptionConfiguration- This customer managed key must have a policy that allowskms:CreateGrantandkms:DescribeKeypermissions to the IAM identity using the key to invoke Wisdom. This parameter is required.- Returns:
this- See Also:
-
sourceConfiguration
@Stability(Stable) public CfnKnowledgeBasePropsMixin.Builder sourceConfiguration(IResolvable sourceConfiguration) The source of the knowledge base content.Only set this argument for EXTERNAL or Managed knowledge bases.
- Parameters:
sourceConfiguration- The source of the knowledge base content. This parameter is required.- Returns:
this- See Also:
-
sourceConfiguration
@Stability(Stable) public CfnKnowledgeBasePropsMixin.Builder sourceConfiguration(CfnKnowledgeBasePropsMixin.SourceConfigurationProperty sourceConfiguration) The source of the knowledge base content.Only set this argument for EXTERNAL or Managed knowledge bases.
- Parameters:
sourceConfiguration- The source of the knowledge base content. This parameter is required.- Returns:
this- See Also:
-
tags
The tags used to organize, track, or control access for this resource.- Parameters:
tags- The tags used to organize, track, or control access for this resource. This parameter is required.- Returns:
this- See Also:
-
vectorIngestionConfiguration
@Stability(Stable) public CfnKnowledgeBasePropsMixin.Builder vectorIngestionConfiguration(IResolvable vectorIngestionConfiguration) Contains details about how to ingest the documents in a data source.- Parameters:
vectorIngestionConfiguration- Contains details about how to ingest the documents in a data source. This parameter is required.- Returns:
this- See Also:
-
vectorIngestionConfiguration
@Stability(Stable) public CfnKnowledgeBasePropsMixin.Builder vectorIngestionConfiguration(CfnKnowledgeBasePropsMixin.VectorIngestionConfigurationProperty vectorIngestionConfiguration) Contains details about how to ingest the documents in a data source.- Parameters:
vectorIngestionConfiguration- Contains details about how to ingest the documents in a data source. This parameter is required.- Returns:
this- See Also:
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnKnowledgeBasePropsMixin>- Returns:
- a newly built instance of
CfnKnowledgeBasePropsMixin.
-