CfnKnowledgeBaseProps
- class aws_cdk.aws_wisdom.CfnKnowledgeBaseProps(*, knowledge_base_type, name, description=None, rendering_configuration=None, server_side_encryption_configuration=None, source_configuration=None, tags=None, vector_ingestion_configuration=None)
- Bases: - object- Properties for defining a - CfnKnowledgeBase.- Parameters:
- knowledge_base_type ( - str) – 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.
- name ( - str) – The name of the knowledge base.
- description ( - Optional[- str]) – The description.
- rendering_configuration ( - Union[- IResolvable,- RenderingConfigurationProperty,- Dict[- str,- Any],- None]) – Information about how to render the content.
- server_side_encryption_configuration ( - Union[- IResolvable,- ServerSideEncryptionConfigurationProperty,- Dict[- str,- Any],- None]) – This customer managed key must have a policy that allows- kms:CreateGrantand- kms: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 .
- source_configuration ( - Union[- IResolvable,- SourceConfigurationProperty,- Dict[- str,- Any],- None]) – The source of the knowledge base content. Only set this argument for EXTERNAL or Managed knowledge bases.
- tags ( - Optional[- Sequence[- Union[- CfnTag,- Dict[- str,- Any]]]]) – The tags used to organize, track, or control access for this resource.
- vector_ingestion_configuration ( - Union[- IResolvable,- VectorIngestionConfigurationProperty,- Dict[- str,- Any],- None]) – Contains details about how to ingest the documents in a data source.
 
- See:
- http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-wisdom-knowledgebase.html 
- ExampleMetadata:
- fixture=_generated 
 - Example: - # The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk import aws_wisdom as wisdom cfn_knowledge_base_props = wisdom.CfnKnowledgeBaseProps( knowledge_base_type="knowledgeBaseType", name="name", # the properties below are optional description="description", rendering_configuration=wisdom.CfnKnowledgeBase.RenderingConfigurationProperty( template_uri="templateUri" ), server_side_encryption_configuration=wisdom.CfnKnowledgeBase.ServerSideEncryptionConfigurationProperty( kms_key_id="kmsKeyId" ), source_configuration=wisdom.CfnKnowledgeBase.SourceConfigurationProperty( app_integrations=wisdom.CfnKnowledgeBase.AppIntegrationsConfigurationProperty( app_integration_arn="appIntegrationArn", # the properties below are optional object_fields=["objectFields"] ), managed_source_configuration=wisdom.CfnKnowledgeBase.ManagedSourceConfigurationProperty( web_crawler_configuration=wisdom.CfnKnowledgeBase.WebCrawlerConfigurationProperty( url_configuration=wisdom.CfnKnowledgeBase.UrlConfigurationProperty( seed_urls=[wisdom.CfnKnowledgeBase.SeedUrlProperty( url="url" )] ), # the properties below are optional crawler_limits=wisdom.CfnKnowledgeBase.CrawlerLimitsProperty( rate_limit=123 ), exclusion_filters=["exclusionFilters"], inclusion_filters=["inclusionFilters"], scope="scope" ) ) ), tags=[CfnTag( key="key", value="value" )], vector_ingestion_configuration=wisdom.CfnKnowledgeBase.VectorIngestionConfigurationProperty( chunking_configuration=wisdom.CfnKnowledgeBase.ChunkingConfigurationProperty( chunking_strategy="chunkingStrategy", # the properties below are optional fixed_size_chunking_configuration=wisdom.CfnKnowledgeBase.FixedSizeChunkingConfigurationProperty( max_tokens=123, overlap_percentage=123 ), hierarchical_chunking_configuration=wisdom.CfnKnowledgeBase.HierarchicalChunkingConfigurationProperty( level_configurations=[wisdom.CfnKnowledgeBase.HierarchicalChunkingLevelConfigurationProperty( max_tokens=123 )], overlap_tokens=123 ), semantic_chunking_configuration=wisdom.CfnKnowledgeBase.SemanticChunkingConfigurationProperty( breakpoint_percentile_threshold=123, buffer_size=123, max_tokens=123 ) ), parsing_configuration=wisdom.CfnKnowledgeBase.ParsingConfigurationProperty( parsing_strategy="parsingStrategy", # the properties below are optional bedrock_foundation_model_configuration=wisdom.CfnKnowledgeBase.BedrockFoundationModelConfigurationProperty( model_arn="modelArn", # the properties below are optional parsing_prompt=wisdom.CfnKnowledgeBase.ParsingPromptProperty( parsing_prompt_text="parsingPromptText" ) ) ) ) ) - Attributes - description
- The description. 
 - knowledge_base_type
- 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. 
 - name
- The name of the knowledge base. 
 - rendering_configuration
- Information about how to render the content. 
 - server_side_encryption_configuration
- This customer managed key must have a policy that allows - kms:CreateGrantand- kms: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 . 
 - source_configuration
- The source of the knowledge base content. - Only set this argument for EXTERNAL or Managed knowledge bases. 
 - tags
- The tags used to organize, track, or control access for this resource. 
 - vector_ingestion_configuration
- Contains details about how to ingest the documents in a data source.