You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.
Class: Aws::Kendra::Types::OneDriveConfiguration
- Inherits:
-
Struct
- Object
- Struct
- Aws::Kendra::Types::OneDriveConfiguration
- Defined in:
- (unknown)
Overview
When passing OneDriveConfiguration as input to an Aws::Client method, you can use a vanilla Hash:
{
tenant_domain: "TenantDomain", # required
secret_arn: "SecretArn", # required
one_drive_users: { # required
one_drive_user_list: ["OneDriveUser"],
one_drive_user_s3_path: {
bucket: "S3BucketName", # required
key: "S3ObjectKey", # required
},
},
inclusion_patterns: ["DataSourceInclusionsExclusionsStringsMember"],
exclusion_patterns: ["DataSourceInclusionsExclusionsStringsMember"],
field_mappings: [
{
data_source_field_name: "DataSourceFieldName", # required
date_field_format: "DataSourceDateFieldFormat",
index_field_name: "IndexFieldName", # required
},
],
disable_local_groups: false,
}
Provides configuration information for data sources that connect to OneDrive.
Returned by:
Instance Attribute Summary collapse
-
#disable_local_groups ⇒ Boolean
A Boolean value that specifies whether local groups are disabled (
True
) or enabled (False
). -
#exclusion_patterns ⇒ Array<String>
List of regular expressions applied to documents.
-
#field_mappings ⇒ Array<Types::DataSourceToIndexFieldMapping>
A list of
DataSourceToIndexFieldMapping
objects that map Microsoft OneDrive fields to custom fields in the Amazon Kendra index. -
#inclusion_patterns ⇒ Array<String>
A list of regular expression patterns.
-
#one_drive_users ⇒ Types::OneDriveUsers
A list of user accounts whose documents should be indexed.
-
#secret_arn ⇒ String
The Amazon Resource Name (ARN) of an AWS Secrets Manager secret that contains the user name and password to connect to OneDrive.
-
#tenant_domain ⇒ String
Tha Azure Active Directory domain of the organization.
Instance Attribute Details
#disable_local_groups ⇒ Boolean
A Boolean value that specifies whether local groups are disabled
(True
) or enabled (False
).
#exclusion_patterns ⇒ Array<String>
List of regular expressions applied to documents. Items that match the exclusion pattern are not indexed. If you provide both an inclusion pattern and an exclusion pattern, any item that matches the exclusion pattern isn\'t indexed.
The exclusion pattern is applied to the file name.
#field_mappings ⇒ Array<Types::DataSourceToIndexFieldMapping>
A list of DataSourceToIndexFieldMapping
objects that map Microsoft
OneDrive fields to custom fields in the Amazon Kendra index. You must
first create the index fields before you map OneDrive fields.
#inclusion_patterns ⇒ Array<String>
A list of regular expression patterns. Documents that match the pattern are included in the index. Documents that don\'t match the pattern are excluded from the index. If a document matches both an inclusion pattern and an exclusion pattern, the document is not included in the index.
The exclusion pattern is applied to the file name.
#one_drive_users ⇒ Types::OneDriveUsers
A list of user accounts whose documents should be indexed.
#secret_arn ⇒ String
The Amazon Resource Name (ARN) of an AWS Secrets Manager secret that contains the user name and password to connect to OneDrive. The user namd should be the application ID for the OneDrive application, and the password is the application key for the OneDrive application.
#tenant_domain ⇒ String
Tha Azure Active Directory domain of the organization.