interface CfnContentProps
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.Wisdom.CfnContentProps |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awswisdom#CfnContentProps |
Java | software.amazon.awscdk.services.wisdom.CfnContentProps |
Python | aws_cdk.aws_wisdom.CfnContentProps |
TypeScript | aws-cdk-lib » aws_wisdom » CfnContentProps |
Properties for defining a CfnContent.
See also: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-wisdom-content.html
Example
// 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 cfnContentProps: wisdom.CfnContentProps = {
knowledgeBaseId: 'knowledgeBaseId',
name: 'name',
// the properties below are optional
metadata: {
metadataKey: 'metadata',
},
overrideLinkOutUri: 'overrideLinkOutUri',
tags: [{
key: 'key',
value: 'value',
}],
title: 'title',
uploadId: 'uploadId',
};
Properties
| Name | Type | Description |
|---|---|---|
| knowledge | string | The identifier of the knowledge base. |
| name | string | The name of the content. |
| metadata? | IResolvable | { [string]: string } | A key/value map to store attributes without affecting tagging or recommendations. |
| override | string | The URI you want to use for the article. |
| tags? | Cfn[] | The tags used to organize, track, or control access for this resource. |
| title? | string | The title of the content. |
| upload | string | A pointer to the uploaded asset. |
knowledgeBaseId
Type:
string
The identifier of the knowledge base.
name
Type:
string
The name of the content.
metadata?
Type:
IResolvable | { [string]: string }
(optional)
A key/value map to store attributes without affecting tagging or recommendations.
overrideLinkOutUri?
Type:
string
(optional)
The URI you want to use for the article.
tags?
Type:
Cfn[]
(optional)
The tags used to organize, track, or control access for this resource.
title?
Type:
string
(optional)
The title of the content.
uploadId?
Type:
string
(optional)
A pointer to the uploaded asset.
This value is returned by StartContentUpload.

.NET
Go
Java
Python
TypeScript