A config.preview OSGi configuration folder cannot be declared the same way a config.publish can be declared folder. Instead, the preview tier inherits its OSGi configuration from the publish tier’s values. Check the section "Author versus Publish Configuration" on OSGI Configuration documentation
I read the documentation , I need a separate configuration for preview instance
the first option, which is recommended: in all OSGi folders (likeconfig.authorandconfig.publish) declared to define different values, use the same variable name. For example $[env:ENV_VAR_NAME;default=<value>], where the default corresponds to the default value for that tier (author or publish). When setting the environment variable viaCloud Manager APIor via a client, differentiate between the tiers using the “service” parameter as described in thisAPI reference documentation. The “service” parameter will bind the variable’s value to the appropriate OSGi tier. It can be “author” or “publish” or “preview”.
I'm unsure how to give this service parameter in config json file or in java OCD.