@Generated(value="jsii-pacmak/1.47.0 (build 86d2c33)", date="2021-12-22T10:27:19.653Z") @Stability(value=Stable) public class CfnKnowledgeBase extends CfnResource implements IInspectable
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
Example:
|
static class |
CfnKnowledgeBase.Builder
A fluent builder for
CfnKnowledgeBase. |
static interface |
CfnKnowledgeBase.RenderingConfigurationProperty
Example:
|
static interface |
CfnKnowledgeBase.ServerSideEncryptionConfigurationProperty
Example:
|
static interface |
CfnKnowledgeBase.SourceConfigurationProperty
Example:
|
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() |
String |
getAttrKnowledgeBaseId() |
protected Map<String,Object> |
getCfnProperties() |
String |
getDescription()
`AWS::Wisdom::KnowledgeBase.Description`.
|
String |
getKnowledgeBaseType()
`AWS::Wisdom::KnowledgeBase.KnowledgeBaseType`.
|
String |
getName()
`AWS::Wisdom::KnowledgeBase.Name`.
|
Object |
getRenderingConfiguration()
`AWS::Wisdom::KnowledgeBase.RenderingConfiguration`.
|
Object |
getServerSideEncryptionConfiguration()
`AWS::Wisdom::KnowledgeBase.ServerSideEncryptionConfiguration`.
|
Object |
getSourceConfiguration()
`AWS::Wisdom::KnowledgeBase.SourceConfiguration`.
|
TagManager |
getTags()
`AWS::Wisdom::KnowledgeBase.Tags`.
|
void |
inspect(TreeInspector inspector)
Examines the CloudFormation resource and discloses attributes.
|
protected Map<String,Object> |
renderProperties(Map<String,Object> props) |
void |
setDescription(String value)
`AWS::Wisdom::KnowledgeBase.Description`.
|
void |
setKnowledgeBaseType(String value)
`AWS::Wisdom::KnowledgeBase.KnowledgeBaseType`.
|
void |
setName(String value)
`AWS::Wisdom::KnowledgeBase.Name`.
|
void |
setRenderingConfiguration(CfnKnowledgeBase.RenderingConfigurationProperty value)
`AWS::Wisdom::KnowledgeBase.RenderingConfiguration`.
|
void |
setRenderingConfiguration(IResolvable value)
`AWS::Wisdom::KnowledgeBase.RenderingConfiguration`.
|
void |
setServerSideEncryptionConfiguration(CfnKnowledgeBase.ServerSideEncryptionConfigurationProperty value)
`AWS::Wisdom::KnowledgeBase.ServerSideEncryptionConfiguration`.
|
void |
setServerSideEncryptionConfiguration(IResolvable value)
`AWS::Wisdom::KnowledgeBase.ServerSideEncryptionConfiguration`.
|
void |
setSourceConfiguration(CfnKnowledgeBase.SourceConfigurationProperty value)
`AWS::Wisdom::KnowledgeBase.SourceConfiguration`.
|
void |
setSourceConfiguration(IResolvable value)
`AWS::Wisdom::KnowledgeBase.SourceConfiguration`.
|
addDeletionOverride, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, getAtt, getCfnOptions, getCfnResourceType, getMetadata, getUpdatedProperites, 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) @Nullable public String getDescription()
@Stability(value=Stable)
public void setDescription(@Nullable
String value)
@Stability(value=Stable) @NotNull public String getKnowledgeBaseType()
@Stability(value=Stable)
public void setKnowledgeBaseType(@NotNull
String value)
@Stability(value=Stable) @NotNull public String getName()
@Stability(value=Stable)
public void setName(@NotNull
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()
@Stability(value=Stable)
public void setSourceConfiguration(@Nullable
CfnKnowledgeBase.SourceConfigurationProperty value)
@Stability(value=Stable)
public void setSourceConfiguration(@Nullable
IResolvable value)
@Stability(value=Stable) @NotNull public TagManager getTags()
Copyright © 2021. All rights reserved.