ApiTokenArgs

data class ApiTokenArgs(val condition: Output<ApiTokenConditionArgs>? = null, val expiresOn: Output<String>? = null, val name: Output<String>? = null, val notBefore: Output<String>? = null, val policies: Output<List<ApiTokenPolicyArgs>>? = null) : ConvertibleToJava<ApiTokenArgs>

Provides a resource which manages Cloudflare API tokens. Read more about permission groups and their applicable scopes in the developer documentation.

Constructors

Link copied to clipboard
constructor(condition: Output<ApiTokenConditionArgs>? = null, expiresOn: Output<String>? = null, name: Output<String>? = null, notBefore: Output<String>? = null, policies: Output<List<ApiTokenPolicyArgs>>? = null)

Properties

Link copied to clipboard
val condition: Output<ApiTokenConditionArgs>? = null

Conditions under which the token should be considered valid.

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

The expiration time on or after which the token MUST NOT be accepted for processing.

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

Name of the API Token.

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

The time before which the token MUST NOT be accepted for processing.

Link copied to clipboard
val policies: Output<List<ApiTokenPolicyArgs>>? = null

Permissions policy. Multiple policy blocks can be defined.

Functions

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