EmailRoutingRuleArgs

data class EmailRoutingRuleArgs(val actions: Output<List<EmailRoutingRuleActionArgs>>? = null, val enabled: Output<Boolean>? = null, val matchers: Output<List<EmailRoutingRuleMatcherArgs>>? = null, val name: Output<String>? = null, val priority: Output<Double>? = null, val zoneId: Output<String>? = null) : ConvertibleToJava<EmailRoutingRuleArgs>

Example Usage

resources:
exampleEmailRoutingRule:
type: cloudflare:EmailRoutingRule
name: example_email_routing_rule
properties:
zoneId: 023e105f4ecef8ad9ca31a8372d0c353
actions:
- type: drop
value:
- destinationaddress@example.net
matchers:
- field: to
type: literal
value: test@example.com
enabled: true
name: Send to user@example.net rule.
priority: 0

Import

$ pulumi import cloudflare:index/emailRoutingRule:EmailRoutingRule example '<zone_id>/<rule_identifier>'

Constructors

Link copied to clipboard
constructor(actions: Output<List<EmailRoutingRuleActionArgs>>? = null, enabled: Output<Boolean>? = null, matchers: Output<List<EmailRoutingRuleMatcherArgs>>? = null, name: Output<String>? = null, priority: Output<Double>? = null, zoneId: Output<String>? = null)

Properties

Link copied to clipboard

List actions patterns.

Link copied to clipboard
val enabled: Output<Boolean>? = null

Routing rule status.

Link copied to clipboard

Matching patterns to forward to your actions.

Link copied to clipboard
val name: Output<String>? = null

Routing rule name.

Link copied to clipboard
val priority: Output<Double>? = null

Priority of the routing rule.

Link copied to clipboard
val zoneId: Output<String>? = null

Identifier

Functions

Link copied to clipboard
open override fun toJava(): EmailRoutingRuleArgs