changed EC2Env to AWSEnv