com.pulumi.cloudflare.kotlin.outputs.ZeroTrustGatewayPolicyRuleSettingsCheckSession.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.Boolean
import kotlin.String
import kotlin.Suppress
/**
*
* @property duration Configure how fresh the session needs to be to be considered valid.
* @property enforce Enable session enforcement for this rule.
*/
public data class ZeroTrustGatewayPolicyRuleSettingsCheckSession(
public val duration: String,
public val enforce: Boolean,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.cloudflare.outputs.ZeroTrustGatewayPolicyRuleSettingsCheckSession): ZeroTrustGatewayPolicyRuleSettingsCheckSession =
ZeroTrustGatewayPolicyRuleSettingsCheckSession(
duration = javaType.duration(),
enforce = javaType.enforce(),
)
}
}