We recommend new projects start with resources from the AWS provider.
published on Monday, Mar 23, 2026 by Pulumi
We recommend new projects start with resources from the AWS provider.
published on Monday, Mar 23, 2026 by Pulumi
Definition of AWS::Wisdom::KnowledgeBase Resource Type
Using getKnowledgeBase
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getKnowledgeBase(args: GetKnowledgeBaseArgs, opts?: InvokeOptions): Promise<GetKnowledgeBaseResult>
function getKnowledgeBaseOutput(args: GetKnowledgeBaseOutputArgs, opts?: InvokeOptions): Output<GetKnowledgeBaseResult>def get_knowledge_base(knowledge_base_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetKnowledgeBaseResult
def get_knowledge_base_output(knowledge_base_id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetKnowledgeBaseResult]func LookupKnowledgeBase(ctx *Context, args *LookupKnowledgeBaseArgs, opts ...InvokeOption) (*LookupKnowledgeBaseResult, error)
func LookupKnowledgeBaseOutput(ctx *Context, args *LookupKnowledgeBaseOutputArgs, opts ...InvokeOption) LookupKnowledgeBaseResultOutput> Note: This function is named LookupKnowledgeBase in the Go SDK.
public static class GetKnowledgeBase
{
public static Task<GetKnowledgeBaseResult> InvokeAsync(GetKnowledgeBaseArgs args, InvokeOptions? opts = null)
public static Output<GetKnowledgeBaseResult> Invoke(GetKnowledgeBaseInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetKnowledgeBaseResult> getKnowledgeBase(GetKnowledgeBaseArgs args, InvokeOptions options)
public static Output<GetKnowledgeBaseResult> getKnowledgeBase(GetKnowledgeBaseArgs args, InvokeOptions options)
fn::invoke:
function: aws-native:wisdom:getKnowledgeBase
arguments:
# arguments dictionaryThe following arguments are supported:
- Knowledge
Base stringId - The ID of the knowledge base.
- Knowledge
Base stringId - The ID of the knowledge base.
- knowledge
Base StringId - The ID of the knowledge base.
- knowledge
Base stringId - The ID of the knowledge base.
- knowledge_
base_ strid - The ID of the knowledge base.
- knowledge
Base StringId - The ID of the knowledge base.
getKnowledgeBase Result
The following output properties are available:
- Knowledge
Base stringArn - The Amazon Resource Name (ARN) of the knowledge base.
- Knowledge
Base stringId - The ID of the knowledge base.
- Rendering
Configuration Pulumi.Aws Native. Wisdom. Outputs. Knowledge Base Rendering Configuration - Information about how to render the content.
- Vector
Ingestion Pulumi.Configuration Aws Native. Wisdom. Outputs. Knowledge Base Vector Ingestion Configuration - Contains details about how to ingest the documents in a data source.
- Knowledge
Base stringArn - The Amazon Resource Name (ARN) of the knowledge base.
- Knowledge
Base stringId - The ID of the knowledge base.
- Rendering
Configuration KnowledgeBase Rendering Configuration - Information about how to render the content.
- Vector
Ingestion KnowledgeConfiguration Base Vector Ingestion Configuration - Contains details about how to ingest the documents in a data source.
- knowledge
Base StringArn - The Amazon Resource Name (ARN) of the knowledge base.
- knowledge
Base StringId - The ID of the knowledge base.
- rendering
Configuration KnowledgeBase Rendering Configuration - Information about how to render the content.
- vector
Ingestion KnowledgeConfiguration Base Vector Ingestion Configuration - Contains details about how to ingest the documents in a data source.
- knowledge
Base stringArn - The Amazon Resource Name (ARN) of the knowledge base.
- knowledge
Base stringId - The ID of the knowledge base.
- rendering
Configuration KnowledgeBase Rendering Configuration - Information about how to render the content.
- vector
Ingestion KnowledgeConfiguration Base Vector Ingestion Configuration - Contains details about how to ingest the documents in a data source.
- knowledge_
base_ strarn - The Amazon Resource Name (ARN) of the knowledge base.
- knowledge_
base_ strid - The ID of the knowledge base.
- rendering_
configuration KnowledgeBase Rendering Configuration - Information about how to render the content.
- vector_
ingestion_ Knowledgeconfiguration Base Vector Ingestion Configuration - Contains details about how to ingest the documents in a data source.
- knowledge
Base StringArn - The Amazon Resource Name (ARN) of the knowledge base.
- knowledge
Base StringId - The ID of the knowledge base.
- rendering
Configuration Property Map - Information about how to render the content.
- vector
Ingestion Property MapConfiguration - Contains details about how to ingest the documents in a data source.
Supporting Types
KnowledgeBaseBedrockFoundationModelConfiguration
- Model
Arn string - The model ARN of the Bedrock foundation model.
- Parsing
Prompt Pulumi.Aws Native. Wisdom. Inputs. Knowledge Base Bedrock Foundation Model Configuration Parsing Prompt Properties - The parsing prompt of the Bedrock foundation model configuration.
- Model
Arn string - The model ARN of the Bedrock foundation model.
- Parsing
Prompt KnowledgeBase Bedrock Foundation Model Configuration Parsing Prompt Properties - The parsing prompt of the Bedrock foundation model configuration.
- model
Arn String - The model ARN of the Bedrock foundation model.
- parsing
Prompt KnowledgeBase Bedrock Foundation Model Configuration Parsing Prompt Properties - The parsing prompt of the Bedrock foundation model configuration.
- model
Arn string - The model ARN of the Bedrock foundation model.
- parsing
Prompt KnowledgeBase Bedrock Foundation Model Configuration Parsing Prompt Properties - The parsing prompt of the Bedrock foundation model configuration.
- model_
arn str - The model ARN of the Bedrock foundation model.
- parsing_
prompt KnowledgeBase Bedrock Foundation Model Configuration Parsing Prompt Properties - The parsing prompt of the Bedrock foundation model configuration.
- model
Arn String - The model ARN of the Bedrock foundation model.
- parsing
Prompt Property Map - The parsing prompt of the Bedrock foundation model configuration.
KnowledgeBaseBedrockFoundationModelConfigurationParsingPromptProperties
- Parsing
Prompt stringText
- Parsing
Prompt stringText
- parsing
Prompt StringText
- parsing
Prompt stringText
- parsing
Prompt StringText
KnowledgeBaseFixedSizeChunkingConfiguration
- Max
Tokens double - The maximum number of tokens to include in a chunk.
- Overlap
Percentage double - The percentage of overlap between adjacent chunks of a data source.
- Max
Tokens float64 - The maximum number of tokens to include in a chunk.
- Overlap
Percentage float64 - The percentage of overlap between adjacent chunks of a data source.
- max
Tokens Double - The maximum number of tokens to include in a chunk.
- overlap
Percentage Double - The percentage of overlap between adjacent chunks of a data source.
- max
Tokens number - The maximum number of tokens to include in a chunk.
- overlap
Percentage number - The percentage of overlap between adjacent chunks of a data source.
- max_
tokens float - The maximum number of tokens to include in a chunk.
- overlap_
percentage float - The percentage of overlap between adjacent chunks of a data source.
- max
Tokens Number - The maximum number of tokens to include in a chunk.
- overlap
Percentage Number - The percentage of overlap between adjacent chunks of a data source.
KnowledgeBaseHierarchicalChunkingConfiguration
- Level
Configurations List<Pulumi.Aws Native. Wisdom. Inputs. Knowledge Base Hierarchical Chunking Level Configuration> - Token settings for each layer.
- Overlap
Tokens double - The number of tokens to repeat across chunks in the same layer.
- Level
Configurations []KnowledgeBase Hierarchical Chunking Level Configuration - Token settings for each layer.
- Overlap
Tokens float64 - The number of tokens to repeat across chunks in the same layer.
- level
Configurations List<KnowledgeBase Hierarchical Chunking Level Configuration> - Token settings for each layer.
- overlap
Tokens Double - The number of tokens to repeat across chunks in the same layer.
- level
Configurations KnowledgeBase Hierarchical Chunking Level Configuration[] - Token settings for each layer.
- overlap
Tokens number - The number of tokens to repeat across chunks in the same layer.
- level_
configurations Sequence[KnowledgeBase Hierarchical Chunking Level Configuration] - Token settings for each layer.
- overlap_
tokens float - The number of tokens to repeat across chunks in the same layer.
- level
Configurations List<Property Map> - Token settings for each layer.
- overlap
Tokens Number - The number of tokens to repeat across chunks in the same layer.
KnowledgeBaseHierarchicalChunkingLevelConfiguration
- Max
Tokens double - The maximum number of tokens that a chunk can contain in this layer.
- Max
Tokens float64 - The maximum number of tokens that a chunk can contain in this layer.
- max
Tokens Double - The maximum number of tokens that a chunk can contain in this layer.
- max
Tokens number - The maximum number of tokens that a chunk can contain in this layer.
- max_
tokens float - The maximum number of tokens that a chunk can contain in this layer.
- max
Tokens Number - The maximum number of tokens that a chunk can contain in this layer.
KnowledgeBaseRenderingConfiguration
- Template
Uri string A URI template containing exactly one variable in
${variableName}format. This can only be set forEXTERNALknowledge bases. For Salesforce, ServiceNow, and Zendesk, the variable must be one of the following:- Salesforce:
Id,ArticleNumber,VersionNumber,Title,PublishStatus, orIsDeleted - ServiceNow:
number,short_description,sys_mod_count,workflow_state, oractive - Zendesk:
id,title,updated_at, ordraft
The variable is replaced with the actual value for a piece of content when calling GetContent .
- Salesforce:
- Template
Uri string A URI template containing exactly one variable in
${variableName}format. This can only be set forEXTERNALknowledge bases. For Salesforce, ServiceNow, and Zendesk, the variable must be one of the following:- Salesforce:
Id,ArticleNumber,VersionNumber,Title,PublishStatus, orIsDeleted - ServiceNow:
number,short_description,sys_mod_count,workflow_state, oractive - Zendesk:
id,title,updated_at, ordraft
The variable is replaced with the actual value for a piece of content when calling GetContent .
- Salesforce:
- template
Uri String A URI template containing exactly one variable in
${variableName}format. This can only be set forEXTERNALknowledge bases. For Salesforce, ServiceNow, and Zendesk, the variable must be one of the following:- Salesforce:
Id,ArticleNumber,VersionNumber,Title,PublishStatus, orIsDeleted - ServiceNow:
number,short_description,sys_mod_count,workflow_state, oractive - Zendesk:
id,title,updated_at, ordraft
The variable is replaced with the actual value for a piece of content when calling GetContent .
- Salesforce:
- template
Uri string A URI template containing exactly one variable in
${variableName}format. This can only be set forEXTERNALknowledge bases. For Salesforce, ServiceNow, and Zendesk, the variable must be one of the following:- Salesforce:
Id,ArticleNumber,VersionNumber,Title,PublishStatus, orIsDeleted - ServiceNow:
number,short_description,sys_mod_count,workflow_state, oractive - Zendesk:
id,title,updated_at, ordraft
The variable is replaced with the actual value for a piece of content when calling GetContent .
- Salesforce:
- template_
uri str A URI template containing exactly one variable in
${variableName}format. This can only be set forEXTERNALknowledge bases. For Salesforce, ServiceNow, and Zendesk, the variable must be one of the following:- Salesforce:
Id,ArticleNumber,VersionNumber,Title,PublishStatus, orIsDeleted - ServiceNow:
number,short_description,sys_mod_count,workflow_state, oractive - Zendesk:
id,title,updated_at, ordraft
The variable is replaced with the actual value for a piece of content when calling GetContent .
- Salesforce:
- template
Uri String A URI template containing exactly one variable in
${variableName}format. This can only be set forEXTERNALknowledge bases. For Salesforce, ServiceNow, and Zendesk, the variable must be one of the following:- Salesforce:
Id,ArticleNumber,VersionNumber,Title,PublishStatus, orIsDeleted - ServiceNow:
number,short_description,sys_mod_count,workflow_state, oractive - Zendesk:
id,title,updated_at, ordraft
The variable is replaced with the actual value for a piece of content when calling GetContent .
- Salesforce:
KnowledgeBaseSemanticChunkingConfiguration
- Breakpoint
Percentile doubleThreshold - The dissimilarity threshold for splitting chunks.
- Buffer
Size double - The buffer size.
- Max
Tokens double - The maximum number of tokens that a chunk can contain.
- Breakpoint
Percentile float64Threshold - The dissimilarity threshold for splitting chunks.
- Buffer
Size float64 - The buffer size.
- Max
Tokens float64 - The maximum number of tokens that a chunk can contain.
- breakpoint
Percentile DoubleThreshold - The dissimilarity threshold for splitting chunks.
- buffer
Size Double - The buffer size.
- max
Tokens Double - The maximum number of tokens that a chunk can contain.
- breakpoint
Percentile numberThreshold - The dissimilarity threshold for splitting chunks.
- buffer
Size number - The buffer size.
- max
Tokens number - The maximum number of tokens that a chunk can contain.
- breakpoint_
percentile_ floatthreshold - The dissimilarity threshold for splitting chunks.
- buffer_
size float - The buffer size.
- max_
tokens float - The maximum number of tokens that a chunk can contain.
- breakpoint
Percentile NumberThreshold - The dissimilarity threshold for splitting chunks.
- buffer
Size Number - The buffer size.
- max
Tokens Number - The maximum number of tokens that a chunk can contain.
KnowledgeBaseVectorIngestionConfiguration
- Chunking
Configuration Pulumi.Aws Native. Wisdom. Inputs. Knowledge Base Vector Ingestion Configuration Chunking Configuration Properties - Details about how to chunk the documents in the data source. A chunk refers to an excerpt from a data source that is returned when the knowledge base that it belongs to is queried.
- Parsing
Configuration Pulumi.Aws Native. Wisdom. Inputs. Knowledge Base Vector Ingestion Configuration Parsing Configuration Properties - A custom parser for data source documents.
- Chunking
Configuration KnowledgeBase Vector Ingestion Configuration Chunking Configuration Properties - Details about how to chunk the documents in the data source. A chunk refers to an excerpt from a data source that is returned when the knowledge base that it belongs to is queried.
- Parsing
Configuration KnowledgeBase Vector Ingestion Configuration Parsing Configuration Properties - A custom parser for data source documents.
- chunking
Configuration KnowledgeBase Vector Ingestion Configuration Chunking Configuration Properties - Details about how to chunk the documents in the data source. A chunk refers to an excerpt from a data source that is returned when the knowledge base that it belongs to is queried.
- parsing
Configuration KnowledgeBase Vector Ingestion Configuration Parsing Configuration Properties - A custom parser for data source documents.
- chunking
Configuration KnowledgeBase Vector Ingestion Configuration Chunking Configuration Properties - Details about how to chunk the documents in the data source. A chunk refers to an excerpt from a data source that is returned when the knowledge base that it belongs to is queried.
- parsing
Configuration KnowledgeBase Vector Ingestion Configuration Parsing Configuration Properties - A custom parser for data source documents.
- chunking_
configuration KnowledgeBase Vector Ingestion Configuration Chunking Configuration Properties - Details about how to chunk the documents in the data source. A chunk refers to an excerpt from a data source that is returned when the knowledge base that it belongs to is queried.
- parsing_
configuration KnowledgeBase Vector Ingestion Configuration Parsing Configuration Properties - A custom parser for data source documents.
- chunking
Configuration Property Map - Details about how to chunk the documents in the data source. A chunk refers to an excerpt from a data source that is returned when the knowledge base that it belongs to is queried.
- parsing
Configuration Property Map - A custom parser for data source documents.
KnowledgeBaseVectorIngestionConfigurationChunkingConfigurationProperties
- Chunking
Strategy Pulumi.Aws Native. Wisdom. Knowledge Base Vector Ingestion Configuration Chunking Configuration Properties Chunking Strategy - Fixed
Size Pulumi.Chunking Configuration Aws Native. Wisdom. Inputs. Knowledge Base Fixed Size Chunking Configuration - Hierarchical
Chunking Pulumi.Configuration Aws Native. Wisdom. Inputs. Knowledge Base Hierarchical Chunking Configuration - Semantic
Chunking Pulumi.Configuration Aws Native. Wisdom. Inputs. Knowledge Base Semantic Chunking Configuration
- Chunking
Strategy KnowledgeBase Vector Ingestion Configuration Chunking Configuration Properties Chunking Strategy - Fixed
Size KnowledgeChunking Configuration Base Fixed Size Chunking Configuration - Hierarchical
Chunking KnowledgeConfiguration Base Hierarchical Chunking Configuration - Semantic
Chunking KnowledgeConfiguration Base Semantic Chunking Configuration
- chunking
Strategy KnowledgeBase Vector Ingestion Configuration Chunking Configuration Properties Chunking Strategy - fixed
Size KnowledgeChunking Configuration Base Fixed Size Chunking Configuration - hierarchical
Chunking KnowledgeConfiguration Base Hierarchical Chunking Configuration - semantic
Chunking KnowledgeConfiguration Base Semantic Chunking Configuration
- chunking
Strategy KnowledgeBase Vector Ingestion Configuration Chunking Configuration Properties Chunking Strategy - fixed
Size KnowledgeChunking Configuration Base Fixed Size Chunking Configuration - hierarchical
Chunking KnowledgeConfiguration Base Hierarchical Chunking Configuration - semantic
Chunking KnowledgeConfiguration Base Semantic Chunking Configuration
- chunking_
strategy KnowledgeBase Vector Ingestion Configuration Chunking Configuration Properties Chunking Strategy - fixed_
size_ Knowledgechunking_ configuration Base Fixed Size Chunking Configuration - hierarchical_
chunking_ Knowledgeconfiguration Base Hierarchical Chunking Configuration - semantic_
chunking_ Knowledgeconfiguration Base Semantic Chunking Configuration
KnowledgeBaseVectorIngestionConfigurationChunkingConfigurationPropertiesChunkingStrategy
KnowledgeBaseVectorIngestionConfigurationParsingConfigurationProperties
KnowledgeBaseVectorIngestionConfigurationParsingConfigurationPropertiesParsingStrategy
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
We recommend new projects start with resources from the AWS provider.
published on Monday, Mar 23, 2026 by Pulumi
