EmailRoutingSettings

class EmailRoutingSettings : KotlinCustomResource

Provides a resource for managing Email Routing settings.

Example Usage

import * as pulumi from "@pulumi/pulumi";
import * as cloudflare from "@pulumi/cloudflare";
const myZone = new cloudflare.EmailRoutingSettings("my_zone", {
zoneId: "0da42c8d2132a9ddaf714f9e7c920711",
enabled: true,
});
import pulumi
import pulumi_cloudflare as cloudflare
my_zone = cloudflare.EmailRoutingSettings("my_zone",
zone_id="0da42c8d2132a9ddaf714f9e7c920711",
enabled=True)
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Cloudflare = Pulumi.Cloudflare;
return await Deployment.RunAsync(() =>
{
var myZone = new Cloudflare.EmailRoutingSettings("my_zone", new()
{
ZoneId = "0da42c8d2132a9ddaf714f9e7c920711",
Enabled = true,
});
});
package main
import (
"github.com/pulumi/pulumi-cloudflare/sdk/v5/go/cloudflare"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := cloudflare.NewEmailRoutingSettings(ctx, "my_zone", &cloudflare.EmailRoutingSettingsArgs{
ZoneId: pulumi.String("0da42c8d2132a9ddaf714f9e7c920711"),
Enabled: pulumi.Bool(true),
})
if err != nil {
return err
}
return nil
})
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.cloudflare.EmailRoutingSettings;
import com.pulumi.cloudflare.EmailRoutingSettingsArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var myZone = new EmailRoutingSettings("myZone", EmailRoutingSettingsArgs.builder()
.zoneId("0da42c8d2132a9ddaf714f9e7c920711")
.enabled("true")
.build());
}
}
resources:
myZone:
type: cloudflare:EmailRoutingSettings
name: my_zone
properties:
zoneId: 0da42c8d2132a9ddaf714f9e7c920711
enabled: 'true'

Properties

Link copied to clipboard
val created: Output<String>

The date and time the settings have been created.

Link copied to clipboard
val enabled: Output<Boolean>

State of the zone settings for Email Routing. Modifying this attribute will force creation of a new resource.

Link copied to clipboard
val id: Output<String>
Link copied to clipboard
val modified: Output<String>

The date and time the settings have been modified.

Link copied to clipboard
val name: Output<String>

Domain of your zone.

Link copied to clipboard
val pulumiChildResources: Set<KotlinResource>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val skipWizard: Output<Boolean>

Flag to check if the user skipped the configuration wizard.

Link copied to clipboard
val status: Output<String>

Show the state of your account, and the type or configuration error.

Link copied to clipboard
val tag: Output<String>

Email Routing settings identifier.

Link copied to clipboard
val urn: Output<String>
Link copied to clipboard
val zoneId: Output<String>

The zone identifier to target for the resource. Modifying this attribute will force creation of a new resource.