Interface CfnKnowledgeBaseProps

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
CfnKnowledgeBaseProps.Jsii$Proxy

@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)", date="2023-06-19T16:30:36.645Z") @Stability(Stable) public interface CfnKnowledgeBaseProps extends software.amazon.jsii.JsiiSerializable
Properties for defining a CfnKnowledgeBase.

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.*;
 CfnKnowledgeBaseProps cfnKnowledgeBaseProps = CfnKnowledgeBaseProps.builder()
         .knowledgeBaseType("knowledgeBaseType")
         .name("name")
         // the properties below are optional
         .description("description")
         .renderingConfiguration(RenderingConfigurationProperty.builder()
                 .templateUri("templateUri")
                 .build())
         .serverSideEncryptionConfiguration(ServerSideEncryptionConfigurationProperty.builder()
                 .kmsKeyId("kmsKeyId")
                 .build())
         .sourceConfiguration(SourceConfigurationProperty.builder()
                 .appIntegrations(AppIntegrationsConfigurationProperty.builder()
                         .appIntegrationArn("appIntegrationArn")
                         // the properties below are optional
                         .objectFields(List.of("objectFields"))
                         .build())
                 .build())
         .tags(List.of(CfnTag.builder()
                 .key("key")
                 .value("value")
                 .build()))
         .build();
 
  • Method Details

    • getKnowledgeBaseType

      @Stability(Stable) @NotNull String getKnowledgeBaseType()
      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.

    • getName

      @Stability(Stable) @NotNull String getName()
      The name of the knowledge base.
    • getDescription

      @Stability(Stable) @Nullable default String getDescription()
      The description.
    • getRenderingConfiguration

      @Stability(Stable) @Nullable default Object getRenderingConfiguration()
      Information about how to render the content.
    • getServerSideEncryptionConfiguration

      @Stability(Stable) @Nullable default Object getServerSideEncryptionConfiguration()
      The KMS key used for encryption.
    • getSourceConfiguration

      @Stability(Stable) @Nullable default Object getSourceConfiguration()
      The source of the knowledge base content.

      Only set this argument for EXTERNAL knowledge bases.

    • getTags

      @Stability(Stable) @Nullable default List<CfnTag> getTags()
      The tags used to organize, track, or control access for this resource.
    • builder

      @Stability(Stable) static CfnKnowledgeBaseProps.Builder builder()
      Returns:
      a CfnKnowledgeBaseProps.Builder of CfnKnowledgeBaseProps