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 Summary
Nested 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.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.amazon.awscdk.core.IConstruct
IConstruct.Jsii$DefaultNested classes/interfaces inherited from interface software.constructs.IConstruct
software.constructs.IConstruct.Jsii$DefaultNested classes/interfaces inherited from interface software.amazon.awscdk.core.IInspectable
IInspectable.Jsii$Default, IInspectable.Jsii$Proxy -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringThe CloudFormation resource type name for this resource class. -
Constructor Summary
ConstructorsModifierConstructorDescriptionCfnKnowledgeBase(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 Summary
Modifier 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.CfnResource
addDeletionOverride, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, getAtt, getCfnOptions, getCfnResourceType, getMetadata, getUpdatedProperites, isCfnResource, shouldSynthesize, toString, validatePropertiesMethods inherited from class software.amazon.awscdk.core.CfnRefElement
getRefMethods inherited from class software.amazon.awscdk.core.CfnElement
getCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalIdMethods inherited from class software.amazon.awscdk.core.Construct
getNode, isConstruct, onPrepare, onSynthesize, onValidate, prepare, synthesize, validateMethods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Field Details
-
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
-
-
Constructor Details
-
CfnKnowledgeBase
protected CfnKnowledgeBase(software.amazon.jsii.JsiiObjectRef objRef) -
CfnKnowledgeBase
protected 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
-
inspect
Examines the CloudFormation resource and discloses attributes.- Specified by:
inspectin interfaceIInspectable- 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 classCfnResource- Parameters:
props- This parameter is required.
-
getAttrKnowledgeBaseArn
The Amazon Resource Name (ARN) of the knowledge base. -
getAttrKnowledgeBaseId
The ID of the knowledge base. -
getCfnProperties
- Overrides:
getCfnPropertiesin classCfnResource
-
getTags
The tags used to organize, track, or control access for this resource. -
getKnowledgeBaseType
The 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.
-
setKnowledgeBaseType
The 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.
-
getName
The name of the knowledge base. -
setName
The name of the knowledge base. -
getDescription
The description. -
setDescription
The description. -
getRenderingConfiguration
Information about how to render the content. -
setRenderingConfiguration
Information about how to render the content. -
setRenderingConfiguration
@Stability(Stable) public void setRenderingConfiguration(@Nullable CfnKnowledgeBase.RenderingConfigurationProperty value) Information about how to render the content. -
getServerSideEncryptionConfiguration
The KMS key used for encryption. -
setServerSideEncryptionConfiguration
The KMS key used for encryption. -
setServerSideEncryptionConfiguration
@Stability(Stable) public void setServerSideEncryptionConfiguration(@Nullable CfnKnowledgeBase.ServerSideEncryptionConfigurationProperty value) The KMS key used for encryption. -
getSourceConfiguration
The source of the knowledge base content.Only set this argument for EXTERNAL knowledge bases.
-
setSourceConfiguration
The 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.
-