How do I create an aws_launch_template with instance attributes?

I’m currently operating an ASG based on a launch template that uses instance type attributes to define what sort of instance types it will provision:

I want to replace it with a terraform created one. But I’m unsure from the docs how to do this.

Has anyone got an example they can point me to?
Thanks!