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

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

Go to download

Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.

There is a newer version: 1.24.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

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

import kotlin.Suppress

/**
 * Configures the inspection of login responses
 * @property bodyContains Configures inspection of the response body for success and failure indicators. AWS WAF can inspect the first 65,536 bytes (64 KB) of the response body.
 * @property header Configures inspection of the response header for success and failure indicators.
 * @property json Configures inspection of the response JSON for success and failure indicators. AWS WAF can inspect the first 65,536 bytes (64 KB) of the response JSON.
 * @property statusCode Configures inspection of the response status code for success and failure indicators.
 */
public data class WebAclResponseInspection(
    public val bodyContains: WebAclResponseInspectionBodyContains? = null,
    public val `header`: WebAclResponseInspectionHeader? = null,
    public val json: WebAclResponseInspectionJson? = null,
    public val statusCode: WebAclResponseInspectionStatusCode? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.awsnative.wafv2.outputs.WebAclResponseInspection): WebAclResponseInspection = WebAclResponseInspection(
            bodyContains = javaType.bodyContains().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.wafv2.kotlin.outputs.WebAclResponseInspectionBodyContains.Companion.toKotlin(args0)
                })
            }).orElse(null),
            `header` = javaType.`header`().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.wafv2.kotlin.outputs.WebAclResponseInspectionHeader.Companion.toKotlin(args0)
                })
            }).orElse(null),
            json = javaType.json().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.wafv2.kotlin.outputs.WebAclResponseInspectionJson.Companion.toKotlin(args0)
                })
            }).orElse(null),
            statusCode = javaType.statusCode().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.wafv2.kotlin.outputs.WebAclResponseInspectionStatusCode.Companion.toKotlin(args0)
                })
            }).orElse(null),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy