com.pulumi.cloudflare.kotlin.outputs.EmailRoutingRuleAction.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-cloudflare-kotlin Show documentation
Show all versions of pulumi-cloudflare-kotlin Show documentation
Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.cloudflare.kotlin.outputs
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
/**
*
* @property type Type of action. Available values: `forward`, `worker`, `drop`
* @property values Value to match on. Required for `type` of `literal`.
*/
public data class EmailRoutingRuleAction(
public val type: String,
public val values: List? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.cloudflare.outputs.EmailRoutingRuleAction): EmailRoutingRuleAction = EmailRoutingRuleAction(
type = javaType.type(),
values = javaType.values().map({ args0 -> args0 }),
)
}
}