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

com.pulumi.awsnative.wafv2.kotlin.outputs.LoggingConfigurationCondition.kt Maven / Gradle / Ivy

@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.awsnative.wafv2.kotlin.outputs

import kotlin.Suppress

/**
 *
 * @property actionCondition A single action condition.
 * @property labelNameCondition A single label name condition.
 */
public data class LoggingConfigurationCondition(
    public val actionCondition: LoggingConfigurationConditionActionConditionProperties? = null,
    public val labelNameCondition: LoggingConfigurationConditionLabelNameConditionProperties? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.awsnative.wafv2.outputs.LoggingConfigurationCondition): LoggingConfigurationCondition = LoggingConfigurationCondition(
            actionCondition = javaType.actionCondition().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.wafv2.kotlin.outputs.LoggingConfigurationConditionActionConditionProperties.Companion.toKotlin(args0)
                })
            }).orElse(null),
            labelNameCondition = javaType.labelNameCondition().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.wafv2.kotlin.outputs.LoggingConfigurationConditionLabelNameConditionProperties.Companion.toKotlin(args0)
                })
            }).orElse(null),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy