I'm trying to use AWS Lambda to check periodically (maybe use a cron job) if the S3 "block public access" is turned ON. If it ever finds that S3 "block public access" is turned OFF (i.e, if S3 is public), the lambda needs to turn ON to "block public access".
Not sure where to begin with this.. please advice.