Provider Args
The provider type for the cloudflare package. By default, resources use package-wide configuration settings, however an explicit Provider
instance may be created and passed during resource construction to achieve fine-grained programmatic control over provider settings. See the documentation for more information.
Constructors
Properties
Configure the base path used by the API client. Alternatively, can be configured using the CLOUDFLARE_API_BASE_PATH
environment variable.
Whether to print logs from the API client (using the default log library logger). Alternatively, can be configured using the CLOUDFLARE_API_CLIENT_LOGGING
environment variable.
Configure the hostname used by the API client. Alternatively, can be configured using the CLOUDFLARE_API_HOSTNAME
environment variable.
A special Cloudflare API key good for a restricted set of endpoints. Alternatively, can be configured using the CLOUDFLARE_API_USER_SERVICE_KEY
environment variable. Must provide only one of api_key
, api_token
, api_user_service_key
.
Maximum backoff period in seconds after failed API calls. Alternatively, can be configured using the CLOUDFLARE_MAX_BACKOFF
environment variable.
Minimum backoff period in seconds after failed API calls. Alternatively, can be configured using the CLOUDFLARE_MIN_BACKOFF
environment variable.