Class CfnKnowledgeBase
java.lang.Object
software.amazon.jsii.JsiiObject
software.constructs.Construct
software.amazon.awscdk.core.Construct
software.amazon.awscdk.core.CfnElement
software.amazon.awscdk.core.CfnRefElement
software.amazon.awscdk.core.CfnResource
software.amazon.awscdk.services.wisdom.CfnKnowledgeBase
- All Implemented Interfaces:
- IConstruct,- IDependable,- IInspectable,- software.amazon.jsii.JsiiSerializable,- software.constructs.IConstruct
@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)",
           date="2023-06-19T16:30:36.640Z")
@Stability(Stable)
public class CfnKnowledgeBase
extends CfnResource
implements IInspectable
A CloudFormation 
AWS::Wisdom::KnowledgeBase.
 Specifies a knowledge base.
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.*;
 CfnKnowledgeBase cfnKnowledgeBase = CfnKnowledgeBase.Builder.create(this, "MyCfnKnowledgeBase")
         .knowledgeBaseType("knowledgeBaseType")
         .name("name")
         // the properties below are optional
         .description("description")
         .renderingConfiguration(RenderingConfigurationProperty.builder()
                 .templateUri("templateUri")
                 .build())
         .serverSideEncryptionConfiguration(ServerSideEncryptionConfigurationProperty.builder()
                 .kmsKeyId("kmsKeyId")
                 .build())
         .sourceConfiguration(SourceConfigurationProperty.builder()
                 .appIntegrations(AppIntegrationsConfigurationProperty.builder()
                         .appIntegrationArn("appIntegrationArn")
                         // the properties below are optional
                         .objectFields(List.of("objectFields"))
                         .build())
                 .build())
         .tags(List.of(CfnTag.builder()
                 .key("key")
                 .value("value")
                 .build()))
         .build();
 - 
Nested Class SummaryNested ClassesModifier and TypeClassDescriptionstatic interfaceConfiguration information for Amazon AppIntegrations to automatically ingest content.static final classA fluent builder forCfnKnowledgeBase.static interfaceInformation about how to render the content.static interfaceThe KMS key used for encryption.static interfaceConfiguration information about the external data source.Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObjectsoftware.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.amazon.awscdk.core.IConstructIConstruct.Jsii$DefaultNested classes/interfaces inherited from interface software.constructs.IConstructsoftware.constructs.IConstruct.Jsii$DefaultNested classes/interfaces inherited from interface software.amazon.awscdk.core.IInspectableIInspectable.Jsii$Default, IInspectable.Jsii$Proxy
- 
Field SummaryFieldsModifier and TypeFieldDescriptionstatic final StringThe CloudFormation resource type name for this resource class.
- 
Constructor SummaryConstructorsModifierConstructorDescriptionCfnKnowledgeBase(Construct scope, String id, CfnKnowledgeBaseProps props) Create a newAWS::Wisdom::KnowledgeBase.protectedCfnKnowledgeBase(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protectedCfnKnowledgeBase(software.amazon.jsii.JsiiObjectRef objRef) 
- 
Method SummaryModifier and TypeMethodDescriptionThe Amazon Resource Name (ARN) of the knowledge base.The ID of the knowledge base.The description.The type of knowledge base.getName()The name of the knowledge base.Information about how to render the content.The KMS key used for encryption.The source of the knowledge base content.getTags()The tags used to organize, track, or control access for this resource.voidinspect(TreeInspector inspector) Examines the CloudFormation resource and discloses attributes.renderProperties(Map<String, Object> props) voidsetDescription(String value) The description.voidsetKnowledgeBaseType(String value) The type of knowledge base.voidThe name of the knowledge base.voidInformation about how to render the content.voidInformation about how to render the content.voidThe KMS key used for encryption.voidsetServerSideEncryptionConfiguration(CfnKnowledgeBase.ServerSideEncryptionConfigurationProperty value) The KMS key used for encryption.voidThe source of the knowledge base content.voidThe source of the knowledge base content.Methods inherited from class software.amazon.awscdk.core.CfnResourceaddDeletionOverride, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, getAtt, getCfnOptions, getCfnResourceType, getMetadata, getUpdatedProperites, isCfnResource, shouldSynthesize, toString, validatePropertiesMethods inherited from class software.amazon.awscdk.core.CfnRefElementgetRefMethods inherited from class software.amazon.awscdk.core.CfnElementgetCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalIdMethods inherited from class software.amazon.awscdk.core.ConstructgetNode, isConstruct, onPrepare, onSynthesize, onValidate, prepare, synthesize, validateMethods inherited from class software.amazon.jsii.JsiiObjectjsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface software.amazon.jsii.JsiiSerializable$jsii$toJson
- 
Field Details- 
CFN_RESOURCE_TYPE_NAMEThe CloudFormation resource type name for this resource class.
 
- 
- 
Constructor Details- 
CfnKnowledgeBaseprotected CfnKnowledgeBase(software.amazon.jsii.JsiiObjectRef objRef) 
- 
CfnKnowledgeBaseprotected CfnKnowledgeBase(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) 
- 
CfnKnowledgeBase@Stability(Stable) public CfnKnowledgeBase(@NotNull Construct scope, @NotNull String id, @NotNull CfnKnowledgeBaseProps props) Create a newAWS::Wisdom::KnowledgeBase.- Parameters:
- scope-- scope in which this resource is defined.
 
- id-- scoped id of the resource.
 
- props-- resource properties.
 
 
 
- 
- 
Method Details- 
inspectExamines the CloudFormation resource and discloses attributes.- Specified by:
- inspectin interface- IInspectable
- Parameters:
- inspector-- tree inspector to collect and process attributes.
 
 
- 
renderProperties@Stability(Stable) @NotNull protected Map<String,Object> renderProperties(@NotNull Map<String, Object> props) - Overrides:
- renderPropertiesin class- CfnResource
- Parameters:
- props- This parameter is required.
 
- 
getAttrKnowledgeBaseArnThe Amazon Resource Name (ARN) of the knowledge base.
- 
getAttrKnowledgeBaseIdThe ID of the knowledge base.
- 
getCfnProperties- Overrides:
- getCfnPropertiesin class- CfnResource
 
- 
getTagsThe tags used to organize, track, or control access for this resource.
- 
getKnowledgeBaseTypeThe type of knowledge base.Only CUSTOM knowledge bases allow you to upload your own content. EXTERNAL knowledge bases support integrations with third-party systems whose content is synchronized automatically. 
- 
setKnowledgeBaseTypeThe type of knowledge base.Only CUSTOM knowledge bases allow you to upload your own content. EXTERNAL knowledge bases support integrations with third-party systems whose content is synchronized automatically. 
- 
getNameThe name of the knowledge base.
- 
setNameThe name of the knowledge base.
- 
getDescriptionThe description.
- 
setDescriptionThe description.
- 
getRenderingConfigurationInformation about how to render the content.
- 
setRenderingConfigurationInformation about how to render the content.
- 
setRenderingConfiguration@Stability(Stable) public void setRenderingConfiguration(@Nullable CfnKnowledgeBase.RenderingConfigurationProperty value) Information about how to render the content.
- 
getServerSideEncryptionConfigurationThe KMS key used for encryption.
- 
setServerSideEncryptionConfigurationThe KMS key used for encryption.
- 
setServerSideEncryptionConfiguration@Stability(Stable) public void setServerSideEncryptionConfiguration(@Nullable CfnKnowledgeBase.ServerSideEncryptionConfigurationProperty value) The KMS key used for encryption.
- 
getSourceConfigurationThe source of the knowledge base content.Only set this argument for EXTERNAL knowledge bases. 
- 
setSourceConfigurationThe source of the knowledge base content.Only set this argument for EXTERNAL knowledge bases. 
- 
setSourceConfiguration@Stability(Stable) public void setSourceConfiguration(@Nullable CfnKnowledgeBase.SourceConfigurationProperty value) The source of the knowledge base content.Only set this argument for EXTERNAL knowledge bases. 
 
-