@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:42.827Z") @Stability(value=Stable) public class CfnKnowledgeBase extends CfnResource implements IInspectable
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")
.objectFields(List.of("objectFields"))
.build())
.build())
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.build();
| Modifier and Type | Class and Description |
|---|---|
static interface |
CfnKnowledgeBase.AppIntegrationsConfigurationProperty
Configuration information for Amazon AppIntegrations to automatically ingest content.
|
static class |
CfnKnowledgeBase.Builder
A fluent builder for
CfnKnowledgeBase. |
static interface |
CfnKnowledgeBase.RenderingConfigurationProperty
Information about how to render the content.
|
static interface |
CfnKnowledgeBase.ServerSideEncryptionConfigurationProperty
The KMS key used for encryption.
|
static interface |
CfnKnowledgeBase.SourceConfigurationProperty
Configuration information about the external data source.
|
software.amazon.jsii.JsiiObject.InitializationModeIInspectable.Jsii$Default, IInspectable.Jsii$Proxy| Modifier and Type | Field and Description |
|---|---|
static String |
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
|
| Modifier | Constructor and Description |
|---|---|
|
CfnKnowledgeBase(software.constructs.Construct scope,
String id,
CfnKnowledgeBaseProps props)
Create a new `AWS::Wisdom::KnowledgeBase`.
|
protected |
CfnKnowledgeBase(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
CfnKnowledgeBase(software.amazon.jsii.JsiiObjectRef objRef) |
| Modifier and Type | Method and Description |
|---|---|
String |
getAttrKnowledgeBaseArn()
The Amazon Resource Name (ARN) of the knowledge base.
|
String |
getAttrKnowledgeBaseId()
The ID of the knowledge base.
|
protected Map<String,Object> |
getCfnProperties() |
String |
getDescription()
The description.
|
String |
getKnowledgeBaseType()
The type of knowledge base.
|
String |
getName()
The name of the knowledge base.
|
Object |
getRenderingConfiguration()
Information about how to render the content.
|
Object |
getServerSideEncryptionConfiguration()
The KMS key used for encryption.
|
Object |
getSourceConfiguration()
The source of the knowledge base content.
|
TagManager |
getTags()
The tags used to organize, track, or control access for this resource.
|
void |
inspect(TreeInspector inspector)
Examines the CloudFormation resource and discloses attributes.
|
protected Map<String,Object> |
renderProperties(Map<String,Object> props) |
void |
setDescription(String value)
The description.
|
void |
setKnowledgeBaseType(String value)
The type of knowledge base.
|
void |
setName(String value)
The name of the knowledge base.
|
void |
setRenderingConfiguration(CfnKnowledgeBase.RenderingConfigurationProperty value)
Information about how to render the content.
|
void |
setRenderingConfiguration(IResolvable value)
Information about how to render the content.
|
void |
setServerSideEncryptionConfiguration(CfnKnowledgeBase.ServerSideEncryptionConfigurationProperty value)
The KMS key used for encryption.
|
void |
setServerSideEncryptionConfiguration(IResolvable value)
The KMS key used for encryption.
|
void |
setSourceConfiguration(CfnKnowledgeBase.SourceConfigurationProperty value)
The source of the knowledge base content.
|
void |
setSourceConfiguration(IResolvable value)
The source of the knowledge base content.
|
addDeletionOverride, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, getAtt, getCfnOptions, getCfnResourceType, getMetadata, getUpdatedProperites, getUpdatedProperties, isCfnResource, shouldSynthesize, toString, validatePropertiesgetRefgetCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalIdjsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet@Stability(value=Stable) public static final String CFN_RESOURCE_TYPE_NAME
protected CfnKnowledgeBase(software.amazon.jsii.JsiiObjectRef objRef)
protected CfnKnowledgeBase(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Stable)
public CfnKnowledgeBase(@NotNull
software.constructs.Construct scope,
@NotNull
String id,
@NotNull
CfnKnowledgeBaseProps props)
scope - - scope in which this resource is defined. This parameter is required.id - - scoped id of the resource. This parameter is required.props - - resource properties. This parameter is required.@Stability(value=Stable)
public void inspect(@NotNull
TreeInspector inspector)
inspect in interface IInspectableinspector - - tree inspector to collect and process attributes. This parameter is required.@Stability(value=Stable) @NotNull protected Map<String,Object> renderProperties(@NotNull Map<String,Object> props)
renderProperties in class CfnResourceprops - This parameter is required.@Stability(value=Stable) @NotNull public String getAttrKnowledgeBaseArn()
@Stability(value=Stable) @NotNull public String getAttrKnowledgeBaseId()
@Stability(value=Stable) @NotNull protected Map<String,Object> getCfnProperties()
getCfnProperties in class CfnResource@Stability(value=Stable) @NotNull public TagManager getTags()
@Stability(value=Stable) @NotNull public String getKnowledgeBaseType()
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.
@Stability(value=Stable)
public void setKnowledgeBaseType(@NotNull
String value)
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.
@Stability(value=Stable) @NotNull public String getName()
@Stability(value=Stable)
public void setName(@NotNull
String value)
@Stability(value=Stable) @Nullable public String getDescription()
@Stability(value=Stable)
public void setDescription(@Nullable
String value)
@Stability(value=Stable) @Nullable public Object getRenderingConfiguration()
@Stability(value=Stable)
public void setRenderingConfiguration(@Nullable
CfnKnowledgeBase.RenderingConfigurationProperty value)
@Stability(value=Stable)
public void setRenderingConfiguration(@Nullable
IResolvable value)
@Stability(value=Stable) @Nullable public Object getServerSideEncryptionConfiguration()
@Stability(value=Stable)
public void setServerSideEncryptionConfiguration(@Nullable
CfnKnowledgeBase.ServerSideEncryptionConfigurationProperty value)
@Stability(value=Stable)
public void setServerSideEncryptionConfiguration(@Nullable
IResolvable value)
@Stability(value=Stable) @Nullable public Object getSourceConfiguration()
Only set this argument for EXTERNAL knowledge bases.
@Stability(value=Stable)
public void setSourceConfiguration(@Nullable
CfnKnowledgeBase.SourceConfigurationProperty value)
Only set this argument for EXTERNAL knowledge bases.
@Stability(value=Stable)
public void setSourceConfiguration(@Nullable
IResolvable value)
Only set this argument for EXTERNAL knowledge bases.
Copyright © 2022. All rights reserved.