if (configuration().getBoolOrElse("simianarmy.janitor.edda.enabled", false)) {
snapshotCrawler = new EddaEBSSnapshotJanitorCrawler(
configuration().getStr("simianarmy.janitor.snapshots.ownerId"),
createEddaClient(), awsClient().region());
} else {
snapshotCrawler = new EBSSnapshotJanitorCrawler(awsClient());
}
BasicJanitorContext snapshotJanitorCtx = new BasicJanitorContext(
monkeyRegion, ruleEngine, snapshotCrawler, janitorResourceTracker,
monkeyCalendar, configuration(), recorder());
return new EBSSnapshotJanitor(awsClient(), snapshotJanitorCtx);