Class CfnKnowledgeBase
java.lang.Object
software.amazon.jsii.JsiiObject
software.constructs.Construct
software.amazon.awscdk.CfnElement
software.amazon.awscdk.CfnRefElement
software.amazon.awscdk.CfnResource
software.amazon.awscdk.services.wisdom.CfnKnowledgeBase
- All Implemented Interfaces:
IInspectable
,ITaggable
,software.amazon.jsii.JsiiSerializable
,software.constructs.IConstruct
,software.constructs.IDependable
@Generated(value="jsii-pacmak/1.104.0 (build e79254c)",
date="2024-11-22T02:24:10.915Z")
@Stability(Stable)
public class CfnKnowledgeBase
extends CfnResource
implements IInspectable, ITaggable
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();
- See Also:
-
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 configuration information for the customer managed 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.constructs.IConstruct
software.constructs.IConstruct.Jsii$Default
Nested classes/interfaces inherited from interface software.amazon.awscdk.IInspectable
IInspectable.Jsii$Default, IInspectable.Jsii$Proxy
Nested classes/interfaces inherited from interface software.amazon.awscdk.ITaggable
ITaggable.Jsii$Default, ITaggable.Jsii$Proxy
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
The CloudFormation resource type name for this resource class. -
Constructor Summary
ModifierConstructorDescriptionprotected
CfnKnowledgeBase
(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protected
CfnKnowledgeBase
(software.amazon.jsii.JsiiObjectRef objRef) CfnKnowledgeBase
(software.constructs.Construct scope, String id, CfnKnowledgeBaseProps props) -
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.This customer managed key must have a policy that allowskms:CreateGrant
andkms:DescribeKey
permissions to the IAM identity using the key to invoke Wisdom.The source of the knowledge base content.getTags()
Tag Manager which manages the tags for this resource.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
This customer managed key must have a policy that allowskms:CreateGrant
andkms:DescribeKey
permissions to the IAM identity using the key to invoke Wisdom.void
setServerSideEncryptionConfiguration
(CfnKnowledgeBase.ServerSideEncryptionConfigurationProperty value) This customer managed key must have a policy that allowskms:CreateGrant
andkms:DescribeKey
permissions to the IAM identity using the key to invoke Wisdom.void
The source of the knowledge base content.void
The source of the knowledge base content.void
setTagsRaw
(List<CfnTag> value) The tags used to organize, track, or control access for this resource.Methods inherited from class software.amazon.awscdk.CfnResource
addDeletionOverride, addDependency, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, getAtt, getAtt, getCfnOptions, getCfnResourceType, getMetadata, getUpdatedProperites, getUpdatedProperties, isCfnResource, obtainDependencies, obtainResourceDependencies, removeDependency, replaceDependency, shouldSynthesize, toString, validateProperties
Methods inherited from class software.amazon.awscdk.CfnRefElement
getRef
Methods inherited from class software.amazon.awscdk.CfnElement
getCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalId
Methods inherited from class software.constructs.Construct
getNode, isConstruct
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 software.constructs.Construct scope, @NotNull String id, @NotNull CfnKnowledgeBaseProps props) - Parameters:
scope
- Scope in which this resource is defined. This parameter is required.id
- Construct identifier for this resource (unique in its scope). This parameter is required.props
- Resource properties. This parameter is required.
-
-
Method Details
-
inspect
Examines the CloudFormation resource and discloses attributes.- Specified by:
inspect
in interfaceIInspectable
- Parameters:
inspector
- tree inspector to collect and process attributes. This parameter is required.
-
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
Tag Manager which manages the tags for this resource. -
getKnowledgeBaseType
The type of knowledge base. -
setKnowledgeBaseType
The type of knowledge base. -
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
This customer managed key must have a policy that allowskms:CreateGrant
andkms:DescribeKey
permissions to the IAM identity using the key to invoke Wisdom. -
setServerSideEncryptionConfiguration
This customer managed key must have a policy that allowskms:CreateGrant
andkms:DescribeKey
permissions to the IAM identity using the key to invoke Wisdom. -
setServerSideEncryptionConfiguration
@Stability(Stable) public void setServerSideEncryptionConfiguration(@Nullable CfnKnowledgeBase.ServerSideEncryptionConfigurationProperty value) This customer managed key must have a policy that allowskms:CreateGrant
andkms:DescribeKey
permissions to the IAM identity using the key to invoke Wisdom. -
getSourceConfiguration
The source of the knowledge base content. -
setSourceConfiguration
The source of the knowledge base content. -
setSourceConfiguration
@Stability(Stable) public void setSourceConfiguration(@Nullable CfnKnowledgeBase.SourceConfigurationProperty value) The source of the knowledge base content. -
getTagsRaw
The tags used to organize, track, or control access for this resource. -
setTagsRaw
The tags used to organize, track, or control access for this resource.
-