@Stability(value=Stable)
public static interface CfnDataSource.OneDriveConfigurationProperty
extends software.amazon.jsii.JsiiSerializable
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.kendra.*;
OneDriveConfigurationProperty oneDriveConfigurationProperty = OneDriveConfigurationProperty.builder()
.oneDriveUsers(OneDriveUsersProperty.builder()
.oneDriveUserList(List.of("oneDriveUserList"))
.oneDriveUserS3Path(S3PathProperty.builder()
.bucket("bucket")
.key("key")
.build())
.build())
.secretArn("secretArn")
.tenantDomain("tenantDomain")
// the properties below are optional
.disableLocalGroups(false)
.exclusionPatterns(List.of("exclusionPatterns"))
.fieldMappings(List.of(DataSourceToIndexFieldMappingProperty.builder()
.dataSourceFieldName("dataSourceFieldName")
.indexFieldName("indexFieldName")
// the properties below are optional
.dateFieldFormat("dateFieldFormat")
.build()))
.inclusionPatterns(List.of("inclusionPatterns"))
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnDataSource.OneDriveConfigurationProperty.Builder
A builder for
CfnDataSource.OneDriveConfigurationProperty |
static class |
CfnDataSource.OneDriveConfigurationProperty.Jsii$Proxy
An implementation for
CfnDataSource.OneDriveConfigurationProperty |
| Modifier and Type | Method and Description |
|---|---|
static CfnDataSource.OneDriveConfigurationProperty.Builder |
builder() |
default Object |
getDisableLocalGroups()
A Boolean value that specifies whether local groups are disabled ( `True` ) or enabled ( `False` ).
|
default List<String> |
getExclusionPatterns()
List of regular expressions applied to documents.
|
default Object |
getFieldMappings()
A list of `DataSourceToIndexFieldMapping` objects that map Microsoft OneDrive fields to custom fields in the Amazon Kendra index.
|
default List<String> |
getInclusionPatterns()
A list of regular expression patterns.
|
Object |
getOneDriveUsers()
A list of user accounts whose documents should be indexed.
|
String |
getSecretArn()
The Amazon Resource Name (ARN) of an AWS Secrets Manager secret that contains the user name and password to connect to OneDrive.
|
String |
getTenantDomain()
The Azure Active Directory domain of the organization.
|
@Stability(value=Stable) @NotNull Object getOneDriveUsers()
@Stability(value=Stable) @NotNull String getSecretArn()
The user named should be the application ID for the OneDrive application, and the password is the application key for the OneDrive application.
@Stability(value=Stable) @NotNull String getTenantDomain()
@Stability(value=Stable) @Nullable default Object getDisableLocalGroups()
@Stability(value=Stable) @Nullable default List<String> getExclusionPatterns()
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.
@Stability(value=Stable) @Nullable default Object getFieldMappings()
You must first create the index fields before you map OneDrive fields.
@Stability(value=Stable) @Nullable default List<String> getInclusionPatterns()
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.
@Stability(value=Stable) static CfnDataSource.OneDriveConfigurationProperty.Builder builder()
Copyright © 2022. All rights reserved.