resource class config