Welcome to Pulumi Registry, your window into the cloud. Read the announcement.

Snowflake

v0.2.1 published on Monday, Sep 27, 2021 by Pulumi

NotificationIntegration

Import

 $ pulumi import snowflake:index/notificationIntegration:NotificationIntegration example name

Example Usage

using Pulumi;
using Snowflake = Pulumi.Snowflake;

class MyStack : Stack
{
    public MyStack()
    {
        var integration = new Snowflake.NotificationIntegration("integration", new Snowflake.NotificationIntegrationArgs
        {
            AwsSqsArn = "...",
            AwsSqsRoleArn = "...",
            AzureStorageQueuePrimaryUri = "...",
            AzureTenantId = "...",
            Comment = "A notification integration.",
            Direction = "OUTBOUND",
            Enabled = true,
            NotificationProvider = "AWS_SQS",
            Type = "QUEUE",
        });
    }

}
package main

import (
	"github.com/pulumi/pulumi-snowflake/sdk/go/snowflake"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := snowflake.NewNotificationIntegration(ctx, "integration", &snowflake.NotificationIntegrationArgs{
			AwsSqsArn:                   pulumi.String("..."),
			AwsSqsRoleArn:               pulumi.String("..."),
			AzureStorageQueuePrimaryUri: pulumi.String("..."),
			AzureTenantId:               pulumi.String("..."),
			Comment:                     pulumi.String("A notification integration."),
			Direction:                   pulumi.String("OUTBOUND"),
			Enabled:                     pulumi.Bool(true),
			NotificationProvider:        pulumi.String("AWS_SQS"),
			Type:                        pulumi.String("QUEUE"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}
import pulumi
import pulumi_snowflake as snowflake

integration = snowflake.NotificationIntegration("integration",
    aws_sqs_arn="...",
    aws_sqs_role_arn="...",
    azure_storage_queue_primary_uri="...",
    azure_tenant_id="...",
    comment="A notification integration.",
    direction="OUTBOUND",
    enabled=True,
    notification_provider="AWS_SQS",
    type="QUEUE")
import * as pulumi from "@pulumi/pulumi";
import * as snowflake from "@pulumi/snowflake";

const integration = new snowflake.NotificationIntegration("integration", {
    awsSqsArn: "...",
    awsSqsRoleArn: "...",
    azureStorageQueuePrimaryUri: "...",
    azureTenantId: "...",
    comment: "A notification integration.",
    direction: "OUTBOUND",
    enabled: true,
    notificationProvider: "AWS_SQS",
    type: "QUEUE",
});

Create a NotificationIntegration Resource

new NotificationIntegration(name: string, args?: NotificationIntegrationArgs, opts?: CustomResourceOptions);
@overload
def NotificationIntegration(resource_name: str,
                            opts: Optional[ResourceOptions] = None,
                            aws_sqs_arn: Optional[str] = None,
                            aws_sqs_role_arn: Optional[str] = None,
                            azure_storage_queue_primary_uri: Optional[str] = None,
                            azure_tenant_id: Optional[str] = None,
                            comment: Optional[str] = None,
                            direction: Optional[str] = None,
                            enabled: Optional[bool] = None,
                            gcp_pubsub_subscription_name: Optional[str] = None,
                            name: Optional[str] = None,
                            notification_provider: Optional[str] = None,
                            type: Optional[str] = None)
@overload
def NotificationIntegration(resource_name: str,
                            args: Optional[NotificationIntegrationArgs] = None,
                            opts: Optional[ResourceOptions] = None)
func NewNotificationIntegration(ctx *Context, name string, args *NotificationIntegrationArgs, opts ...ResourceOption) (*NotificationIntegration, error)
public NotificationIntegration(string name, NotificationIntegrationArgs? args = null, CustomResourceOptions? opts = null)
name string
The unique name of the resource.
args NotificationIntegrationArgs
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 NotificationIntegrationArgs
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 NotificationIntegrationArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name string
The unique name of the resource.
args NotificationIntegrationArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.

NotificationIntegration 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 NotificationIntegration resource accepts the following input properties:

AwsSqsArn string
AWS SQS queue ARN for notification integration to connect to
AwsSqsRoleArn string
AWS IAM role ARN for notification integration to assume
AzureStorageQueuePrimaryUri string
The queue ID for the Azure Queue Storage queue created for Event Grid notifications
AzureTenantId string
The ID of the Azure Active Directory tenant used for identity management
Comment string
Direction string
Direction of the cloud messaging with respect to Snowflake (required only for error notifications)
Enabled bool
GcpPubsubSubscriptionName string
The subscription id that Snowflake will listen to when using the GCP_PUBSUB provider.
Name string
NotificationProvider string
The third-party cloud message queuing service (e.g. AZURESTORAGEQUEUE, AWS_SQS)
Type string
A type of integration
AwsSqsArn string
AWS SQS queue ARN for notification integration to connect to
AwsSqsRoleArn string
AWS IAM role ARN for notification integration to assume
AzureStorageQueuePrimaryUri string
The queue ID for the Azure Queue Storage queue created for Event Grid notifications
AzureTenantId string
The ID of the Azure Active Directory tenant used for identity management
Comment string
Direction string
Direction of the cloud messaging with respect to Snowflake (required only for error notifications)
Enabled bool
GcpPubsubSubscriptionName string
The subscription id that Snowflake will listen to when using the GCP_PUBSUB provider.
Name string
NotificationProvider string
The third-party cloud message queuing service (e.g. AZURESTORAGEQUEUE, AWS_SQS)
Type string
A type of integration
awsSqsArn string
AWS SQS queue ARN for notification integration to connect to
awsSqsRoleArn string
AWS IAM role ARN for notification integration to assume
azureStorageQueuePrimaryUri string
The queue ID for the Azure Queue Storage queue created for Event Grid notifications
azureTenantId string
The ID of the Azure Active Directory tenant used for identity management
comment string
direction string
Direction of the cloud messaging with respect to Snowflake (required only for error notifications)
enabled boolean
gcpPubsubSubscriptionName string
The subscription id that Snowflake will listen to when using the GCP_PUBSUB provider.
name string
notificationProvider string
The third-party cloud message queuing service (e.g. AZURESTORAGEQUEUE, AWS_SQS)
type string
A type of integration
aws_sqs_arn str
AWS SQS queue ARN for notification integration to connect to
aws_sqs_role_arn str
AWS IAM role ARN for notification integration to assume
azure_storage_queue_primary_uri str
The queue ID for the Azure Queue Storage queue created for Event Grid notifications
azure_tenant_id str
The ID of the Azure Active Directory tenant used for identity management
comment str
direction str
Direction of the cloud messaging with respect to Snowflake (required only for error notifications)
enabled bool
gcp_pubsub_subscription_name str
The subscription id that Snowflake will listen to when using the GCP_PUBSUB provider.
name str
notification_provider str
The third-party cloud message queuing service (e.g. AZURESTORAGEQUEUE, AWS_SQS)
type str
A type of integration

Outputs

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

AwsSqsExternalId string
The external ID that Snowflake will use when assuming the AWS role
AwsSqsIamUserArn string
The Snowflake user that will attempt to assume the AWS role.
CreatedOn string
Date and time when the notification integration was created.
Id string
The provider-assigned unique ID for this managed resource.
AwsSqsExternalId string
The external ID that Snowflake will use when assuming the AWS role
AwsSqsIamUserArn string
The Snowflake user that will attempt to assume the AWS role.
CreatedOn string
Date and time when the notification integration was created.
Id string
The provider-assigned unique ID for this managed resource.
awsSqsExternalId string
The external ID that Snowflake will use when assuming the AWS role
awsSqsIamUserArn string
The Snowflake user that will attempt to assume the AWS role.
createdOn string
Date and time when the notification integration was created.
id string
The provider-assigned unique ID for this managed resource.
aws_sqs_external_id str
The external ID that Snowflake will use when assuming the AWS role
aws_sqs_iam_user_arn str
The Snowflake user that will attempt to assume the AWS role.
created_on str
Date and time when the notification integration was created.
id str
The provider-assigned unique ID for this managed resource.

Look up an Existing NotificationIntegration Resource

Get an existing NotificationIntegration 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?: NotificationIntegrationState, opts?: CustomResourceOptions): NotificationIntegration
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        aws_sqs_arn: Optional[str] = None,
        aws_sqs_external_id: Optional[str] = None,
        aws_sqs_iam_user_arn: Optional[str] = None,
        aws_sqs_role_arn: Optional[str] = None,
        azure_storage_queue_primary_uri: Optional[str] = None,
        azure_tenant_id: Optional[str] = None,
        comment: Optional[str] = None,
        created_on: Optional[str] = None,
        direction: Optional[str] = None,
        enabled: Optional[bool] = None,
        gcp_pubsub_subscription_name: Optional[str] = None,
        name: Optional[str] = None,
        notification_provider: Optional[str] = None,
        type: Optional[str] = None) -> NotificationIntegration
func GetNotificationIntegration(ctx *Context, name string, id IDInput, state *NotificationIntegrationState, opts ...ResourceOption) (*NotificationIntegration, error)
public static NotificationIntegration Get(string name, Input<string> id, NotificationIntegrationState? state, CustomResourceOptions? opts = null)
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.

The following state arguments are supported:

AwsSqsArn string
AWS SQS queue ARN for notification integration to connect to
AwsSqsExternalId string
The external ID that Snowflake will use when assuming the AWS role
AwsSqsIamUserArn string
The Snowflake user that will attempt to assume the AWS role.
AwsSqsRoleArn string
AWS IAM role ARN for notification integration to assume
AzureStorageQueuePrimaryUri string
The queue ID for the Azure Queue Storage queue created for Event Grid notifications
AzureTenantId string
The ID of the Azure Active Directory tenant used for identity management
Comment string
CreatedOn string
Date and time when the notification integration was created.
Direction string
Direction of the cloud messaging with respect to Snowflake (required only for error notifications)
Enabled bool
GcpPubsubSubscriptionName string
The subscription id that Snowflake will listen to when using the GCP_PUBSUB provider.
Name string
NotificationProvider string
The third-party cloud message queuing service (e.g. AZURESTORAGEQUEUE, AWS_SQS)
Type string
A type of integration
AwsSqsArn string
AWS SQS queue ARN for notification integration to connect to
AwsSqsExternalId string
The external ID that Snowflake will use when assuming the AWS role
AwsSqsIamUserArn string
The Snowflake user that will attempt to assume the AWS role.
AwsSqsRoleArn string
AWS IAM role ARN for notification integration to assume
AzureStorageQueuePrimaryUri string
The queue ID for the Azure Queue Storage queue created for Event Grid notifications
AzureTenantId string
The ID of the Azure Active Directory tenant used for identity management
Comment string
CreatedOn string
Date and time when the notification integration was created.
Direction string
Direction of the cloud messaging with respect to Snowflake (required only for error notifications)
Enabled bool
GcpPubsubSubscriptionName string
The subscription id that Snowflake will listen to when using the GCP_PUBSUB provider.
Name string
NotificationProvider string
The third-party cloud message queuing service (e.g. AZURESTORAGEQUEUE, AWS_SQS)
Type string
A type of integration
awsSqsArn string
AWS SQS queue ARN for notification integration to connect to
awsSqsExternalId string
The external ID that Snowflake will use when assuming the AWS role
awsSqsIamUserArn string
The Snowflake user that will attempt to assume the AWS role.
awsSqsRoleArn string
AWS IAM role ARN for notification integration to assume
azureStorageQueuePrimaryUri string
The queue ID for the Azure Queue Storage queue created for Event Grid notifications
azureTenantId string
The ID of the Azure Active Directory tenant used for identity management
comment string
createdOn string
Date and time when the notification integration was created.
direction string
Direction of the cloud messaging with respect to Snowflake (required only for error notifications)
enabled boolean
gcpPubsubSubscriptionName string
The subscription id that Snowflake will listen to when using the GCP_PUBSUB provider.
name string
notificationProvider string
The third-party cloud message queuing service (e.g. AZURESTORAGEQUEUE, AWS_SQS)
type string
A type of integration
aws_sqs_arn str
AWS SQS queue ARN for notification integration to connect to
aws_sqs_external_id str
The external ID that Snowflake will use when assuming the AWS role
aws_sqs_iam_user_arn str
The Snowflake user that will attempt to assume the AWS role.
aws_sqs_role_arn str
AWS IAM role ARN for notification integration to assume
azure_storage_queue_primary_uri str
The queue ID for the Azure Queue Storage queue created for Event Grid notifications
azure_tenant_id str
The ID of the Azure Active Directory tenant used for identity management
comment str
created_on str
Date and time when the notification integration was created.
direction str
Direction of the cloud messaging with respect to Snowflake (required only for error notifications)
enabled bool
gcp_pubsub_subscription_name str
The subscription id that Snowflake will listen to when using the GCP_PUBSUB provider.
name str
notification_provider str
The third-party cloud message queuing service (e.g. AZURESTORAGEQUEUE, AWS_SQS)
type str
A type of integration

Package Details

Repository
https://github.com/pulumi/pulumi-snowflake
License
Apache-2.0
Notes
This Pulumi package is based on the snowflake Terraform Provider.