AWS Lambda to revert back S3 “block all public access” if someone changed it to allow public access

0 votes
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.
Mar 13 in AWS by Pavan
• 150 points
189 views
Can you explain more about your query?

No answer to this question. Be the first to respond.

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.

Related Questions In AWS

0 votes
1 answer
0 votes
1 answer

AWS Access Key error when uploading to S3

You can try getting creating a new ...READ MORE

answered Feb 6, 2019 in AWS by Priyaj
• 57,660 points
3,129 views
0 votes
1 answer

Is it possible to find all S3 buckets given a prefix?

The high level collection command s3.buckets.filter only ...READ MORE

answered Aug 27, 2018 in AWS by Archana
• 4,150 points
2,729 views
0 votes
1 answer

How to access AWS Lambda environment variables using Java?

In Spring Core change the PropertySourcesPlaceholderConfigurer class can ...READ MORE

answered Oct 24, 2018 in AWS by Priyaj
• 57,660 points
1,312 views
0 votes
1 answer

how to access AWS S3 from Lambda in VPC

With boto3, the S3 urls are virtual by default, ...READ MORE

answered Sep 28, 2018 in AWS by Priyaj
• 57,660 points
4,896 views