Users can write @ConditionalOnResource("${path.to.file}") and placeholders are resolved from the environment.