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

com.pulumi.awsnative.ses.kotlin.outputs.MailManagerRuleSetRule.kt Maven / Gradle / Ivy

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

package com.pulumi.awsnative.ses.kotlin.outputs

import kotlin.Any
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List

/**
 *
 * @property actions The list of actions to execute when the conditions match the incoming email, and none of the "unless conditions" match.
 * @property conditions The conditions of this rule. All conditions must match the email for the actions to be executed. An empty list of conditions means that all emails match, but are still subject to any "unless conditions"
 * @property name The user-friendly name of the rule.
 * @property unless The "unless conditions" of this rule. None of the conditions can match the email for the actions to be executed. If any of these conditions do match the email, then the actions are not executed.
 */
public data class MailManagerRuleSetRule(
    public val actions: List,
    public val conditions: List? = null,
    public val name: String? = null,
    public val unless: List? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.awsnative.ses.outputs.MailManagerRuleSetRule): MailManagerRuleSetRule = MailManagerRuleSetRule(
            actions = javaType.actions().map({ args0 -> args0 }),
            conditions = javaType.conditions().map({ args0 -> args0 }),
            name = javaType.name().map({ args0 -> args0 }).orElse(null),
            unless = javaType.unless().map({ args0 -> args0 }),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy