class Aws::Kendra::Types::OneDriveConfiguration

Provides configuration information for data sources that connect to OneDrive.

@note When making an API call, you may pass OneDriveConfiguration

data as a 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,
    }

@!attribute [rw] tenant_domain

The Azure Active Directory domain of the organization.
@return [String]

@!attribute [rw] secret_arn

The Amazon Resource Name (ARN) of an Secrets Managersecret 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.
@return [String]

@!attribute [rw] one_drive_users

A list of user accounts whose documents should be indexed.
@return [Types::OneDriveUsers]

@!attribute [rw] inclusion_patterns

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.
@return [Array<String>]

@!attribute [rw] exclusion_patterns

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.
@return [Array<String>]

@!attribute [rw] field_mappings

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.
@return [Array<Types::DataSourceToIndexFieldMapping>]

@!attribute [rw] disable_local_groups

A Boolean value that specifies whether local groups are disabled
(`True`) or enabled (`False`).
@return [Boolean]

@see docs.aws.amazon.com/goto/WebAPI/kendra-2019-02-03/OneDriveConfiguration AWS API Documentation

Constants

SENSITIVE