
com.pulumi.awsnative.shield.kotlin.outputs.ProtectionApplicationLayerAutomaticResponseConfiguration.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.shield.kotlin.outputs
import com.pulumi.awsnative.shield.kotlin.enums.ProtectionApplicationLayerAutomaticResponseConfigurationStatus
import com.pulumi.core.Either
import kotlin.Suppress
/**
* The automatic application layer DDoS mitigation settings for a Protection. This configuration determines whether Shield Advanced automatically manages rules in the web ACL in order to respond to application layer events that Shield Advanced determines to be DDoS attacks.
* @property action 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 status Indicates whether automatic application layer DDoS mitigation is enabled for the protection.
*/
public data class ProtectionApplicationLayerAutomaticResponseConfiguration(
public val action: Either,
public val status: ProtectionApplicationLayerAutomaticResponseConfigurationStatus,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.shield.outputs.ProtectionApplicationLayerAutomaticResponseConfiguration): ProtectionApplicationLayerAutomaticResponseConfiguration =
ProtectionApplicationLayerAutomaticResponseConfiguration(
action = javaType.action().transform(
{ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.shield.kotlin.outputs.ProtectionApplicationLayerAutomaticResponseConfigurationAction0Properties.Companion.toKotlin(args0)
})
},
{ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.shield.kotlin.outputs.ProtectionApplicationLayerAutomaticResponseConfigurationAction1Properties.Companion.toKotlin(args0)
})
},
),
status = javaType.status().let({ args0 ->
com.pulumi.awsnative.shield.kotlin.enums.ProtectionApplicationLayerAutomaticResponseConfigurationStatus.Companion.toKotlin(args0)
}),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy