-
Notifications
You must be signed in to change notification settings - Fork 17
/
CfnDataSource_OneDriveConfigurationProperty.go
87 lines (84 loc) · 5.14 KB
/
CfnDataSource_OneDriveConfigurationProperty.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
package awskendra
// Provides the configuration information to connect to OneDrive 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"
//
// oneDriveConfigurationProperty := &OneDriveConfigurationProperty{
// OneDriveUsers: &OneDriveUsersProperty{
// OneDriveUserList: []*string{
// jsii.String("oneDriveUserList"),
// },
// OneDriveUserS3Path: &S3PathProperty{
// Bucket: jsii.String("bucket"),
// Key: jsii.String("key"),
// },
// },
// SecretArn: jsii.String("secretArn"),
// TenantDomain: jsii.String("tenantDomain"),
//
// // the properties below are optional
// DisableLocalGroups: jsii.Boolean(false),
// ExclusionPatterns: []*string{
// jsii.String("exclusionPatterns"),
// },
// FieldMappings: []interface{}{
// &DataSourceToIndexFieldMappingProperty{
// DataSourceFieldName: jsii.String("dataSourceFieldName"),
// IndexFieldName: jsii.String("indexFieldName"),
//
// // the properties below are optional
// DateFieldFormat: jsii.String("dateFieldFormat"),
// },
// },
// InclusionPatterns: []*string{
// jsii.String("inclusionPatterns"),
// },
// }
//
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kendra-datasource-onedriveconfiguration.html
//
type CfnDataSource_OneDriveConfigurationProperty struct {
// A list of user accounts whose documents should be indexed.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kendra-datasource-onedriveconfiguration.html#cfn-kendra-datasource-onedriveconfiguration-onedriveusers
//
OneDriveUsers interface{} `field:"required" json:"oneDriveUsers" yaml:"oneDriveUsers"`
// The Amazon Resource Name (ARN) of an AWS Secrets Manager secret that contains the user name and password to connect to OneDrive.
//
// The user name should be the application ID for the OneDrive application, and the password is the application key for the OneDrive application.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kendra-datasource-onedriveconfiguration.html#cfn-kendra-datasource-onedriveconfiguration-secretarn
//
SecretArn *string `field:"required" json:"secretArn" yaml:"secretArn"`
// The Azure Active Directory domain of the organization.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kendra-datasource-onedriveconfiguration.html#cfn-kendra-datasource-onedriveconfiguration-tenantdomain
//
TenantDomain *string `field:"required" json:"tenantDomain" yaml:"tenantDomain"`
// `TRUE` to disable local groups information.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kendra-datasource-onedriveconfiguration.html#cfn-kendra-datasource-onedriveconfiguration-disablelocalgroups
//
DisableLocalGroups interface{} `field:"optional" json:"disableLocalGroups" yaml:"disableLocalGroups"`
// A list of regular expression patterns to exclude certain documents in your OneDrive.
//
// Documents that match the patterns are excluded from the index. Documents that don't match the patterns are included in the index. If a document matches both an inclusion and exclusion pattern, the exclusion pattern takes precedence and the document isn't included in the index.
//
// The pattern is applied to the file name.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kendra-datasource-onedriveconfiguration.html#cfn-kendra-datasource-onedriveconfiguration-exclusionpatterns
//
ExclusionPatterns *[]*string `field:"optional" json:"exclusionPatterns" yaml:"exclusionPatterns"`
// A list of `DataSourceToIndexFieldMapping` objects that map OneDrive data source attributes or field names to Amazon Kendra index field names.
//
// To create custom fields, use the `UpdateIndex` API before you map to OneDrive fields. For more information, see [Mapping data source fields](https://docs.aws.amazon.com/kendra/latest/dg/field-mapping.html) . The OneDrive data source field names must exist in your OneDrive custom metadata.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kendra-datasource-onedriveconfiguration.html#cfn-kendra-datasource-onedriveconfiguration-fieldmappings
//
FieldMappings interface{} `field:"optional" json:"fieldMappings" yaml:"fieldMappings"`
// A list of regular expression patterns to include certain documents in your OneDrive.
//
// Documents that match the patterns are included in the index. Documents that don't match the patterns are excluded from the index. If a document matches both an inclusion and exclusion pattern, the exclusion pattern takes precedence and the document isn't included in the index.
//
// The pattern is applied to the file name.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kendra-datasource-onedriveconfiguration.html#cfn-kendra-datasource-onedriveconfiguration-inclusionpatterns
//
InclusionPatterns *[]*string `field:"optional" json:"inclusionPatterns" yaml:"inclusionPatterns"`
}