Class CfnKnowledgeBase.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnKnowledgeBase>
- Enclosing class:
CfnKnowledgeBase
CfnKnowledgeBase
.-
Method Summary
Modifier and TypeMethodDescriptionbuild()
static CfnKnowledgeBase.Builder
description
(String description) The description.knowledgeBaseType
(String knowledgeBaseType) The type of knowledge base.The name of the knowledge base.renderingConfiguration
(IResolvable renderingConfiguration) Information about how to render the content.renderingConfiguration
(CfnKnowledgeBase.RenderingConfigurationProperty renderingConfiguration) Information about how to render the content.serverSideEncryptionConfiguration
(IResolvable serverSideEncryptionConfiguration) This customer managed key must have a policy that allowskms:CreateGrant
andkms:DescribeKey
permissions to the IAM identity using the key to invoke Wisdom.serverSideEncryptionConfiguration
(CfnKnowledgeBase.ServerSideEncryptionConfigurationProperty serverSideEncryptionConfiguration) This customer managed key must have a policy that allowskms:CreateGrant
andkms:DescribeKey
permissions to the IAM identity using the key to invoke Wisdom.sourceConfiguration
(IResolvable sourceConfiguration) The source of the knowledge base content.sourceConfiguration
(CfnKnowledgeBase.SourceConfigurationProperty sourceConfiguration) The source of the knowledge base content.The tags used to organize, track, or control access for this resource.vectorIngestionConfiguration
(IResolvable vectorIngestionConfiguration) Contains details about how to ingest the documents in a data source.vectorIngestionConfiguration
(CfnKnowledgeBase.VectorIngestionConfigurationProperty vectorIngestionConfiguration) Contains details about how to ingest the documents in a data source.
-
Method Details
-
create
@Stability(Stable) public static CfnKnowledgeBase.Builder create(software.constructs.Construct scope, String id) - 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.- Returns:
- a new instance of
CfnKnowledgeBase.Builder
.
-
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:
-
description
The description.- Parameters:
description
- The description. This parameter is required.- Returns:
this
- See Also:
-
renderingConfiguration
@Stability(Stable) public CfnKnowledgeBase.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 CfnKnowledgeBase.Builder renderingConfiguration(CfnKnowledgeBase.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 CfnKnowledgeBase.Builder serverSideEncryptionConfiguration(IResolvable serverSideEncryptionConfiguration) This customer managed key must have a policy that allowskms:CreateGrant
andkms:DescribeKey
permissions 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:CreateGrant
andkms:DescribeKey
permissions to the IAM identity using the key to invoke Wisdom. This parameter is required.- Returns:
this
- See Also:
-
serverSideEncryptionConfiguration
@Stability(Stable) public CfnKnowledgeBase.Builder serverSideEncryptionConfiguration(CfnKnowledgeBase.ServerSideEncryptionConfigurationProperty serverSideEncryptionConfiguration) This customer managed key must have a policy that allowskms:CreateGrant
andkms:DescribeKey
permissions 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:CreateGrant
andkms:DescribeKey
permissions to the IAM identity using the key to invoke Wisdom. This parameter is required.- Returns:
this
- See Also:
-
sourceConfiguration
@Stability(Stable) public CfnKnowledgeBase.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 CfnKnowledgeBase.Builder sourceConfiguration(CfnKnowledgeBase.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 CfnKnowledgeBase.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 CfnKnowledgeBase.Builder vectorIngestionConfiguration(CfnKnowledgeBase.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:
build
in interfacesoftware.amazon.jsii.Builder<CfnKnowledgeBase>
- Returns:
- a newly built instance of
CfnKnowledgeBase
.
-