Register targets with a target group

Registers the specified targets with the specified target group. If the target is an EC2 instance, it must be in the running state when you register it.