How can I create a DependsOn relation between EC2 and RDS using aws-cdk
I am currently using the aws-cdk (TypeScript) to create a stack that consists of an EC2 instance and a RDS databaseInstance. The RDS instance needs to be setup before the EC2 instance can be started and userdata will be executed. The problem I have is, that I could not find a way to define the DepensOn (Cloudformation) attribute between the two resources. Th