com.pulumi.cloudflare.kotlin.outputs.RulesetRuleExposedCredentialCheck.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.
The newest version!
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.cloudflare.kotlin.outputs
import kotlin.String
import kotlin.Suppress
/**
*
* @property passwordExpression Firewall Rules expression language based on Wireshark display filters for where to check for the "password" value. Refer to the [Firewall Rules language](https://developers.cloudflare.com/firewall/cf-firewall-language).
* @property usernameExpression Firewall Rules expression language based on Wireshark display filters for where to check for the "username" value. Refer to the [Firewall Rules language](https://developers.cloudflare.com/firewall/cf-firewall-language).
*/
public data class RulesetRuleExposedCredentialCheck(
public val passwordExpression: String? = null,
public val usernameExpression: String? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.cloudflare.outputs.RulesetRuleExposedCredentialCheck): RulesetRuleExposedCredentialCheck = RulesetRuleExposedCredentialCheck(
passwordExpression = javaType.passwordExpression().map({ args0 -> args0 }).orElse(null),
usernameExpression = javaType.usernameExpression().map({ args0 -> args0 }).orElse(null),
)
}
}