This is an object method on SlaveTemplate, the parent field of SlaveTemplate is the EC2Cloud you want.