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"` }