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
show all
Defined in:
(unknown)

Overview

Note:

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

Instance Attribute Details

#disable_local_groupsBoolean

A Boolean value that specifies whether local groups are disabled (True) or enabled (False).

Returns:

  • (Boolean)

    A Boolean value that specifies whether local groups are disabled (True) or enabled (False).

#exclusion_patternsArray<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.

Returns:

  • (Array<String>)

    List of regular expressions applied to documents.

#field_mappingsArray<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.

Returns:

#inclusion_patternsArray<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.

Returns:

  • (Array<String>)

    A list of regular expression patterns.

#one_drive_usersTypes::OneDriveUsers

A list of user accounts whose documents should be indexed.

Returns:

#secret_arnString

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.

Returns:

  • (String)

    The Amazon Resource Name (ARN) of an AWS Secrets Manager secret that contains the user name and password to connect to OneDrive.

#tenant_domainString

Tha Azure Active Directory domain of the organization.

Returns:

  • (String)

    Tha Azure Active Directory domain of the organization.