com.pulumi.aws.wafv2.kotlin.inputs.WebAclAssociationConfigRequestBodyAppRunnerServiceArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-aws-kotlin Show documentation
Show all versions of pulumi-aws-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.aws.wafv2.kotlin.inputs
import com.pulumi.aws.wafv2.inputs.WebAclAssociationConfigRequestBodyAppRunnerServiceArgs.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 App Runner services 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 WebAclAssociationConfigRequestBodyAppRunnerServiceArgs(
public val defaultSizeInspectionLimit: Output,
) :
ConvertibleToJava {
override fun toJava(): com.pulumi.aws.wafv2.inputs.WebAclAssociationConfigRequestBodyAppRunnerServiceArgs =
com.pulumi.aws.wafv2.inputs.WebAclAssociationConfigRequestBodyAppRunnerServiceArgs.builder()
.defaultSizeInspectionLimit(defaultSizeInspectionLimit.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [WebAclAssociationConfigRequestBodyAppRunnerServiceArgs].
*/
@PulumiTagMarker
public class WebAclAssociationConfigRequestBodyAppRunnerServiceArgsBuilder internal constructor() {
private var defaultSizeInspectionLimit: Output? = null
/**
* @param value Specifies the maximum size of the web request body component that an associated Amazon App Runner services 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("nuhfawfybwochkox")
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 App Runner services 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("vabudnsgnmkwxppp")
public suspend fun defaultSizeInspectionLimit(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.defaultSizeInspectionLimit = mapped
}
internal fun build(): WebAclAssociationConfigRequestBodyAppRunnerServiceArgs =
WebAclAssociationConfigRequestBodyAppRunnerServiceArgs(
defaultSizeInspectionLimit = defaultSizeInspectionLimit ?: throw
PulumiNullFieldException("defaultSizeInspectionLimit"),
)
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy