Skip to main content

RemoteConfigSourceOptions

Home > @backstage/config-loader > RemoteConfigSourceOptions

Options for RemoteConfigSource.create().

Signature:

export interface RemoteConfigSourceOptions 

Properties

Property

Modifiers

Type

Description

parser?

Parser

(Optional) A content parsing function to transform string content to configuration values.

reloadInterval?

HumanDuration

(Optional) How often to reload the config from the remote URL, defaults to 1 minute.

Set to Infinity to disable reloading, for example { days: Infinity }.

substitutionFunc?

SubstitutionFunc

(Optional) A substitution function to use instead of the default environment substitution.

url

string

The URL to load the config from.