Setting up WorkDocs notification for folder and subfolders

0

I want to auto sync files from one of the WorkDocs folder to S3. I am following this blog https://aws.amazon.com/blogs/storage/auto-sync-files-from-amazon-workdocs-to-amazon-s3/. Step 7 shows Enabling Notification at site level. Is there an option to Enable Notification in Manage Notifications at folder and Subfolder level?

posta 4 mesi fa129 visualizzazioni
1 Risposta
0

Hello

Unfortunately, notifications within WorkDocs can only be used at the site-level as stated or at the user-level. There is currently no way to enable notifications on individuals folders/sub-folders. I will list some alternatives to achieve the same functionality outside of WorkDocs.

  1. Set up a Lambda function that periodically polls the lastModifiedTimestamp of files in your target WorkDocs folders using the WorkDocs SDK. If there are new/updated files, have it trigger an SNS notification that mails/texts you. This gives you custom folder notifications but requires writing code.

  2. As a simpler alternative to #1, use CloudWatch Events to periodically run an AWS CLI command that lists the files in your WorkDocs folders of interest. Check if there are new files compared to the previous run, and use the CLI to publish SNS notifications if so. Still involves coding/scripts.

con risposta 4 mesi fa

Accesso non effettuato. Accedi per postare una risposta.

Una buona risposta soddisfa chiaramente la domanda, fornisce un feedback costruttivo e incoraggia la crescita professionale del richiedente.

Linee guida per rispondere alle domande