com.pulumi.awsnative.shield.kotlin.outputs.ProtectionApplicationLayerAutomaticResponseConfigurationAction0Properties.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-aws-native-kotlin Show documentation
Show all versions of pulumi-aws-native-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.awsnative.shield.kotlin.outputs
import kotlin.Any
import kotlin.Suppress
/**
* Specifies the action setting that Shield Advanced should use in the AWS WAF rules that it creates on behalf of the protected resource in response to DDoS attacks. You specify this as part of the configuration for the automatic application layer DDoS mitigation feature, when you enable or update automatic mitigation. Shield Advanced creates the AWS WAF rules in a Shield Advanced-managed rule group, inside the web ACL that you have associated with the resource.
* @property count Specifies that Shield Advanced should configure its AWS WAF rules with the AWS WAF `Count` action.
* You must specify exactly one action, either `Block` or `Count`.
*/
public data class ProtectionApplicationLayerAutomaticResponseConfigurationAction0Properties(
public val count: Any? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.shield.outputs.ProtectionApplicationLayerAutomaticResponseConfigurationAction0Properties): ProtectionApplicationLayerAutomaticResponseConfigurationAction0Properties =
ProtectionApplicationLayerAutomaticResponseConfigurationAction0Properties(
count = javaType.count().map({ args0 -> args0 }).orElse(null),
)
}
}