Disallows creation of objects in the deployment bucket which can have public access.
NOTE: Deprecated, see neverendingqs/serverless-default-aws-resource-properties#17 (comment)
Install module
npm install -D serverless-s3-block-public-access
Add to serverless.yml:
plugins:
- serverless-s3-block-public-access
Deploy normally.