Interface CfnContentProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnContentProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.140.0 (build 79fd58c)",
date="2026-10-08T17:00:06.114Z")
@Stability(Stable)
public interface CfnContentProps
extends software.amazon.jsii.JsiiSerializable
Properties for defining a
CfnContent.
Example:
// 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.*;
CfnContentProps cfnContentProps = CfnContentProps.builder()
.knowledgeBaseId("knowledgeBaseId")
.name("name")
// the properties below are optional
.metadata(Map.of(
"metadataKey", "metadata"))
.overrideLinkOutUri("overrideLinkOutUri")
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.title("title")
.uploadId("uploadId")
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnContentPropsstatic final classAn implementation forCfnContentProps -
Method Summary
Modifier and TypeMethodDescriptionstatic CfnContentProps.Builderbuilder()The identifier of the knowledge base.default ObjectA key/value map to store attributes without affecting tagging or recommendations.getName()The name of the content.default StringThe URI you want to use for the article.getTags()The tags used to organize, track, or control access for this resource.default StringgetTitle()The title of the content.default StringA pointer to the uploaded asset.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getKnowledgeBaseId
The identifier of the knowledge base.- See Also:
-
getName
The name of the content.- See Also:
-
getMetadata
A key/value map to store attributes without affecting tagging or recommendations.Returns union: either
IResolvableor Mapinvalid input: '<'String,String>- See Also:
-
getOverrideLinkOutUri
The URI you want to use for the article.- See Also:
-
getTags
The tags used to organize, track, or control access for this resource.- See Also:
-
getTitle
The title of the content.- See Also:
-
getUploadId
A pointer to the uploaded asset.This value is returned by StartContentUpload.
- See Also:
-
builder
- Returns:
- a
CfnContentProps.BuilderofCfnContentProps
-