-
Notifications
You must be signed in to change notification settings - Fork 17
/
CfnKnowledgeBaseProps.go
80 lines (77 loc) · 3.64 KB
/
CfnKnowledgeBaseProps.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
package awswisdom
import (
"github.com/aws/aws-cdk-go/awscdk/v2"
)
// Properties for defining a `CfnKnowledgeBase`.
//
// Example:
// // The code below shows an example of how to instantiate this type.
// // The values are placeholders you should change.
// import "github.com/aws/aws-cdk-go/awscdk"
//
// cfnKnowledgeBaseProps := &CfnKnowledgeBaseProps{
// KnowledgeBaseType: jsii.String("knowledgeBaseType"),
// Name: jsii.String("name"),
//
// // the properties below are optional
// Description: jsii.String("description"),
// RenderingConfiguration: &RenderingConfigurationProperty{
// TemplateUri: jsii.String("templateUri"),
// },
// ServerSideEncryptionConfiguration: &ServerSideEncryptionConfigurationProperty{
// KmsKeyId: jsii.String("kmsKeyId"),
// },
// SourceConfiguration: &SourceConfigurationProperty{
// AppIntegrations: &AppIntegrationsConfigurationProperty{
// AppIntegrationArn: jsii.String("appIntegrationArn"),
//
// // the properties below are optional
// ObjectFields: []*string{
// jsii.String("objectFields"),
// },
// },
// },
// Tags: []cfnTag{
// &cfnTag{
// Key: jsii.String("key"),
// Value: jsii.String("value"),
// },
// },
// }
//
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-wisdom-knowledgebase.html
//
type CfnKnowledgeBaseProps struct {
// 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.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-wisdom-knowledgebase.html#cfn-wisdom-knowledgebase-knowledgebasetype
//
KnowledgeBaseType *string `field:"required" json:"knowledgeBaseType" yaml:"knowledgeBaseType"`
// The name of the knowledge base.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-wisdom-knowledgebase.html#cfn-wisdom-knowledgebase-name
//
Name *string `field:"required" json:"name" yaml:"name"`
// The description.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-wisdom-knowledgebase.html#cfn-wisdom-knowledgebase-description
//
Description *string `field:"optional" json:"description" yaml:"description"`
// Information about how to render the content.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-wisdom-knowledgebase.html#cfn-wisdom-knowledgebase-renderingconfiguration
//
RenderingConfiguration interface{} `field:"optional" json:"renderingConfiguration" yaml:"renderingConfiguration"`
// The KMS key used for encryption.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-wisdom-knowledgebase.html#cfn-wisdom-knowledgebase-serversideencryptionconfiguration
//
ServerSideEncryptionConfiguration interface{} `field:"optional" json:"serverSideEncryptionConfiguration" yaml:"serverSideEncryptionConfiguration"`
// The source of the knowledge base content.
//
// Only set this argument for EXTERNAL knowledge bases.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-wisdom-knowledgebase.html#cfn-wisdom-knowledgebase-sourceconfiguration
//
SourceConfiguration interface{} `field:"optional" json:"sourceConfiguration" yaml:"sourceConfiguration"`
// The tags used to organize, track, or control access for this resource.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-wisdom-knowledgebase.html#cfn-wisdom-knowledgebase-tags
//
Tags *[]*awscdk.CfnTag `field:"optional" json:"tags" yaml:"tags"`
}