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
Modifier and TypeClassDescriptionstatic interface
Configuration information for Amazon AppIntegrations to automatically ingest content.static final class
A fluent builder forCfnKnowledgeBase
.static interface
Information about how to render the content.static interface
The KMS key used for encryption.static interface
Configuration information about the external data source.Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode
Nested classes/interfaces inherited from interface software.amazon.awscdk.core.IConstruct
IConstruct.Jsii$Default
Nested classes/interfaces inherited from interface software.constructs.IConstruct
software.constructs.IConstruct.Jsii$Default
Nested classes/interfaces inherited from interface software.amazon.awscdk.core.IInspectable
IInspectable.Jsii$Default, IInspectable.Jsii$Proxy
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
The CloudFormation resource type name for this resource class. -
Constructor Summary
ModifierConstructorDescriptionCfnKnowledgeBase
(Construct scope, String id, CfnKnowledgeBaseProps props) Create a newAWS::Wisdom::KnowledgeBase
.protected
CfnKnowledgeBase
(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protected
CfnKnowledgeBase
(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.void
inspect
(TreeInspector inspector) Examines the CloudFormation resource and discloses attributes.renderProperties
(Map<String, Object> props) void
setDescription
(String value) The description.void
setKnowledgeBaseType
(String value) The type of knowledge base.void
The name of the knowledge base.void
Information about how to render the content.void
Information about how to render the content.void
The KMS key used for encryption.void
setServerSideEncryptionConfiguration
(CfnKnowledgeBase.ServerSideEncryptionConfigurationProperty value) The KMS key used for encryption.void
The source of the knowledge base content.void
The 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, validateProperties
Methods inherited from class software.amazon.awscdk.core.CfnRefElement
getRef
Methods inherited from class software.amazon.awscdk.core.CfnElement
getCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalId
Methods inherited from class software.amazon.awscdk.core.Construct
getNode, isConstruct, onPrepare, onSynthesize, onValidate, prepare, synthesize, validate
Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods 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:
inspect
in 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:
renderProperties
in 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:
getCfnProperties
in 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.
-