
com.pulumi.awsnative.wafv2.kotlin.inputs.WebAclResponseInspectionBodyContainsArgs.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.WebAclResponseInspectionBodyContainsArgs.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 body contents that indicate success or failure of a login request
* @property failureStrings Strings in the body of the response that indicate a failed login or account creation attempt. To be counted as a failure, the string can be anywhere in the body and must be an exact match, including case. Each string must be unique among the success and failure strings.
* JSON example: `"FailureStrings": [ "Request failed" ]`
* @property successStrings Strings in the body of the response that indicate a successful login or account creation attempt. To be counted as a success, the string can be anywhere in the body and must be an exact match, including case. Each string must be unique among the success and failure strings.
* JSON examples: `"SuccessStrings": [ "Login successful" ]` and `"SuccessStrings": [ "Account creation successful", "Welcome to our site!" ]`
*/
public data class WebAclResponseInspectionBodyContainsArgs(
public val failureStrings: Output>,
public val successStrings: Output>,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.wafv2.inputs.WebAclResponseInspectionBodyContainsArgs = com.pulumi.awsnative.wafv2.inputs.WebAclResponseInspectionBodyContainsArgs.builder()
.failureStrings(failureStrings.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
.successStrings(successStrings.applyValue({ args0 -> args0.map({ args0 -> args0 }) })).build()
}
/**
* Builder for [WebAclResponseInspectionBodyContainsArgs].
*/
@PulumiTagMarker
public class WebAclResponseInspectionBodyContainsArgsBuilder internal constructor() {
private var failureStrings: Output>? = null
private var successStrings: Output>? = null
/**
* @param value Strings in the body of the response that indicate a failed login or account creation attempt. To be counted as a failure, the string can be anywhere in the body and must be an exact match, including case. Each string must be unique among the success and failure strings.
* JSON example: `"FailureStrings": [ "Request failed" ]`
*/
@JvmName("cvbkeraxcedypxnh")
public suspend fun failureStrings(`value`: Output>) {
this.failureStrings = value
}
@JvmName("rqwwnlksqipqxuet")
public suspend fun failureStrings(vararg values: Output) {
this.failureStrings = Output.all(values.asList())
}
/**
* @param values Strings in the body of the response that indicate a failed login or account creation attempt. To be counted as a failure, the string can be anywhere in the body and must be an exact match, including case. Each string must be unique among the success and failure strings.
* JSON example: `"FailureStrings": [ "Request failed" ]`
*/
@JvmName("gjjefsbdsiqctsyf")
public suspend fun failureStrings(values: List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy