(int) configuration().getNumOrElse(
"simianarmy.janitor.rule.noGeneratedAMIRule.retentionDays", 7)));
}
JanitorCrawler snapshotCrawler;
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());
}