![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.awsnative.shield.kotlin.outputs.GetProtectionResult.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.shield.kotlin.outputs
import com.pulumi.awsnative.kotlin.outputs.Tag
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
/**
*
* @property applicationLayerAutomaticResponseConfiguration The automatic application layer DDoS mitigation settings for the 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.
* If you use AWS CloudFormation to manage the web ACLs that you use with Shield Advanced automatic mitigation, see the additional guidance about web ACL management in the `AWS::WAFv2::WebACL` resource description.
* @property healthCheckArns The Amazon Resource Names (ARNs) of the health check to associate with the protection.
* @property protectionArn The ARN (Amazon Resource Name) of the protection.
* @property protectionId The unique identifier (ID) of the protection.
* @property tags One or more tag key-value pairs for the Protection object.
*/
public data class GetProtectionResult(
public val applicationLayerAutomaticResponseConfiguration: ProtectionApplicationLayerAutomaticResponseConfiguration? = null,
public val healthCheckArns: List? = null,
public val protectionArn: String? = null,
public val protectionId: String? = null,
public val tags: List? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.shield.outputs.GetProtectionResult): GetProtectionResult = GetProtectionResult(
applicationLayerAutomaticResponseConfiguration = javaType.applicationLayerAutomaticResponseConfiguration().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.shield.kotlin.outputs.ProtectionApplicationLayerAutomaticResponseConfiguration.Companion.toKotlin(args0)
})
}).orElse(null),
healthCheckArns = javaType.healthCheckArns().map({ args0 -> args0 }),
protectionArn = javaType.protectionArn().map({ args0 -> args0 }).orElse(null),
protectionId = javaType.protectionId().map({ args0 -> args0 }).orElse(null),
tags = javaType.tags().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.kotlin.outputs.Tag.Companion.toKotlin(args0)
})
}),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy