AWS – Amazon Macie supports criteria-based bucket selection for sensitive data discovery jobs
Amazon Macie now allows you to define a run-time criteria to determine which S3 buckets should be included in a sensitive data discovery job. When a job runs, Macie identifies the S3 buckets that match your criteria and automatically adds or removes them from the job’s scope. This capability makes it easier for you to manage S3 buckets that should be monitored for sensitive data and also removes the need to create new jobs to monitor newly created or modified S3 buckets.
Read More for the details.