This template creates a Simple AD directory with the specified properties. The directory DNS name is 'corp.example.com'. It uses a 'Small' size and is associated with the specified VPC and subnets.

CloudFormation Template