We have an AWS S3 bucket that accepts uploads from untrusted sources which are then processed and moved out of the bucket.

Is there a Policy that can limit the growth of the bucket to some predetermined upper bound to protect us in case something goes wrong?

2 Answers 2


Not as far as I know.

You can create Billing alerts to get notifications when AWS thinks that your monthly spend may be over a given threshold.


There's not such a policy as far as I know.

That being said, you could trigger a lambda and then make this lambda check the properties of your bucket and then you would perform any actions you need.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.