Fix of "The parameter SecurityGroup is not recognized." when with/setSecurityGroups method is called in the ImportInstanceLaunchSpecification.
More details: https://forums.aws.amazon.com/thread.jspa?threadID=115231