Snowflake v0.59.0 published on Friday, Sep 20, 2024 by Pulumi
snowflake.EmailNotificationIntegration
Explore with Pulumi AI
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
- Allowed
Recipients List<string> - List of email addresses that should receive notifications.
- Comment string
- A comment for the email integration.
- Name string
- Enabled bool
- Allowed
Recipients []string - List of email addresses that should receive notifications.
- Comment string
- A comment for the email integration.
- Name string
- enabled Boolean
- allowed
Recipients List<String> - List of email addresses that should receive notifications.
- comment String
- A comment for the email integration.
- name String
- enabled boolean
- allowed
Recipients 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
- allowed
Recipients 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:
- Fully
Qualified stringName - 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 stringName - 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 StringName - 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 stringName - 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_ strname - Fully qualified name of the resource. For more information, see object name resolution.
- id str
- The provider-assigned unique ID for this managed resource.
- fully
Qualified StringName - 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.
- Allowed
Recipients List<string> - List of email addresses that should receive notifications.
- Comment string
- A comment for the email integration.
- Enabled bool
- Fully
Qualified stringName - Fully qualified name of the resource. For more information, see object name resolution.
- Name string
- Allowed
Recipients []string - List of email addresses that should receive notifications.
- Comment string
- A comment for the email integration.
- Enabled bool
- Fully
Qualified stringName - Fully qualified name of the resource. For more information, see object name resolution.
- Name string
- allowed
Recipients List<String> - List of email addresses that should receive notifications.
- comment String
- A comment for the email integration.
- enabled Boolean
- fully
Qualified StringName - Fully qualified name of the resource. For more information, see object name resolution.
- name String
- allowed
Recipients string[] - List of email addresses that should receive notifications.
- comment string
- A comment for the email integration.
- enabled boolean
- fully
Qualified stringName - 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_ strname - Fully qualified name of the resource. For more information, see object name resolution.
- name str
- allowed
Recipients List<String> - List of email addresses that should receive notifications.
- comment String
- A comment for the email integration.
- enabled Boolean
- fully
Qualified StringName - 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.