![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.awsnative.wafv2.kotlin.outputs.WebAclResponseInspectionHeader.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 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 WebAclResponseInspectionHeader(
public val failureValues: List,
public val name: String,
public val successValues: List,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.wafv2.outputs.WebAclResponseInspectionHeader): WebAclResponseInspectionHeader = WebAclResponseInspectionHeader(
failureValues = javaType.failureValues().map({ args0 -> args0 }),
name = javaType.name(),
successValues = javaType.successValues().map({ args0 -> args0 }),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy