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

com.pulumi.aws.wafv2.kotlin.inputs.WebAclAssociationConfigRequestBodyCloudfrontArgs.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: 6.57.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.aws.wafv2.kotlin.inputs

import com.pulumi.aws.wafv2.inputs.WebAclAssociationConfigRequestBodyCloudfrontArgs.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.jvm.JvmName

/**
 *
 * @property defaultSizeInspectionLimit Specifies the maximum size of the web request body component that an associated Amazon CloudFront distribution should send to AWS WAF for inspection. This applies to statements in the web ACL that inspect the body or JSON body. Valid values are `KB_16`, `KB_32`, `KB_48` and `KB_64`.
 */
public data class WebAclAssociationConfigRequestBodyCloudfrontArgs(
    public val defaultSizeInspectionLimit: Output,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.aws.wafv2.inputs.WebAclAssociationConfigRequestBodyCloudfrontArgs =
        com.pulumi.aws.wafv2.inputs.WebAclAssociationConfigRequestBodyCloudfrontArgs.builder()
            .defaultSizeInspectionLimit(defaultSizeInspectionLimit.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [WebAclAssociationConfigRequestBodyCloudfrontArgs].
 */
@PulumiTagMarker
public class WebAclAssociationConfigRequestBodyCloudfrontArgsBuilder internal constructor() {
    private var defaultSizeInspectionLimit: Output? = null

    /**
     * @param value Specifies the maximum size of the web request body component that an associated Amazon CloudFront distribution should send to AWS WAF for inspection. This applies to statements in the web ACL that inspect the body or JSON body. Valid values are `KB_16`, `KB_32`, `KB_48` and `KB_64`.
     */
    @JvmName("cbysiyhuqherprxa")
    public suspend fun defaultSizeInspectionLimit(`value`: Output) {
        this.defaultSizeInspectionLimit = value
    }

    /**
     * @param value Specifies the maximum size of the web request body component that an associated Amazon CloudFront distribution should send to AWS WAF for inspection. This applies to statements in the web ACL that inspect the body or JSON body. Valid values are `KB_16`, `KB_32`, `KB_48` and `KB_64`.
     */
    @JvmName("svkyiovnxawmvysd")
    public suspend fun defaultSizeInspectionLimit(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.defaultSizeInspectionLimit = mapped
    }

    internal fun build(): WebAclAssociationConfigRequestBodyCloudfrontArgs =
        WebAclAssociationConfigRequestBodyCloudfrontArgs(
            defaultSizeInspectionLimit = defaultSizeInspectionLimit ?: throw
                PulumiNullFieldException("defaultSizeInspectionLimit"),
        )
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy