AWS Native is in preview. AWS Classic is fully supported.
aws-native.wisdom.getKnowledgeBase
Explore with Pulumi AI
AWS Native is in preview. AWS Classic is fully supported.
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)
// Output-based functions aren't available in Java yet
fn::invoke:
function: aws-native:wisdom:getKnowledgeBase
arguments:
# arguments dictionary
The 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.
- 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.
- 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.
- 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.
- 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.
- 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.
Supporting Types
KnowledgeBaseRenderingConfiguration
- Template
Uri string A URI template containing exactly one variable in
${variableName}
format. This can only be set forEXTERNAL
knowledge 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 forEXTERNAL
knowledge 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 forEXTERNAL
knowledge 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 forEXTERNAL
knowledge 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 forEXTERNAL
knowledge 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 forEXTERNAL
knowledge 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:
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
AWS Native is in preview. AWS Classic is fully supported.