The serverless execution model allows application developers to deploy their software using tiny functions with zero administration, no handling of resource provisioning, monitoring and scaling. Due to such advantages, the serverless model emerged as a new promising paradigm, where pay as you go offerings can be found by all public cloud providers. However, these offerings encourage vendor lock-in. This paper aims to address the vendor lock-in issue using a novel framework that combines the strength of an agnostic infrastructure configuration based on the Constructs Programming Model, and the creation of abstraction layers that supports function logic by handling provider-specific integration. The proposed framework abstracts away the specificities and complications of the various underlying serverless platforms and the application developers are only required to provide their specific functions. The evaluation consists of the deployment of a benchmark application across different cloud providers to demonstrate the ease and flexibility of the framework.