OneDriveUsersProperty Struct
User accounts whose documents should be indexed.
| Source | |
|---|---|
| Type last changed |
Example
ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_kendra as kendra } from 'aws-cdk-lib';
const oneDriveUsersProperty: kendra.CfnDataSource.OneDriveUsersProperty = {
oneDriveUserList: ['oneDriveUserList'],
oneDriveUserS3Path: {
bucket: 'bucket',
key: 'key',
},
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_kendra as kendra
one_drive_users_property = kendra.CfnDataSource.OneDriveUsersProperty(
one_drive_user_list=["oneDriveUserList"],
one_drive_user_s3_path=kendra.CfnDataSource.S3PathProperty(
bucket="bucket",
key="key"
)
)
java
// 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.*;
OneDriveUsersProperty oneDriveUsersProperty = OneDriveUsersProperty.builder()
.oneDriveUserList(List.of("oneDriveUserList"))
.oneDriveUserS3Path(S3PathProperty.builder()
.bucket("bucket")
.key("key")
.build())
.build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.Kendra;
var oneDriveUsersProperty = new OneDriveUsersProperty {
OneDriveUserList = new [] { "oneDriveUserList" },
OneDriveUserS3Path = new S3PathProperty {
Bucket = "bucket",
Key = "key"
}
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// 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"
oneDriveUsersProperty := &OneDriveUsersProperty{
OneDriveUserList: []*string{
jsii.String("oneDriveUserList"),
},
OneDriveUserS3Path: &S3PathProperty{
Bucket: jsii.String("bucket"),
Key: jsii.String("key"),
},
}
Properties
oneDriveUserListoptionalstring[]one_drive_user_listoptionaltyping.List[str]oneDriveUserListoptionalList<String>OneDriveUserListoptionalstring[]OneDriveUserListoptional*[]*string #A list of users whose documents should be indexed.
Specify the user names in email format, for example, username@tenantdomain . If you need to index the documents of more than 10 users, use the OneDriveUserS3Path field to specify the location of a file containing a list of users.
oneDriveUserS3PathoptionalIResolvable | CfnDataSource.S3PathPropertyone_drive_user_s3_pathoptionaltyping.Union[IResolvable, S3PathProperty]oneDriveUserS3PathoptionalIResolvableOneDriveUserS3PathoptionalIResolvableOneDriveUserS3Pathoptionalinterface{} #The S3 bucket location of a file containing a list of users whose documents should be indexed.