Email Routing Rule Args
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
Content copied to clipboard
Import
$ pulumi import cloudflare:index/emailRoutingRule:EmailRoutingRule example '<zone_id>/<rule_identifier>'
Content copied to clipboard
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)