Examples:

$ aws-ec2 create my-instance

To see the snippet of code that gets added to the user-data script you can use the --noop option and then view the generated tmp/user-data.txt.

$ aws-ec2 create myscript --noop