Skip to content
v2.277.0

RenderingConfigurationProperty Struct ​

Information about how to render the content.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_wisdom as wisdom } from 'aws-cdk-lib';
const renderingConfigurationProperty: wisdom.CfnKnowledgeBase.RenderingConfigurationProperty = {
  templateUri: 'templateUri',
};
python
# 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

rendering_configuration_property = wisdom.CfnKnowledgeBase.RenderingConfigurationProperty(
    template_uri="templateUri"
)
java
// 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.*;

RenderingConfigurationProperty renderingConfigurationProperty = RenderingConfigurationProperty.builder()
        .templateUri("templateUri")
        .build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.Wisdom;

var renderingConfigurationProperty = new RenderingConfigurationProperty {
    TemplateUri = "templateUri"
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"

renderingConfigurationProperty := &RenderingConfigurationProperty{
	TemplateUri: jsii.String("templateUri"),
}

Properties ​

templateUrioptionalstringtemplate_urioptionalstrtemplateUrioptionalStringTemplateUrioptionalstringTemplateUrioptional*string #
A URI template containing exactly one variable in `${variableName}` format.
notes

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 , or IsDeleted
  • ServiceNow: number , short_description , sys_mod_count , workflow_state , or active
  • Zendesk: id , title , updated_at , or draft

The variable is replaced with the actual value for a piece of content when calling GetContent .