AWS::Kendra::DataSource GoogleDriveConfiguration - AWS CloudFormation

AWS::Kendra::DataSource GoogleDriveConfiguration

Provides configuration information for data sources that connect to Google Drive.

Syntax

To declare this entity in your AWS CloudFormation template, use the following syntax:

JSON

{ "ExcludeMimeTypes" : [ String, ... ], "ExcludeSharedDrives" : [ String, ... ], "ExcludeUserAccounts" : [ String, ... ], "ExclusionPatterns" : [ String, ... ], "FieldMappings" : [ DataSourceToIndexFieldMapping, ... ], "InclusionPatterns" : [ String, ... ], "SecretArn" : String }

Properties

ExcludeMimeTypes

A list of MIME types to exclude from the index. All documents matching the specified MIME type are excluded.

For a list of MIME types, see Using a Google Workspace Drive data source.

Required: No

Type: List of String

Maximum: 30

Update requires: No interruption

ExcludeSharedDrives

A list of identifiers or shared drives to exclude from the index. All files and folders stored on the shared drive are excluded.

Required: No

Type: List of String

Maximum: 100

Update requires: No interruption

ExcludeUserAccounts

A list of email addresses of the users. Documents owned by these users are excluded from the index. Documents shared with excluded users are indexed unless they are excluded in another way.

Required: No

Type: List of String

Maximum: 100

Update requires: No interruption

ExclusionPatterns

A list of regular expression patterns that apply to the path on Google Drive. Items that match the pattern are excluded from the index from both shared drives and users' My Drives. Items that don't match the pattern are included in the index. If an item matches both an exclusion pattern and an inclusion pattern, it is excluded from the index.

Required: No

Type: List of String

Maximum: 100

Update requires: No interruption

FieldMappings

Defines mapping between a field in the Google Drive and a Amazon Kendra index field.

If you are using the console, you can define index fields when creating the mapping. If you are using the API, you must first create the field using the UpdateIndex operation.

Required: No

Type: List of DataSourceToIndexFieldMapping

Maximum: 100

Update requires: No interruption

InclusionPatterns

A list of regular expression patterns that apply to path on Google Drive. Items that match the pattern are included in the index from both shared drives and users' My Drives. Items that don't match the pattern are excluded from the index. If an item matches both an inclusion pattern and an exclusion pattern, it is excluded from the index.

Required: No

Type: List of String

Maximum: 100

Update requires: No interruption

SecretArn

The Amazon Resource Name (ARN) of a AWS Secrets Manager secret that contains the credentials required to connect to Google Drive. For more information, see Using a Google Workspace Drive data source.

Required: Yes

Type: String

Minimum: 1

Maximum: 1284

Pattern: arn:[a-z0-9-\.]{1,63}:[a-z0-9-\.]{0,63}:[a-z0-9-\.]{0,63}:[a-z0-9-\.]{0,63}:[^/].{0,1023}

Update requires: No interruption