
com.pulumi.awsnative.wafv2.kotlin.inputs.WebAclResponseInspectionStatusCodeArgs.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.WebAclResponseInspectionStatusCodeArgs.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.Int
import kotlin.Suppress
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
* Response status codes that indicate success or failure of a login request
* @property failureCodes Status codes in the response that indicate a failed login or account creation attempt. To be counted as a failure, the response status code must match one of these. Each code must be unique among the success and failure status codes.
* JSON example: `"FailureCodes": [ 400, 404 ]`
* @property successCodes Status codes in the response that indicate a successful login or account creation attempt. To be counted as a success, the response status code must match one of these. Each code must be unique among the success and failure status codes.
* JSON example: `"SuccessCodes": [ 200, 201 ]`
*/
public data class WebAclResponseInspectionStatusCodeArgs(
public val failureCodes: Output>,
public val successCodes: Output>,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.wafv2.inputs.WebAclResponseInspectionStatusCodeArgs =
com.pulumi.awsnative.wafv2.inputs.WebAclResponseInspectionStatusCodeArgs.builder()
.failureCodes(failureCodes.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
.successCodes(successCodes.applyValue({ args0 -> args0.map({ args0 -> args0 }) })).build()
}
/**
* Builder for [WebAclResponseInspectionStatusCodeArgs].
*/
@PulumiTagMarker
public class WebAclResponseInspectionStatusCodeArgsBuilder internal constructor() {
private var failureCodes: Output>? = null
private var successCodes: Output>? = null
/**
* @param value Status codes in the response that indicate a failed login or account creation attempt. To be counted as a failure, the response status code must match one of these. Each code must be unique among the success and failure status codes.
* JSON example: `"FailureCodes": [ 400, 404 ]`
*/
@JvmName("ndqlsgdqkrfqmdga")
public suspend fun failureCodes(`value`: Output>) {
this.failureCodes = value
}
@JvmName("gvbxvhiwuksxllur")
public suspend fun failureCodes(vararg values: Output) {
this.failureCodes = Output.all(values.asList())
}
/**
* @param values Status codes in the response that indicate a failed login or account creation attempt. To be counted as a failure, the response status code must match one of these. Each code must be unique among the success and failure status codes.
* JSON example: `"FailureCodes": [ 400, 404 ]`
*/
@JvmName("ovhpeccgdrmtjysf")
public suspend fun failureCodes(values: List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy