![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.awsnative.wafv2.kotlin.inputs.WebAclJa3FingerprintArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.wafv2.kotlin.inputs
import com.pulumi.awsnative.wafv2.inputs.WebAclJa3FingerprintArgs.builder
import com.pulumi.awsnative.wafv2.kotlin.enums.WebAclJa3FingerprintFallbackBehavior
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiNullFieldException
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
* Includes the JA3 fingerprint of a web request.
* @property fallbackBehavior The match status to assign to the web request if the request doesn't have a JA3 fingerprint.
* You can specify the following fallback behaviors:
* - `MATCH` - Treat the web request as matching the rule statement. AWS WAF applies the rule action to the request.
* - `NO_MATCH` - Treat the web request as not matching the rule statement.
*/
public data class WebAclJa3FingerprintArgs(
public val fallbackBehavior: Output,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.wafv2.inputs.WebAclJa3FingerprintArgs =
com.pulumi.awsnative.wafv2.inputs.WebAclJa3FingerprintArgs.builder()
.fallbackBehavior(
fallbackBehavior.applyValue({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
}),
).build()
}
/**
* Builder for [WebAclJa3FingerprintArgs].
*/
@PulumiTagMarker
public class WebAclJa3FingerprintArgsBuilder internal constructor() {
private var fallbackBehavior: Output? = null
/**
* @param value The match status to assign to the web request if the request doesn't have a JA3 fingerprint.
* You can specify the following fallback behaviors:
* - `MATCH` - Treat the web request as matching the rule statement. AWS WAF applies the rule action to the request.
* - `NO_MATCH` - Treat the web request as not matching the rule statement.
*/
@JvmName("umrxhnaqavkffcsw")
public suspend fun fallbackBehavior(`value`: Output) {
this.fallbackBehavior = value
}
/**
* @param value The match status to assign to the web request if the request doesn't have a JA3 fingerprint.
* You can specify the following fallback behaviors:
* - `MATCH` - Treat the web request as matching the rule statement. AWS WAF applies the rule action to the request.
* - `NO_MATCH` - Treat the web request as not matching the rule statement.
*/
@JvmName("wfbjeoudrvlemhnb")
public suspend fun fallbackBehavior(`value`: WebAclJa3FingerprintFallbackBehavior) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.fallbackBehavior = mapped
}
internal fun build(): WebAclJa3FingerprintArgs = WebAclJa3FingerprintArgs(
fallbackBehavior = fallbackBehavior ?: throw PulumiNullFieldException("fallbackBehavior"),
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy