ProviderArgs

data class ProviderArgs(val apiKey: Output<String>? = null, val apiToken: Output<String>? = null, val apiUserServiceKey: Output<String>? = null, val baseUrl: Output<String>? = null, val email: Output<String>? = null, val userAgentOperatorSuffix: Output<String>? = null) : ConvertibleToJava<ProviderArgs>

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

Link copied to clipboard
constructor(apiKey: Output<String>? = null, apiToken: Output<String>? = null, apiUserServiceKey: Output<String>? = null, baseUrl: Output<String>? = null, email: Output<String>? = null, userAgentOperatorSuffix: Output<String>? = null)

Properties

Link copied to clipboard
val apiKey: Output<String>? = null

The API key for operations. Alternatively, can be configured using the CLOUDFLARE_API_KEY environment variable. API keys are [now considered legacy by

Link copied to clipboard
val apiToken: Output<String>? = null

The API Token for operations. Alternatively, can be configured using the CLOUDFLARE_API_TOKEN environment variable. Must provide only one of api_key, api_token, api_user_service_key.

Link copied to clipboard
val apiUserServiceKey: Output<String>? = null

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.

Link copied to clipboard
val baseUrl: Output<String>? = null

Value to override the default HTTP client base URL. Alternatively, can be configured using the base_url environment variable.

Link copied to clipboard
val email: Output<String>? = null

A registered Cloudflare email address. Alternatively, can be configured using the CLOUDFLARE_EMAIL environment variable. Required when using api_key. Conflicts with api_token.

Link copied to clipboard
val userAgentOperatorSuffix: Output<String>? = null

Functions

Link copied to clipboard
open override fun toJava(): ProviderArgs