Custom serverless plugin for whitelisting certain IP and/or CIDR addresses by setting a resource policy