
com.pulumi.awsnative.wafv2.kotlin.inputs.WebAclResponseInspectionHeaderArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-aws-native-kotlin Show documentation
Show all versions of pulumi-aws-native-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.awsnative.wafv2.kotlin.inputs
import com.pulumi.awsnative.wafv2.inputs.WebAclResponseInspectionHeaderArgs.builder
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.String
import kotlin.Suppress
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
* Response headers that indicate success or failure of a login request
* @property failureValues Values in the response header with the specified name that indicate a failed login or account creation attempt. To be counted as a failure, the value must be an exact match, including case. Each value must be unique among the success and failure values.
* JSON examples: `"FailureValues": [ "LoginFailed", "Failed login" ]` and `"FailureValues": [ "AccountCreationFailed" ]`
* @property name The name of the header to match against. The name must be an exact match, including case.
* JSON example: `"Name": [ "RequestResult" ]`
* @property successValues Values in the response header with the specified name that indicate a successful login or account creation attempt. To be counted as a success, the value must be an exact match, including case. Each value must be unique among the success and failure values.
* JSON examples: `"SuccessValues": [ "LoginPassed", "Successful login" ]` and `"SuccessValues": [ "AccountCreated", "Successful account creation" ]`
*/
public data class WebAclResponseInspectionHeaderArgs(
public val failureValues: Output>,
public val name: Output,
public val successValues: Output>,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.wafv2.inputs.WebAclResponseInspectionHeaderArgs =
com.pulumi.awsnative.wafv2.inputs.WebAclResponseInspectionHeaderArgs.builder()
.failureValues(failureValues.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
.name(name.applyValue({ args0 -> args0 }))
.successValues(successValues.applyValue({ args0 -> args0.map({ args0 -> args0 }) })).build()
}
/**
* Builder for [WebAclResponseInspectionHeaderArgs].
*/
@PulumiTagMarker
public class WebAclResponseInspectionHeaderArgsBuilder internal constructor() {
private var failureValues: Output>? = null
private var name: Output? = null
private var successValues: Output>? = null
/**
* @param value Values in the response header with the specified name that indicate a failed login or account creation attempt. To be counted as a failure, the value must be an exact match, including case. Each value must be unique among the success and failure values.
* JSON examples: `"FailureValues": [ "LoginFailed", "Failed login" ]` and `"FailureValues": [ "AccountCreationFailed" ]`
*/
@JvmName("ulohsckglngjrfdh")
public suspend fun failureValues(`value`: Output>) {
this.failureValues = value
}
@JvmName("udqowfwjtnqaqtkn")
public suspend fun failureValues(vararg values: Output) {
this.failureValues = Output.all(values.asList())
}
/**
* @param values Values in the response header with the specified name that indicate a failed login or account creation attempt. To be counted as a failure, the value must be an exact match, including case. Each value must be unique among the success and failure values.
* JSON examples: `"FailureValues": [ "LoginFailed", "Failed login" ]` and `"FailureValues": [ "AccountCreationFailed" ]`
*/
@JvmName("uvweobimobobmqsv")
public suspend fun failureValues(values: List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy