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

com.pulumi.awsnative.shield.kotlin.outputs.ProtectionApplicationLayerAutomaticResponseConfigurationAction0Properties.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: 0.122.0.0
Show newest version
@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),
            )
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy