1. Packages
  2. Packages
  3. Chronosphere
  4. API Docs
  5. EmailAlertNotifier
Viewing docs for Chronosphere v0.9.16
published on Friday, Jun 5, 2026 by Chronosphere
Viewing docs for Chronosphere v0.9.16
published on Friday, Jun 5, 2026 by Chronosphere

    Email notifier that delivers monitor signals to a recipient address with templated HTML and/or plain-text bodies. Referenced from notification policies.

    Example Usage

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Pulumi = Chronosphere.Pulumi;
    
    return await Deployment.RunAsync(() => 
    {
        var email = new Pulumi.EmailAlertNotifier("email", new()
        {
            Name = "Email Blackhole",
            To = "blackhole@chronosphere.io",
        });
    
    });
    
    package main
    
    import (
    	"github.com/chronosphereio/pulumi-chronosphere/sdk/go/chronosphere"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := chronosphere.NewEmailAlertNotifier(ctx, "email", &chronosphere.EmailAlertNotifierArgs{
    			Name: pulumi.String("Email Blackhole"),
    			To:   pulumi.String("blackhole@chronosphere.io"),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    

    Example coming soon!

    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.chronosphere.EmailAlertNotifier;
    import com.pulumi.chronosphere.EmailAlertNotifierArgs;
    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 email = new EmailAlertNotifier("email", EmailAlertNotifierArgs.builder()        
                .name("Email Blackhole")
                .to("blackhole@chronosphere.io")
                .build());
    
        }
    }
    
    import * as pulumi from "@pulumi/pulumi";
    import * as chronosphere from "@pulumi-chronosphere/pulumi-chronosphere";
    
    const email = new chronosphere.EmailAlertNotifier("email", {
        name: "Email Blackhole",
        to: "blackhole@chronosphere.io",
    });
    
    import pulumi
    import pulumi_chronosphere as chronosphere
    
    email = chronosphere.EmailAlertNotifier("email",
        name="Email Blackhole",
        to="blackhole@chronosphere.io")
    
    resources:
      email:
        type: chronosphere:EmailAlertNotifier
        properties:
          name: Email Blackhole
          to: blackhole@chronosphere.io
    

    Create EmailAlertNotifier Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new EmailAlertNotifier(name: string, args: EmailAlertNotifierArgs, opts?: CustomResourceOptions);
    @overload
    def EmailAlertNotifier(resource_name: str,
                           args: EmailAlertNotifierArgs,
                           opts: Optional[ResourceOptions] = None)
    
    @overload
    def EmailAlertNotifier(resource_name: str,
                           opts: Optional[ResourceOptions] = None,
                           name: Optional[str] = None,
                           to: Optional[str] = None,
                           html: Optional[str] = None,
                           send_resolved: Optional[bool] = None,
                           slug: Optional[str] = None,
                           text: Optional[str] = None)
    func NewEmailAlertNotifier(ctx *Context, name string, args EmailAlertNotifierArgs, opts ...ResourceOption) (*EmailAlertNotifier, error)
    public EmailAlertNotifier(string name, EmailAlertNotifierArgs args, CustomResourceOptions? opts = null)
    public EmailAlertNotifier(String name, EmailAlertNotifierArgs args)
    public EmailAlertNotifier(String name, EmailAlertNotifierArgs args, CustomResourceOptions options)
    
    type: chronosphere:EmailAlertNotifier
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    resource "chronosphere_emailalertnotifier" "name" {
        # resource properties
    }

    Parameters

    name string
    The unique name of the resource.
    args EmailAlertNotifierArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args EmailAlertNotifierArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args EmailAlertNotifierArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args EmailAlertNotifierArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args EmailAlertNotifierArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var emailAlertNotifierResource = new Pulumi.EmailAlertNotifier("emailAlertNotifierResource", new()
    {
        Name = "string",
        To = "string",
        Html = "string",
        SendResolved = false,
        Slug = "string",
        Text = "string",
    });
    
    example, err := chronosphere.NewEmailAlertNotifier(ctx, "emailAlertNotifierResource", &chronosphere.EmailAlertNotifierArgs{
    	Name:         pulumi.String("string"),
    	To:           pulumi.String("string"),
    	Html:         pulumi.String("string"),
    	SendResolved: pulumi.Bool(false),
    	Slug:         pulumi.String("string"),
    	Text:         pulumi.String("string"),
    })
    
    resource "chronosphere_emailalertnotifier" "emailAlertNotifierResource" {
      name          = "string"
      to            = "string"
      html          = "string"
      send_resolved = false
      slug          = "string"
      text          = "string"
    }
    
    var emailAlertNotifierResource = new EmailAlertNotifier("emailAlertNotifierResource", EmailAlertNotifierArgs.builder()
        .name("string")
        .to("string")
        .html("string")
        .sendResolved(false)
        .slug("string")
        .text("string")
        .build());
    
    email_alert_notifier_resource = chronosphere.EmailAlertNotifier("emailAlertNotifierResource",
        name="string",
        to="string",
        html="string",
        send_resolved=False,
        slug="string",
        text="string")
    
    const emailAlertNotifierResource = new chronosphere.EmailAlertNotifier("emailAlertNotifierResource", {
        name: "string",
        to: "string",
        html: "string",
        sendResolved: false,
        slug: "string",
        text: "string",
    });
    
    type: chronosphere:EmailAlertNotifier
    properties:
        html: string
        name: string
        sendResolved: false
        slug: string
        text: string
        to: string
    

    EmailAlertNotifier Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The EmailAlertNotifier resource accepts the following input properties:

    Name string
    Display name of the notifier.
    To string
    Email address to send notifications to.
    Html string
    Body of the email in HTML format. Supports Go templating.
    SendResolved bool
    Whether to send a follow-up notification when an alert is resolved. Defaults to true.
    Slug string
    Stable identifier for the notifier. Generated from name if omitted. Immutable after creation.
    Text string
    Body of the email in plain text format. Supports Go templating.
    Name string
    Display name of the notifier.
    To string
    Email address to send notifications to.
    Html string
    Body of the email in HTML format. Supports Go templating.
    SendResolved bool
    Whether to send a follow-up notification when an alert is resolved. Defaults to true.
    Slug string
    Stable identifier for the notifier. Generated from name if omitted. Immutable after creation.
    Text string
    Body of the email in plain text format. Supports Go templating.
    name string
    Display name of the notifier.
    to string
    Email address to send notifications to.
    html string
    Body of the email in HTML format. Supports Go templating.
    send_resolved bool
    Whether to send a follow-up notification when an alert is resolved. Defaults to true.
    slug string
    Stable identifier for the notifier. Generated from name if omitted. Immutable after creation.
    text string
    Body of the email in plain text format. Supports Go templating.
    name String
    Display name of the notifier.
    to String
    Email address to send notifications to.
    html String
    Body of the email in HTML format. Supports Go templating.
    sendResolved Boolean
    Whether to send a follow-up notification when an alert is resolved. Defaults to true.
    slug String
    Stable identifier for the notifier. Generated from name if omitted. Immutable after creation.
    text String
    Body of the email in plain text format. Supports Go templating.
    name string
    Display name of the notifier.
    to string
    Email address to send notifications to.
    html string
    Body of the email in HTML format. Supports Go templating.
    sendResolved boolean
    Whether to send a follow-up notification when an alert is resolved. Defaults to true.
    slug string
    Stable identifier for the notifier. Generated from name if omitted. Immutable after creation.
    text string
    Body of the email in plain text format. Supports Go templating.
    name str
    Display name of the notifier.
    to str
    Email address to send notifications to.
    html str
    Body of the email in HTML format. Supports Go templating.
    send_resolved bool
    Whether to send a follow-up notification when an alert is resolved. Defaults to true.
    slug str
    Stable identifier for the notifier. Generated from name if omitted. Immutable after creation.
    text str
    Body of the email in plain text format. Supports Go templating.
    name String
    Display name of the notifier.
    to String
    Email address to send notifications to.
    html String
    Body of the email in HTML format. Supports Go templating.
    sendResolved Boolean
    Whether to send a follow-up notification when an alert is resolved. Defaults to true.
    slug String
    Stable identifier for the notifier. Generated from name if omitted. Immutable after creation.
    text String
    Body of the email in plain text format. Supports Go templating.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the EmailAlertNotifier resource produces the following output properties:

    Id string
    The provider-assigned unique ID for this managed resource.
    Id string
    The provider-assigned unique ID for this managed resource.
    id string
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.
    id string
    The provider-assigned unique ID for this managed resource.
    id str
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.

    Look up Existing EmailAlertNotifier Resource

    Get an existing EmailAlertNotifier resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: EmailAlertNotifierState, opts?: CustomResourceOptions): EmailAlertNotifier
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            html: Optional[str] = None,
            name: Optional[str] = None,
            send_resolved: Optional[bool] = None,
            slug: Optional[str] = None,
            text: Optional[str] = None,
            to: Optional[str] = None) -> EmailAlertNotifier
    func GetEmailAlertNotifier(ctx *Context, name string, id IDInput, state *EmailAlertNotifierState, opts ...ResourceOption) (*EmailAlertNotifier, error)
    public static EmailAlertNotifier Get(string name, Input<string> id, EmailAlertNotifierState? state, CustomResourceOptions? opts = null)
    public static EmailAlertNotifier get(String name, Output<String> id, EmailAlertNotifierState state, CustomResourceOptions options)
    resources:  _:    type: chronosphere:EmailAlertNotifier    get:      id: ${id}
    import {
      to = chronosphere_emailalertnotifier.example
      id = "${id}"
    }
    
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    Html string
    Body of the email in HTML format. Supports Go templating.
    Name string
    Display name of the notifier.
    SendResolved bool
    Whether to send a follow-up notification when an alert is resolved. Defaults to true.
    Slug string
    Stable identifier for the notifier. Generated from name if omitted. Immutable after creation.
    Text string
    Body of the email in plain text format. Supports Go templating.
    To string
    Email address to send notifications to.
    Html string
    Body of the email in HTML format. Supports Go templating.
    Name string
    Display name of the notifier.
    SendResolved bool
    Whether to send a follow-up notification when an alert is resolved. Defaults to true.
    Slug string
    Stable identifier for the notifier. Generated from name if omitted. Immutable after creation.
    Text string
    Body of the email in plain text format. Supports Go templating.
    To string
    Email address to send notifications to.
    html string
    Body of the email in HTML format. Supports Go templating.
    name string
    Display name of the notifier.
    send_resolved bool
    Whether to send a follow-up notification when an alert is resolved. Defaults to true.
    slug string
    Stable identifier for the notifier. Generated from name if omitted. Immutable after creation.
    text string
    Body of the email in plain text format. Supports Go templating.
    to string
    Email address to send notifications to.
    html String
    Body of the email in HTML format. Supports Go templating.
    name String
    Display name of the notifier.
    sendResolved Boolean
    Whether to send a follow-up notification when an alert is resolved. Defaults to true.
    slug String
    Stable identifier for the notifier. Generated from name if omitted. Immutable after creation.
    text String
    Body of the email in plain text format. Supports Go templating.
    to String
    Email address to send notifications to.
    html string
    Body of the email in HTML format. Supports Go templating.
    name string
    Display name of the notifier.
    sendResolved boolean
    Whether to send a follow-up notification when an alert is resolved. Defaults to true.
    slug string
    Stable identifier for the notifier. Generated from name if omitted. Immutable after creation.
    text string
    Body of the email in plain text format. Supports Go templating.
    to string
    Email address to send notifications to.
    html str
    Body of the email in HTML format. Supports Go templating.
    name str
    Display name of the notifier.
    send_resolved bool
    Whether to send a follow-up notification when an alert is resolved. Defaults to true.
    slug str
    Stable identifier for the notifier. Generated from name if omitted. Immutable after creation.
    text str
    Body of the email in plain text format. Supports Go templating.
    to str
    Email address to send notifications to.
    html String
    Body of the email in HTML format. Supports Go templating.
    name String
    Display name of the notifier.
    sendResolved Boolean
    Whether to send a follow-up notification when an alert is resolved. Defaults to true.
    slug String
    Stable identifier for the notifier. Generated from name if omitted. Immutable after creation.
    text String
    Body of the email in plain text format. Supports Go templating.
    to String
    Email address to send notifications to.

    Package Details

    Repository
    chronosphere chronosphereio/pulumi-chronosphere
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the chronosphere Terraform Provider.
    Viewing docs for Chronosphere v0.9.16
    published on Friday, Jun 5, 2026 by Chronosphere

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial