All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.awsnative.wafv2.kotlin.outputs.WebAclResponseInspectionBodyContains.kt Maven / Gradle / Ivy

@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.awsnative.wafv2.kotlin.outputs

import kotlin.String
import kotlin.Suppress
import kotlin.collections.List

/**
 * 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 WebAclResponseInspectionBodyContains(
    public val failureStrings: List,
    public val successStrings: List,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.awsnative.wafv2.outputs.WebAclResponseInspectionBodyContains): WebAclResponseInspectionBodyContains = WebAclResponseInspectionBodyContains(
            failureStrings = javaType.failureStrings().map({ args0 -> args0 }),
            successStrings = javaType.successStrings().map({ args0 -> args0 }),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy