-
Notifications
You must be signed in to change notification settings - Fork 17
/
CfnDataSource_ConfluenceConfigurationProperty.go
142 lines (139 loc) · 7.92 KB
/
CfnDataSource_ConfluenceConfigurationProperty.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
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
package awskendra
// Provides the configuration information to connect to Confluence as your data source.
//
// 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"
//
// confluenceConfigurationProperty := &ConfluenceConfigurationProperty{
// SecretArn: jsii.String("secretArn"),
// ServerUrl: jsii.String("serverUrl"),
// Version: jsii.String("version"),
//
// // the properties below are optional
// AttachmentConfiguration: &ConfluenceAttachmentConfigurationProperty{
// AttachmentFieldMappings: []interface{}{
// &ConfluenceAttachmentToIndexFieldMappingProperty{
// DataSourceFieldName: jsii.String("dataSourceFieldName"),
// IndexFieldName: jsii.String("indexFieldName"),
//
// // the properties below are optional
// DateFieldFormat: jsii.String("dateFieldFormat"),
// },
// },
// CrawlAttachments: jsii.Boolean(false),
// },
// BlogConfiguration: &ConfluenceBlogConfigurationProperty{
// BlogFieldMappings: []interface{}{
// &ConfluenceBlogToIndexFieldMappingProperty{
// DataSourceFieldName: jsii.String("dataSourceFieldName"),
// IndexFieldName: jsii.String("indexFieldName"),
//
// // the properties below are optional
// DateFieldFormat: jsii.String("dateFieldFormat"),
// },
// },
// },
// ExclusionPatterns: []*string{
// jsii.String("exclusionPatterns"),
// },
// InclusionPatterns: []*string{
// jsii.String("inclusionPatterns"),
// },
// PageConfiguration: &ConfluencePageConfigurationProperty{
// PageFieldMappings: []interface{}{
// &ConfluencePageToIndexFieldMappingProperty{
// DataSourceFieldName: jsii.String("dataSourceFieldName"),
// IndexFieldName: jsii.String("indexFieldName"),
//
// // the properties below are optional
// DateFieldFormat: jsii.String("dateFieldFormat"),
// },
// },
// },
// SpaceConfiguration: &ConfluenceSpaceConfigurationProperty{
// CrawlArchivedSpaces: jsii.Boolean(false),
// CrawlPersonalSpaces: jsii.Boolean(false),
// ExcludeSpaces: []*string{
// jsii.String("excludeSpaces"),
// },
// IncludeSpaces: []*string{
// jsii.String("includeSpaces"),
// },
// SpaceFieldMappings: []interface{}{
// &ConfluenceSpaceToIndexFieldMappingProperty{
// DataSourceFieldName: jsii.String("dataSourceFieldName"),
// IndexFieldName: jsii.String("indexFieldName"),
//
// // the properties below are optional
// DateFieldFormat: jsii.String("dateFieldFormat"),
// },
// },
// },
// VpcConfiguration: &DataSourceVpcConfigurationProperty{
// SecurityGroupIds: []*string{
// jsii.String("securityGroupIds"),
// },
// SubnetIds: []*string{
// jsii.String("subnetIds"),
// },
// },
// }
//
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kendra-datasource-confluenceconfiguration.html
//
type CfnDataSource_ConfluenceConfigurationProperty struct {
// The Amazon Resource Name (ARN) of an AWS Secrets Manager secret that contains the user name and password required to connect to the Confluence instance.
//
// If you use Confluence Cloud, you use a generated API token as the password.
//
// You can also provide authentication credentials in the form of a personal access token. For more information, see [Using a Confluence data source](https://docs.aws.amazon.com/kendra/latest/dg/data-source-confluence.html) .
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kendra-datasource-confluenceconfiguration.html#cfn-kendra-datasource-confluenceconfiguration-secretarn
//
SecretArn *string `field:"required" json:"secretArn" yaml:"secretArn"`
// The URL of your Confluence instance.
//
// Use the full URL of the server. For example, *https://server.example.com:port/* . You can also use an IP address, for example, *https://192.168.1.113/* .
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kendra-datasource-confluenceconfiguration.html#cfn-kendra-datasource-confluenceconfiguration-serverurl
//
ServerUrl *string `field:"required" json:"serverUrl" yaml:"serverUrl"`
// The version or the type of Confluence installation to connect to.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kendra-datasource-confluenceconfiguration.html#cfn-kendra-datasource-confluenceconfiguration-version
//
Version *string `field:"required" json:"version" yaml:"version"`
// Configuration information for indexing attachments to Confluence blogs and pages.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kendra-datasource-confluenceconfiguration.html#cfn-kendra-datasource-confluenceconfiguration-attachmentconfiguration
//
AttachmentConfiguration interface{} `field:"optional" json:"attachmentConfiguration" yaml:"attachmentConfiguration"`
// Configuration information for indexing Confluence blogs.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kendra-datasource-confluenceconfiguration.html#cfn-kendra-datasource-confluenceconfiguration-blogconfiguration
//
BlogConfiguration interface{} `field:"optional" json:"blogConfiguration" yaml:"blogConfiguration"`
// A list of regular expression patterns to exclude certain blog posts, pages, spaces, or attachments in your Confluence.
//
// Content that matches the patterns are excluded from the index. Content that doesn't match the patterns is included in the index. If content matches both an inclusion and exclusion pattern, the exclusion pattern takes precedence and the content isn't included in the index.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kendra-datasource-confluenceconfiguration.html#cfn-kendra-datasource-confluenceconfiguration-exclusionpatterns
//
ExclusionPatterns *[]*string `field:"optional" json:"exclusionPatterns" yaml:"exclusionPatterns"`
// A list of regular expression patterns to include certain blog posts, pages, spaces, or attachments in your Confluence.
//
// Content that matches the patterns are included in the index. Content that doesn't match the patterns is excluded from the index. If content matches both an inclusion and exclusion pattern, the exclusion pattern takes precedence and the content isn't included in the index.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kendra-datasource-confluenceconfiguration.html#cfn-kendra-datasource-confluenceconfiguration-inclusionpatterns
//
InclusionPatterns *[]*string `field:"optional" json:"inclusionPatterns" yaml:"inclusionPatterns"`
// Configuration information for indexing Confluence pages.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kendra-datasource-confluenceconfiguration.html#cfn-kendra-datasource-confluenceconfiguration-pageconfiguration
//
PageConfiguration interface{} `field:"optional" json:"pageConfiguration" yaml:"pageConfiguration"`
// Configuration information for indexing Confluence spaces.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kendra-datasource-confluenceconfiguration.html#cfn-kendra-datasource-confluenceconfiguration-spaceconfiguration
//
SpaceConfiguration interface{} `field:"optional" json:"spaceConfiguration" yaml:"spaceConfiguration"`
// Configuration information for an Amazon Virtual Private Cloud to connect to your Confluence.
//
// For more information, see [Configuring a VPC](https://docs.aws.amazon.com/kendra/latest/dg/vpc-configuration.html) .
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kendra-datasource-confluenceconfiguration.html#cfn-kendra-datasource-confluenceconfiguration-vpcconfiguration
//
VpcConfiguration interface{} `field:"optional" json:"vpcConfiguration" yaml:"vpcConfiguration"`
}