Object-oriented CloudFormation definitions