interface RenderingConfigurationProperty
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.Wisdom.CfnKnowledgeBase.RenderingConfigurationProperty |
Java | software.amazon.awscdk.services.wisdom.CfnKnowledgeBase.RenderingConfigurationProperty |
Python | aws_cdk.aws_wisdom.CfnKnowledgeBase.RenderingConfigurationProperty |
TypeScript | @aws-cdk/aws-wisdom » CfnKnowledgeBase » RenderingConfigurationProperty |
Information about how to render the content.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as wisdom from '@aws-cdk/aws-wisdom';
const renderingConfigurationProperty: wisdom.CfnKnowledgeBase.RenderingConfigurationProperty = {
templateUri: 'templateUri',
};
Properties
Name | Type | Description |
---|---|---|
template | string | A URI template containing exactly one variable in ${variableName} format. |
templateUri?
Type:
string
(optional)
A URI template containing exactly one variable in ${variableName}
format.
This can only be set for EXTERNAL
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 .