JanitorCrawler crawler;
if (configuration().getBoolOrElse("simianarmy.janitor.edda.enabled", false)) {
crawler = new EddaLaunchConfigJanitorCrawler(
createEddaClient(), awsClient().region());
} else {
crawler = new LaunchConfigJanitorCrawler(awsClient());
}
BasicJanitorContext janitorCtx = new BasicJanitorContext(
monkeyRegion, ruleEngine, crawler, janitorResourceTracker,
monkeyCalendar, configuration(), recorder());
return new LaunchConfigJanitor(awsClient(), janitorCtx);