1. Packages
  2. Snowflake
  3. API Docs
  4. EmailNotificationIntegration
Snowflake v0.59.0 published on Friday, Sep 20, 2024 by Pulumi

snowflake.EmailNotificationIntegration

Explore with Pulumi AI

snowflake logo
Snowflake v0.59.0 published on Friday, Sep 20, 2024 by Pulumi

    Import

    $ pulumi import snowflake:index/emailNotificationIntegration:EmailNotificationIntegration example name
    

    Create EmailNotificationIntegration Resource

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

    Constructor syntax

    new EmailNotificationIntegration(name: string, args: EmailNotificationIntegrationArgs, opts?: CustomResourceOptions);
    @overload
    def EmailNotificationIntegration(resource_name: str,
                                     args: EmailNotificationIntegrationArgs,
                                     opts: Optional[ResourceOptions] = None)
    
    @overload
    def EmailNotificationIntegration(resource_name: str,
                                     opts: Optional[ResourceOptions] = None,
                                     enabled: Optional[bool] = None,
                                     allowed_recipients: Optional[Sequence[str]] = None,
                                     comment: Optional[str] = None,
                                     name: Optional[str] = None)
    func NewEmailNotificationIntegration(ctx *Context, name string, args EmailNotificationIntegrationArgs, opts ...ResourceOption) (*EmailNotificationIntegration, error)
    public EmailNotificationIntegration(string name, EmailNotificationIntegrationArgs args, CustomResourceOptions? opts = null)
    public EmailNotificationIntegration(String name, EmailNotificationIntegrationArgs args)
    public EmailNotificationIntegration(String name, EmailNotificationIntegrationArgs args, CustomResourceOptions options)
    
    type: snowflake:EmailNotificationIntegration
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args EmailNotificationIntegrationArgs
    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 EmailNotificationIntegrationArgs
    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 EmailNotificationIntegrationArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args EmailNotificationIntegrationArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args EmailNotificationIntegrationArgs
    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 emailNotificationIntegrationResource = new Snowflake.EmailNotificationIntegration("emailNotificationIntegrationResource", new()
    {
        Enabled = false,
        AllowedRecipients = new[]
        {
            "string",
        },
        Comment = "string",
        Name = "string",
    });
    
    example, err := snowflake.NewEmailNotificationIntegration(ctx, "emailNotificationIntegrationResource", &snowflake.EmailNotificationIntegrationArgs{
    	Enabled: pulumi.Bool(false),
    	AllowedRecipients: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	Comment: pulumi.String("string"),
    	Name:    pulumi.String("string"),
    })
    
    var emailNotificationIntegrationResource = new EmailNotificationIntegration("emailNotificationIntegrationResource", EmailNotificationIntegrationArgs.builder()
        .enabled(false)
        .allowedRecipients("string")
        .comment("string")
        .name("string")
        .build());
    
    email_notification_integration_resource = snowflake.EmailNotificationIntegration("emailNotificationIntegrationResource",
        enabled=False,
        allowed_recipients=["string"],
        comment="string",
        name="string")
    
    const emailNotificationIntegrationResource = new snowflake.EmailNotificationIntegration("emailNotificationIntegrationResource", {
        enabled: false,
        allowedRecipients: ["string"],
        comment: "string",
        name: "string",
    });
    
    type: snowflake:EmailNotificationIntegration
    properties:
        allowedRecipients:
            - string
        comment: string
        enabled: false
        name: string
    

    EmailNotificationIntegration Resource Properties

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

    Inputs

    The EmailNotificationIntegration resource accepts the following input properties:

    Enabled bool
    AllowedRecipients List<string>
    List of email addresses that should receive notifications.
    Comment string
    A comment for the email integration.
    Name string
    Enabled bool
    AllowedRecipients []string
    List of email addresses that should receive notifications.
    Comment string
    A comment for the email integration.
    Name string
    enabled Boolean
    allowedRecipients List<String>
    List of email addresses that should receive notifications.
    comment String
    A comment for the email integration.
    name String
    enabled boolean
    allowedRecipients string[]
    List of email addresses that should receive notifications.
    comment string
    A comment for the email integration.
    name string
    enabled bool
    allowed_recipients Sequence[str]
    List of email addresses that should receive notifications.
    comment str
    A comment for the email integration.
    name str
    enabled Boolean
    allowedRecipients List<String>
    List of email addresses that should receive notifications.
    comment String
    A comment for the email integration.
    name String

    Outputs

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

    FullyQualifiedName string
    Fully qualified name of the resource. For more information, see object name resolution.
    Id string
    The provider-assigned unique ID for this managed resource.
    FullyQualifiedName string
    Fully qualified name of the resource. For more information, see object name resolution.
    Id string
    The provider-assigned unique ID for this managed resource.
    fullyQualifiedName String
    Fully qualified name of the resource. For more information, see object name resolution.
    id String
    The provider-assigned unique ID for this managed resource.
    fullyQualifiedName string
    Fully qualified name of the resource. For more information, see object name resolution.
    id string
    The provider-assigned unique ID for this managed resource.
    fully_qualified_name str
    Fully qualified name of the resource. For more information, see object name resolution.
    id str
    The provider-assigned unique ID for this managed resource.
    fullyQualifiedName String
    Fully qualified name of the resource. For more information, see object name resolution.
    id String
    The provider-assigned unique ID for this managed resource.

    Look up Existing EmailNotificationIntegration Resource

    Get an existing EmailNotificationIntegration 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?: EmailNotificationIntegrationState, opts?: CustomResourceOptions): EmailNotificationIntegration
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            allowed_recipients: Optional[Sequence[str]] = None,
            comment: Optional[str] = None,
            enabled: Optional[bool] = None,
            fully_qualified_name: Optional[str] = None,
            name: Optional[str] = None) -> EmailNotificationIntegration
    func GetEmailNotificationIntegration(ctx *Context, name string, id IDInput, state *EmailNotificationIntegrationState, opts ...ResourceOption) (*EmailNotificationIntegration, error)
    public static EmailNotificationIntegration Get(string name, Input<string> id, EmailNotificationIntegrationState? state, CustomResourceOptions? opts = null)
    public static EmailNotificationIntegration get(String name, Output<String> id, EmailNotificationIntegrationState state, CustomResourceOptions options)
    Resource lookup is not supported in YAML
    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:
    AllowedRecipients List<string>
    List of email addresses that should receive notifications.
    Comment string
    A comment for the email integration.
    Enabled bool
    FullyQualifiedName string
    Fully qualified name of the resource. For more information, see object name resolution.
    Name string
    AllowedRecipients []string
    List of email addresses that should receive notifications.
    Comment string
    A comment for the email integration.
    Enabled bool
    FullyQualifiedName string
    Fully qualified name of the resource. For more information, see object name resolution.
    Name string
    allowedRecipients List<String>
    List of email addresses that should receive notifications.
    comment String
    A comment for the email integration.
    enabled Boolean
    fullyQualifiedName String
    Fully qualified name of the resource. For more information, see object name resolution.
    name String
    allowedRecipients string[]
    List of email addresses that should receive notifications.
    comment string
    A comment for the email integration.
    enabled boolean
    fullyQualifiedName string
    Fully qualified name of the resource. For more information, see object name resolution.
    name string
    allowed_recipients Sequence[str]
    List of email addresses that should receive notifications.
    comment str
    A comment for the email integration.
    enabled bool
    fully_qualified_name str
    Fully qualified name of the resource. For more information, see object name resolution.
    name str
    allowedRecipients List<String>
    List of email addresses that should receive notifications.
    comment String
    A comment for the email integration.
    enabled Boolean
    fullyQualifiedName String
    Fully qualified name of the resource. For more information, see object name resolution.
    name String

    Package Details

    Repository
    Snowflake pulumi/pulumi-snowflake
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the snowflake Terraform Provider.
    snowflake logo
    Snowflake v0.59.0 published on Friday, Sep 20, 2024 by Pulumi