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.quicksight.CfnKnowledgeBase
- All Implemented Interfaces:
IInspectable,IEnvironmentAware,IKnowledgeBaseRef,ITaggableV2,software.amazon.jsii.JsiiSerializable,software.constructs.IConstruct,software.constructs.IDependable
@Generated(value="jsii-pacmak/1.138.0 (build 0ca7ee8)",
date="2026-08-10T14:51:09.412Z")
@Stability(Stable)
public class CfnKnowledgeBase
extends CfnResource
implements IInspectable, IKnowledgeBaseRef, ITaggableV2
Definition of AWS::QuickSight::KnowledgeBase Resource Type.
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.quicksight.*;
Object template;
CfnKnowledgeBase cfnKnowledgeBase = CfnKnowledgeBase.Builder.create(this, "MyCfnKnowledgeBase")
.awsAccountId("awsAccountId")
.dataSourceArn("dataSourceArn")
.knowledgeBaseConfiguration(KnowledgeBaseConfigurationProperty.builder()
.templateConfiguration(KbTemplateConfigurationProperty.builder()
.template(template)
.build())
.build())
.knowledgeBaseId("knowledgeBaseId")
.name("name")
// the properties below are optional
.accessControlConfiguration(AccessControlConfigurationProperty.builder()
.isAclEnabled(false)
.build())
.description("description")
.isEmailNotificationOptedForIngestionFailures(false)
.mediaExtractionConfiguration(MediaExtractionConfigurationProperty.builder()
.audioExtractionConfiguration(AudioExtractionConfigurationProperty.builder()
.audioExtractionStatus("audioExtractionStatus")
.build())
.imageExtractionConfiguration(ImageExtractionConfigurationProperty.builder()
.imageExtractionStatus("imageExtractionStatus")
.build())
.videoExtractionConfiguration(VideoExtractionConfigurationProperty.builder()
.videoExtractionStatus("videoExtractionStatus")
// the properties below are optional
.videoExtractionType("videoExtractionType")
.build())
.build())
.permissions(List.of(ResourcePermissionProperty.builder()
.actions(List.of("actions"))
.principal("principal")
// the properties below are optional
.resource("resource")
.build()))
.primaryOwnerArn("primaryOwnerArn")
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfaceExample:static interfaceExample:static final classA fluent builder forCfnKnowledgeBase.static interfaceExample:static interfaceExample:static interfaceExample:static interfaceExample:static interfacePermission for the resource.static interfaceExample:Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.constructs.IConstruct
software.constructs.IConstruct.Jsii$DefaultNested classes/interfaces inherited from interface software.amazon.awscdk.IInspectable
IInspectable.Jsii$Default, IInspectable.Jsii$ProxyNested classes/interfaces inherited from interface software.amazon.awscdk.interfaces.quicksight.IKnowledgeBaseRef
IKnowledgeBaseRef.Jsii$Default, IKnowledgeBaseRef.Jsii$ProxyNested classes/interfaces inherited from interface software.amazon.awscdk.ITaggableV2
ITaggableV2.Jsii$Default, ITaggableV2.Jsii$Proxy -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringThe CloudFormation resource type name for this resource class. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedCfnKnowledgeBase(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protectedCfnKnowledgeBase(software.amazon.jsii.JsiiObjectRef objRef) CfnKnowledgeBase(software.constructs.Construct scope, String id, CfnKnowledgeBaseProps props) Create a newAWS::QuickSight::KnowledgeBase. -
Method Summary
Modifier and TypeMethodDescriptionstatic StringarnForKnowledgeBase(IKnowledgeBaseRef resource) Returns union: eitherIResolvableorCfnKnowledgeBase.AccessControlConfigurationPropertyTag Manager which manages the tags for this resource.Returns union: eitherBooleanorIResolvableReturns union: eitherIResolvableorCfnKnowledgeBase.KnowledgeBaseConfigurationPropertyA reference to a KnowledgeBase resource.Returns union: eitherIResolvableorCfnKnowledgeBase.MediaExtractionConfigurationPropertygetName()Returns union: eitherIResolvableor Listinvalid input: '<'eitherIResolvableorCfnKnowledgeBase.ResourcePermissionProperty>getTags()voidinspect(TreeInspector inspector) Examines the CloudFormation resource and discloses attributes.static BooleanChecks whether the given object is a CfnKnowledgeBase.renderProperties(Map<String, Object> props) voidvoidvoidsetAwsAccountId(String value) voidsetDataSourceArn(String value) voidsetDescription(String value) voidvoidvoidvoidvoidsetKnowledgeBaseId(String value) voidvoidvoidvoidsetPermissions(List<Object> value) voidsetPermissions(IResolvable value) voidsetPrimaryOwnerArn(String value) voidMethods inherited from class software.amazon.awscdk.CfnResource
addDeletionOverride, addDependency, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, addResourceDependency, addResourceDependency, applyCrossStackReferenceStrength, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, cfnPropertyName, getAtt, getAtt, getCfnOptions, getCfnResourceType, getEnv, getMetadata, getUpdatedProperites, getUpdatedProperties, isCfnResource, obtainDependencies, removeDependency, removeResourceDependency, replaceDependency, shouldSynthesize, toString, validatePropertiesMethods inherited from class software.amazon.awscdk.CfnRefElement
getRefMethods inherited from class software.amazon.awscdk.CfnElement
getCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalId, withMethods inherited from class software.constructs.Construct
getNode, isConstructMethods 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.constructs.IConstruct
getNode, withMethods inherited from interface software.amazon.awscdk.interfaces.IEnvironmentAware
getEnvMethods 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) Create a newAWS::QuickSight::KnowledgeBase.- 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
-
arnForKnowledgeBase
@Stability(Stable) @NotNull public static String arnForKnowledgeBase(@NotNull IKnowledgeBaseRef resource) - Parameters:
resource- This parameter is required.
-
isCfnKnowledgeBase
Checks whether the given object is a CfnKnowledgeBase.- Parameters:
x- This parameter is required.
-
inspect
Examines the CloudFormation resource and discloses attributes.- Specified by:
inspectin 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:
renderPropertiesin classCfnResource- Parameters:
props- This parameter is required.
-
getAttrCreatedAt
-
getAttrDocumentCount
-
getAttrKnowledgeBaseArn
-
getAttrKnowledgeBaseSizeBytes
-
getAttrPrimaryOwnerUsername
-
getAttrStatus
-
getAttrType
-
getAttrUpdatedAt
-
getCdkTagManager
Tag Manager which manages the tags for this resource.- Specified by:
getCdkTagManagerin interfaceITaggableV2
-
getCfnProperties
- Overrides:
getCfnPropertiesin classCfnResource
-
getCfnPropertyNames
- Overrides:
getCfnPropertyNamesin classCfnResource
-
getKnowledgeBaseRef
A reference to a KnowledgeBase resource.- Specified by:
getKnowledgeBaseRefin interfaceIKnowledgeBaseRef
-
getAwsAccountId
-
setAwsAccountId
-
getDataSourceArn
-
setDataSourceArn
-
getKnowledgeBaseConfiguration
Returns union: eitherIResolvableorCfnKnowledgeBase.KnowledgeBaseConfigurationProperty -
setKnowledgeBaseConfiguration
-
setKnowledgeBaseConfiguration
@Stability(Stable) public void setKnowledgeBaseConfiguration(@NotNull CfnKnowledgeBase.KnowledgeBaseConfigurationProperty value) -
getKnowledgeBaseId
-
setKnowledgeBaseId
-
getName
-
setName
-
getAccessControlConfiguration
Returns union: eitherIResolvableorCfnKnowledgeBase.AccessControlConfigurationProperty -
setAccessControlConfiguration
-
setAccessControlConfiguration
@Stability(Stable) public void setAccessControlConfiguration(@Nullable CfnKnowledgeBase.AccessControlConfigurationProperty value) -
getDescription
-
setDescription
-
getIsEmailNotificationOptedForIngestionFailures
Returns union: eitherBooleanorIResolvable -
setIsEmailNotificationOptedForIngestionFailures
@Stability(Stable) public void setIsEmailNotificationOptedForIngestionFailures(@Nullable Boolean value) -
setIsEmailNotificationOptedForIngestionFailures
@Stability(Stable) public void setIsEmailNotificationOptedForIngestionFailures(@Nullable IResolvable value) -
getMediaExtractionConfiguration
Returns union: eitherIResolvableorCfnKnowledgeBase.MediaExtractionConfigurationProperty -
setMediaExtractionConfiguration
-
setMediaExtractionConfiguration
@Stability(Stable) public void setMediaExtractionConfiguration(@Nullable CfnKnowledgeBase.MediaExtractionConfigurationProperty value) -
getPermissions
Returns union: eitherIResolvableor Listinvalid input: '<'eitherIResolvableorCfnKnowledgeBase.ResourcePermissionProperty> -
setPermissions
-
setPermissions
-
getPrimaryOwnerArn
-
setPrimaryOwnerArn
-
getTags
-
setTags
-