@pulumi/snowflake 0.3.3-alpha.1638988283 → 0.3.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/integrationGrant.d.ts +2 -2
- package/integrationGrant.js +2 -2
- package/notificationIntegration.d.ts +55 -4
- package/notificationIntegration.js +11 -1
- package/notificationIntegration.js.map +1 -1
- package/package.json +2 -2
- package/package.json.dev +1 -1
- package/resourceMonitor.d.ts +12 -0
- package/resourceMonitor.js +2 -0
- package/resourceMonitor.js.map +1 -1
package/integrationGrant.d.ts
CHANGED
|
@@ -19,10 +19,10 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
19
19
|
*
|
|
20
20
|
* ## Import
|
|
21
21
|
*
|
|
22
|
-
* # format is integration name
|
|
22
|
+
* # format is integration name ||| privilege | true/false for with_grant_option
|
|
23
23
|
*
|
|
24
24
|
* ```sh
|
|
25
|
-
* $ pulumi import snowflake:index/integrationGrant:IntegrationGrant example 'intName
|
|
25
|
+
* $ pulumi import snowflake:index/integrationGrant:IntegrationGrant example 'intName|||USAGE|true'
|
|
26
26
|
* ```
|
|
27
27
|
*/
|
|
28
28
|
export declare class IntegrationGrant extends pulumi.CustomResource {
|
package/integrationGrant.js
CHANGED
|
@@ -25,10 +25,10 @@ const utilities = require("./utilities");
|
|
|
25
25
|
*
|
|
26
26
|
* ## Import
|
|
27
27
|
*
|
|
28
|
-
* # format is integration name
|
|
28
|
+
* # format is integration name ||| privilege | true/false for with_grant_option
|
|
29
29
|
*
|
|
30
30
|
* ```sh
|
|
31
|
-
* $ pulumi import snowflake:index/integrationGrant:IntegrationGrant example 'intName
|
|
31
|
+
* $ pulumi import snowflake:index/integrationGrant:IntegrationGrant example 'intName|||USAGE|true'
|
|
32
32
|
* ```
|
|
33
33
|
*/
|
|
34
34
|
class IntegrationGrant extends pulumi.CustomResource {
|
|
@@ -7,6 +7,8 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
7
7
|
* import * as snowflake from "@pulumi/snowflake";
|
|
8
8
|
*
|
|
9
9
|
* const integration = new snowflake.NotificationIntegration("integration", {
|
|
10
|
+
* awsSnsRoleArn: "...",
|
|
11
|
+
* awsSnsTopicArn: "...",
|
|
10
12
|
* awsSqsArn: "...",
|
|
11
13
|
* awsSqsRoleArn: "...",
|
|
12
14
|
* azureStorageQueuePrimaryUri: "...",
|
|
@@ -14,7 +16,7 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
14
16
|
* comment: "A notification integration.",
|
|
15
17
|
* direction: "OUTBOUND",
|
|
16
18
|
* enabled: true,
|
|
17
|
-
* notificationProvider: "
|
|
19
|
+
* notificationProvider: "AWS_SNS",
|
|
18
20
|
* type: "QUEUE",
|
|
19
21
|
* });
|
|
20
22
|
* ```
|
|
@@ -41,6 +43,22 @@ export declare class NotificationIntegration extends pulumi.CustomResource {
|
|
|
41
43
|
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
42
44
|
*/
|
|
43
45
|
static isInstance(obj: any): obj is NotificationIntegration;
|
|
46
|
+
/**
|
|
47
|
+
* The external ID that Snowflake will use when assuming the AWS role
|
|
48
|
+
*/
|
|
49
|
+
readonly awsSnsExternalId: pulumi.Output<string>;
|
|
50
|
+
/**
|
|
51
|
+
* The Snowflake user that will attempt to assume the AWS role.
|
|
52
|
+
*/
|
|
53
|
+
readonly awsSnsIamUserArn: pulumi.Output<string>;
|
|
54
|
+
/**
|
|
55
|
+
* AWS IAM role ARN for notification integration to assume
|
|
56
|
+
*/
|
|
57
|
+
readonly awsSnsRoleArn: pulumi.Output<string | undefined>;
|
|
58
|
+
/**
|
|
59
|
+
* AWS SNS Topic ARN for notification integration to connect to
|
|
60
|
+
*/
|
|
61
|
+
readonly awsSnsTopicArn: pulumi.Output<string | undefined>;
|
|
44
62
|
/**
|
|
45
63
|
* AWS SQS queue ARN for notification integration to connect to
|
|
46
64
|
*/
|
|
@@ -65,6 +83,9 @@ export declare class NotificationIntegration extends pulumi.CustomResource {
|
|
|
65
83
|
* The ID of the Azure Active Directory tenant used for identity management
|
|
66
84
|
*/
|
|
67
85
|
readonly azureTenantId: pulumi.Output<string | undefined>;
|
|
86
|
+
/**
|
|
87
|
+
* A comment for the integration
|
|
88
|
+
*/
|
|
68
89
|
readonly comment: pulumi.Output<string | undefined>;
|
|
69
90
|
/**
|
|
70
91
|
* Date and time when the notification integration was created.
|
|
@@ -81,7 +102,7 @@ export declare class NotificationIntegration extends pulumi.CustomResource {
|
|
|
81
102
|
readonly gcpPubsubSubscriptionName: pulumi.Output<string | undefined>;
|
|
82
103
|
readonly name: pulumi.Output<string>;
|
|
83
104
|
/**
|
|
84
|
-
* The third-party cloud message queuing service (e.g. AZURE*STORAGE*QUEUE,
|
|
105
|
+
* The third-party cloud message queuing service (e.g. AZURE*STORAGE*QUEUE, AWS*SQS, AWS*SNS)
|
|
85
106
|
*/
|
|
86
107
|
readonly notificationProvider: pulumi.Output<string | undefined>;
|
|
87
108
|
/**
|
|
@@ -101,6 +122,22 @@ export declare class NotificationIntegration extends pulumi.CustomResource {
|
|
|
101
122
|
* Input properties used for looking up and filtering NotificationIntegration resources.
|
|
102
123
|
*/
|
|
103
124
|
export interface NotificationIntegrationState {
|
|
125
|
+
/**
|
|
126
|
+
* The external ID that Snowflake will use when assuming the AWS role
|
|
127
|
+
*/
|
|
128
|
+
awsSnsExternalId?: pulumi.Input<string>;
|
|
129
|
+
/**
|
|
130
|
+
* The Snowflake user that will attempt to assume the AWS role.
|
|
131
|
+
*/
|
|
132
|
+
awsSnsIamUserArn?: pulumi.Input<string>;
|
|
133
|
+
/**
|
|
134
|
+
* AWS IAM role ARN for notification integration to assume
|
|
135
|
+
*/
|
|
136
|
+
awsSnsRoleArn?: pulumi.Input<string>;
|
|
137
|
+
/**
|
|
138
|
+
* AWS SNS Topic ARN for notification integration to connect to
|
|
139
|
+
*/
|
|
140
|
+
awsSnsTopicArn?: pulumi.Input<string>;
|
|
104
141
|
/**
|
|
105
142
|
* AWS SQS queue ARN for notification integration to connect to
|
|
106
143
|
*/
|
|
@@ -125,6 +162,9 @@ export interface NotificationIntegrationState {
|
|
|
125
162
|
* The ID of the Azure Active Directory tenant used for identity management
|
|
126
163
|
*/
|
|
127
164
|
azureTenantId?: pulumi.Input<string>;
|
|
165
|
+
/**
|
|
166
|
+
* A comment for the integration
|
|
167
|
+
*/
|
|
128
168
|
comment?: pulumi.Input<string>;
|
|
129
169
|
/**
|
|
130
170
|
* Date and time when the notification integration was created.
|
|
@@ -141,7 +181,7 @@ export interface NotificationIntegrationState {
|
|
|
141
181
|
gcpPubsubSubscriptionName?: pulumi.Input<string>;
|
|
142
182
|
name?: pulumi.Input<string>;
|
|
143
183
|
/**
|
|
144
|
-
* The third-party cloud message queuing service (e.g. AZURE*STORAGE*QUEUE,
|
|
184
|
+
* The third-party cloud message queuing service (e.g. AZURE*STORAGE*QUEUE, AWS*SQS, AWS*SNS)
|
|
145
185
|
*/
|
|
146
186
|
notificationProvider?: pulumi.Input<string>;
|
|
147
187
|
/**
|
|
@@ -153,6 +193,14 @@ export interface NotificationIntegrationState {
|
|
|
153
193
|
* The set of arguments for constructing a NotificationIntegration resource.
|
|
154
194
|
*/
|
|
155
195
|
export interface NotificationIntegrationArgs {
|
|
196
|
+
/**
|
|
197
|
+
* AWS IAM role ARN for notification integration to assume
|
|
198
|
+
*/
|
|
199
|
+
awsSnsRoleArn?: pulumi.Input<string>;
|
|
200
|
+
/**
|
|
201
|
+
* AWS SNS Topic ARN for notification integration to connect to
|
|
202
|
+
*/
|
|
203
|
+
awsSnsTopicArn?: pulumi.Input<string>;
|
|
156
204
|
/**
|
|
157
205
|
* AWS SQS queue ARN for notification integration to connect to
|
|
158
206
|
*/
|
|
@@ -169,6 +217,9 @@ export interface NotificationIntegrationArgs {
|
|
|
169
217
|
* The ID of the Azure Active Directory tenant used for identity management
|
|
170
218
|
*/
|
|
171
219
|
azureTenantId?: pulumi.Input<string>;
|
|
220
|
+
/**
|
|
221
|
+
* A comment for the integration
|
|
222
|
+
*/
|
|
172
223
|
comment?: pulumi.Input<string>;
|
|
173
224
|
/**
|
|
174
225
|
* Direction of the cloud messaging with respect to Snowflake (required only for error notifications)
|
|
@@ -181,7 +232,7 @@ export interface NotificationIntegrationArgs {
|
|
|
181
232
|
gcpPubsubSubscriptionName?: pulumi.Input<string>;
|
|
182
233
|
name?: pulumi.Input<string>;
|
|
183
234
|
/**
|
|
184
|
-
* The third-party cloud message queuing service (e.g. AZURE*STORAGE*QUEUE,
|
|
235
|
+
* The third-party cloud message queuing service (e.g. AZURE*STORAGE*QUEUE, AWS*SQS, AWS*SNS)
|
|
185
236
|
*/
|
|
186
237
|
notificationProvider?: pulumi.Input<string>;
|
|
187
238
|
/**
|
|
@@ -13,6 +13,8 @@ const utilities = require("./utilities");
|
|
|
13
13
|
* import * as snowflake from "@pulumi/snowflake";
|
|
14
14
|
*
|
|
15
15
|
* const integration = new snowflake.NotificationIntegration("integration", {
|
|
16
|
+
* awsSnsRoleArn: "...",
|
|
17
|
+
* awsSnsTopicArn: "...",
|
|
16
18
|
* awsSqsArn: "...",
|
|
17
19
|
* awsSqsRoleArn: "...",
|
|
18
20
|
* azureStorageQueuePrimaryUri: "...",
|
|
@@ -20,7 +22,7 @@ const utilities = require("./utilities");
|
|
|
20
22
|
* comment: "A notification integration.",
|
|
21
23
|
* direction: "OUTBOUND",
|
|
22
24
|
* enabled: true,
|
|
23
|
-
* notificationProvider: "
|
|
25
|
+
* notificationProvider: "AWS_SNS",
|
|
24
26
|
* type: "QUEUE",
|
|
25
27
|
* });
|
|
26
28
|
* ```
|
|
@@ -37,6 +39,10 @@ class NotificationIntegration extends pulumi.CustomResource {
|
|
|
37
39
|
opts = opts || {};
|
|
38
40
|
if (opts.id) {
|
|
39
41
|
const state = argsOrState;
|
|
42
|
+
inputs["awsSnsExternalId"] = state ? state.awsSnsExternalId : undefined;
|
|
43
|
+
inputs["awsSnsIamUserArn"] = state ? state.awsSnsIamUserArn : undefined;
|
|
44
|
+
inputs["awsSnsRoleArn"] = state ? state.awsSnsRoleArn : undefined;
|
|
45
|
+
inputs["awsSnsTopicArn"] = state ? state.awsSnsTopicArn : undefined;
|
|
40
46
|
inputs["awsSqsArn"] = state ? state.awsSqsArn : undefined;
|
|
41
47
|
inputs["awsSqsExternalId"] = state ? state.awsSqsExternalId : undefined;
|
|
42
48
|
inputs["awsSqsIamUserArn"] = state ? state.awsSqsIamUserArn : undefined;
|
|
@@ -54,6 +60,8 @@ class NotificationIntegration extends pulumi.CustomResource {
|
|
|
54
60
|
}
|
|
55
61
|
else {
|
|
56
62
|
const args = argsOrState;
|
|
63
|
+
inputs["awsSnsRoleArn"] = args ? args.awsSnsRoleArn : undefined;
|
|
64
|
+
inputs["awsSnsTopicArn"] = args ? args.awsSnsTopicArn : undefined;
|
|
57
65
|
inputs["awsSqsArn"] = args ? args.awsSqsArn : undefined;
|
|
58
66
|
inputs["awsSqsRoleArn"] = args ? args.awsSqsRoleArn : undefined;
|
|
59
67
|
inputs["azureStorageQueuePrimaryUri"] = args ? args.azureStorageQueuePrimaryUri : undefined;
|
|
@@ -65,6 +73,8 @@ class NotificationIntegration extends pulumi.CustomResource {
|
|
|
65
73
|
inputs["name"] = args ? args.name : undefined;
|
|
66
74
|
inputs["notificationProvider"] = args ? args.notificationProvider : undefined;
|
|
67
75
|
inputs["type"] = args ? args.type : undefined;
|
|
76
|
+
inputs["awsSnsExternalId"] = undefined /*out*/;
|
|
77
|
+
inputs["awsSnsIamUserArn"] = undefined /*out*/;
|
|
68
78
|
inputs["awsSqsExternalId"] = undefined /*out*/;
|
|
69
79
|
inputs["awsSqsIamUserArn"] = undefined /*out*/;
|
|
70
80
|
inputs["createdOn"] = undefined /*out*/;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"notificationIntegration.js","sourceRoot":"","sources":["../notificationIntegration.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC
|
|
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G,gBAAgB;AACO,oCAAY,GAAG,iEAAiE,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pulumi/snowflake",
|
|
3
|
-
"version": "v0.3.
|
|
3
|
+
"version": "v0.3.4",
|
|
4
4
|
"description": "A Pulumi package for creating and managing snowflake cloud resources.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"pulumi",
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
"license": "Apache-2.0",
|
|
12
12
|
"scripts": {
|
|
13
13
|
"build": "tsc",
|
|
14
|
-
"install": "node scripts/install-pulumi-plugin.js resource snowflake v0.3.
|
|
14
|
+
"install": "node scripts/install-pulumi-plugin.js resource snowflake v0.3.4"
|
|
15
15
|
},
|
|
16
16
|
"dependencies": {
|
|
17
17
|
"@pulumi/pulumi": "^3.0.0"
|
package/package.json.dev
CHANGED
package/resourceMonitor.d.ts
CHANGED
|
@@ -59,6 +59,10 @@ export declare class ResourceMonitor extends pulumi.CustomResource {
|
|
|
59
59
|
* A list of percentage thresholds at which to send an alert to subscribed users.
|
|
60
60
|
*/
|
|
61
61
|
readonly notifyTriggers: pulumi.Output<number[] | undefined>;
|
|
62
|
+
/**
|
|
63
|
+
* Specifies whether the resource monitor should be applied globally to your Snowflake account.
|
|
64
|
+
*/
|
|
65
|
+
readonly setForAccount: pulumi.Output<boolean | undefined>;
|
|
62
66
|
/**
|
|
63
67
|
* The date and time when the resource monitor starts monitoring credit usage for the assigned warehouses.
|
|
64
68
|
*/
|
|
@@ -104,6 +108,10 @@ export interface ResourceMonitorState {
|
|
|
104
108
|
* A list of percentage thresholds at which to send an alert to subscribed users.
|
|
105
109
|
*/
|
|
106
110
|
notifyTriggers?: pulumi.Input<pulumi.Input<number>[]>;
|
|
111
|
+
/**
|
|
112
|
+
* Specifies whether the resource monitor should be applied globally to your Snowflake account.
|
|
113
|
+
*/
|
|
114
|
+
setForAccount?: pulumi.Input<boolean>;
|
|
107
115
|
/**
|
|
108
116
|
* The date and time when the resource monitor starts monitoring credit usage for the assigned warehouses.
|
|
109
117
|
*/
|
|
@@ -141,6 +149,10 @@ export interface ResourceMonitorArgs {
|
|
|
141
149
|
* A list of percentage thresholds at which to send an alert to subscribed users.
|
|
142
150
|
*/
|
|
143
151
|
notifyTriggers?: pulumi.Input<pulumi.Input<number>[]>;
|
|
152
|
+
/**
|
|
153
|
+
* Specifies whether the resource monitor should be applied globally to your Snowflake account.
|
|
154
|
+
*/
|
|
155
|
+
setForAccount?: pulumi.Input<boolean>;
|
|
144
156
|
/**
|
|
145
157
|
* The date and time when the resource monitor starts monitoring credit usage for the assigned warehouses.
|
|
146
158
|
*/
|
package/resourceMonitor.js
CHANGED
|
@@ -40,6 +40,7 @@ class ResourceMonitor extends pulumi.CustomResource {
|
|
|
40
40
|
inputs["frequency"] = state ? state.frequency : undefined;
|
|
41
41
|
inputs["name"] = state ? state.name : undefined;
|
|
42
42
|
inputs["notifyTriggers"] = state ? state.notifyTriggers : undefined;
|
|
43
|
+
inputs["setForAccount"] = state ? state.setForAccount : undefined;
|
|
43
44
|
inputs["startTimestamp"] = state ? state.startTimestamp : undefined;
|
|
44
45
|
inputs["suspendImmediateTriggers"] = state ? state.suspendImmediateTriggers : undefined;
|
|
45
46
|
inputs["suspendTriggers"] = state ? state.suspendTriggers : undefined;
|
|
@@ -51,6 +52,7 @@ class ResourceMonitor extends pulumi.CustomResource {
|
|
|
51
52
|
inputs["frequency"] = args ? args.frequency : undefined;
|
|
52
53
|
inputs["name"] = args ? args.name : undefined;
|
|
53
54
|
inputs["notifyTriggers"] = args ? args.notifyTriggers : undefined;
|
|
55
|
+
inputs["setForAccount"] = args ? args.setForAccount : undefined;
|
|
54
56
|
inputs["startTimestamp"] = args ? args.startTimestamp : undefined;
|
|
55
57
|
inputs["suspendImmediateTriggers"] = args ? args.suspendImmediateTriggers : undefined;
|
|
56
58
|
inputs["suspendTriggers"] = args ? args.suspendTriggers : undefined;
|
package/resourceMonitor.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"resourceMonitor.js","sourceRoot":"","sources":["../resourceMonitor.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AACH,MAAa,eAAgB,SAAQ,MAAM,CAAC,cAAc;
|
|
1
|
+
{"version":3,"file":"resourceMonitor.js","sourceRoot":"","sources":["../resourceMonitor.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AACH,MAAa,eAAgB,SAAQ,MAAM,CAAC,cAAc;IAyEtD,YAAY,IAAY,EAAE,WAAwD,EAAE,IAAmC;QACnH,IAAI,MAAM,GAAkB,EAAE,CAAC;QAC/B,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAA+C,CAAC;YAC9D,MAAM,CAAC,aAAa,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,WAAW,CAAC,CAAC,CAAC,SAAS,CAAC;YAC9D,MAAM,CAAC,cAAc,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,YAAY,CAAC,CAAC,CAAC,SAAS,CAAC;YAChE,MAAM,CAAC,WAAW,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC;YAC1D,MAAM,CAAC,MAAM,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;YAChD,MAAM,CAAC,gBAAgB,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,cAAc,CAAC,CAAC,CAAC,SA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