Recently I created a CloudFormation template with a Windows server with authentication towards Active Directory. You can use the following snippet to achieve that:
I am also adding users from the domain group ServerAdmin
to the local computers Administrators
group.