![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.cloudflare.kotlin.outputs.WaitingRoomRulesRule.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-cloudflare-kotlin Show documentation
Show all versions of pulumi-cloudflare-kotlin Show documentation
Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.cloudflare.kotlin.outputs
import kotlin.String
import kotlin.Suppress
/**
*
* @property action Action to perform in the ruleset rule. Available values: `bypass_waiting_room`.
* @property description Brief summary of the waiting room rule and its intended use.
* @property expression Criteria for an HTTP request to trigger the waiting room rule action. Uses the Firewall Rules expression language based on Wireshark display filters. Refer to the [Waiting Room Rules Docs](https://developers.cloudflare.com/waiting-room/additional-options/waiting-room-rules/bypass-rules/).
* @property id Unique rule identifier.
* @property status Whether the rule is enabled or disabled. Available values: `enabled`, `disabled`.
* @property version Version of the waiting room rule.
*/
public data class WaitingRoomRulesRule(
public val action: String,
public val description: String? = null,
public val expression: String,
public val id: String? = null,
public val status: String? = null,
public val version: String? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.cloudflare.outputs.WaitingRoomRulesRule): WaitingRoomRulesRule = WaitingRoomRulesRule(
action = javaType.action(),
description = javaType.description().map({ args0 -> args0 }).orElse(null),
expression = javaType.expression(),
id = javaType.id().map({ args0 -> args0 }).orElse(null),
status = javaType.status().map({ args0 -> args0 }).orElse(null),
version = javaType.version().map({ args0 -> args0 }).orElse(null),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy