@pulumi/snowflake 0.2.1-alpha.1632763694

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.
Files changed (255) hide show
  1. package/LICENSE +202 -0
  2. package/README.md +83 -0
  3. package/accountGrant.d.ts +97 -0
  4. package/accountGrant.js +80 -0
  5. package/accountGrant.js.map +1 -0
  6. package/apiIntegration.d.ts +181 -0
  7. package/apiIntegration.js +102 -0
  8. package/apiIntegration.js.map +1 -0
  9. package/config/index.d.ts +1 -0
  10. package/config/index.js +17 -0
  11. package/config/index.js.map +1 -0
  12. package/config/vars.d.ts +19 -0
  13. package/config/vars.js +97 -0
  14. package/config/vars.js.map +1 -0
  15. package/database.d.ts +97 -0
  16. package/database.js +81 -0
  17. package/database.js.map +1 -0
  18. package/databaseGrant.d.ts +126 -0
  19. package/databaseGrant.js +92 -0
  20. package/databaseGrant.js.map +1 -0
  21. package/externalFunction.d.ts +260 -0
  22. package/externalFunction.js +134 -0
  23. package/externalFunction.js.map +1 -0
  24. package/externalTable.d.ts +233 -0
  25. package/externalTable.js +124 -0
  26. package/externalTable.js.map +1 -0
  27. package/externalTableGrant.d.ts +165 -0
  28. package/externalTableGrant.js +104 -0
  29. package/externalTableGrant.js.map +1 -0
  30. package/fileFormat.d.ts +490 -0
  31. package/fileFormat.js +152 -0
  32. package/fileFormat.js.map +1 -0
  33. package/fileFormatGrant.d.ts +149 -0
  34. package/fileFormatGrant.js +98 -0
  35. package/fileFormatGrant.js.map +1 -0
  36. package/function.d.ts +157 -0
  37. package/function.js +81 -0
  38. package/function.js.map +1 -0
  39. package/functionGrant.d.ts +201 -0
  40. package/functionGrant.js +119 -0
  41. package/functionGrant.js.map +1 -0
  42. package/getCurrentAccount.d.ts +38 -0
  43. package/getCurrentAccount.js +33 -0
  44. package/getCurrentAccount.js.map +1 -0
  45. package/getExternalFunctions.d.ts +50 -0
  46. package/getExternalFunctions.js +34 -0
  47. package/getExternalFunctions.js.map +1 -0
  48. package/getExternalTables.d.ts +50 -0
  49. package/getExternalTables.js +34 -0
  50. package/getExternalTables.js.map +1 -0
  51. package/getFileFormats.d.ts +50 -0
  52. package/getFileFormats.js +34 -0
  53. package/getFileFormats.js.map +1 -0
  54. package/getFunctions.d.ts +50 -0
  55. package/getFunctions.js +34 -0
  56. package/getFunctions.js.map +1 -0
  57. package/getMaskingPolicies.d.ts +50 -0
  58. package/getMaskingPolicies.js +34 -0
  59. package/getMaskingPolicies.js.map +1 -0
  60. package/getMaterializedViews.d.ts +50 -0
  61. package/getMaterializedViews.js +34 -0
  62. package/getMaterializedViews.js.map +1 -0
  63. package/getPipes.d.ts +50 -0
  64. package/getPipes.js +34 -0
  65. package/getPipes.js.map +1 -0
  66. package/getProcedures.d.ts +50 -0
  67. package/getProcedures.js +34 -0
  68. package/getProcedures.js.map +1 -0
  69. package/getResourceMonitors.d.ts +26 -0
  70. package/getResourceMonitors.js +28 -0
  71. package/getResourceMonitors.js.map +1 -0
  72. package/getRowAccessPolicies.d.ts +50 -0
  73. package/getRowAccessPolicies.js +34 -0
  74. package/getRowAccessPolicies.js.map +1 -0
  75. package/getSchemas.d.ts +41 -0
  76. package/getSchemas.js +32 -0
  77. package/getSchemas.js.map +1 -0
  78. package/getSequences.d.ts +50 -0
  79. package/getSequences.js +34 -0
  80. package/getSequences.js.map +1 -0
  81. package/getStages.d.ts +50 -0
  82. package/getStages.js +34 -0
  83. package/getStages.js.map +1 -0
  84. package/getStorageIntegrations.d.ts +26 -0
  85. package/getStorageIntegrations.js +28 -0
  86. package/getStorageIntegrations.js.map +1 -0
  87. package/getStreams.d.ts +50 -0
  88. package/getStreams.js +34 -0
  89. package/getStreams.js.map +1 -0
  90. package/getSystemGenerateScimAccessToken.d.ts +40 -0
  91. package/getSystemGenerateScimAccessToken.js +32 -0
  92. package/getSystemGenerateScimAccessToken.js.map +1 -0
  93. package/getSystemGetAwsSnsIamPolicy.d.ts +28 -0
  94. package/getSystemGetAwsSnsIamPolicy.js +20 -0
  95. package/getSystemGetAwsSnsIamPolicy.js.map +1 -0
  96. package/getSystemGetPrivateLinkConfig.d.ts +31 -0
  97. package/getSystemGetPrivateLinkConfig.js +18 -0
  98. package/getSystemGetPrivateLinkConfig.js.map +1 -0
  99. package/getSystemGetSnowflakePlatformInfo.d.ts +19 -0
  100. package/getSystemGetSnowflakePlatformInfo.js +18 -0
  101. package/getSystemGetSnowflakePlatformInfo.js.map +1 -0
  102. package/getTables.d.ts +50 -0
  103. package/getTables.js +34 -0
  104. package/getTables.js.map +1 -0
  105. package/getTasks.d.ts +50 -0
  106. package/getTasks.js +34 -0
  107. package/getTasks.js.map +1 -0
  108. package/getViews.d.ts +50 -0
  109. package/getViews.js +34 -0
  110. package/getViews.js.map +1 -0
  111. package/getWarehouses.d.ts +26 -0
  112. package/getWarehouses.js +28 -0
  113. package/getWarehouses.js.map +1 -0
  114. package/index.d.ts +79 -0
  115. package/index.js +324 -0
  116. package/index.js.map +1 -0
  117. package/integrationGrant.d.ts +110 -0
  118. package/integrationGrant.js +86 -0
  119. package/integrationGrant.js.map +1 -0
  120. package/managedAccount.d.ts +160 -0
  121. package/managedAccount.js +99 -0
  122. package/managedAccount.js.map +1 -0
  123. package/maskingPolicy.d.ts +144 -0
  124. package/maskingPolicy.js +102 -0
  125. package/maskingPolicy.js.map +1 -0
  126. package/maskingPolicyGrant.d.ts +108 -0
  127. package/maskingPolicyGrant.js +70 -0
  128. package/maskingPolicyGrant.js.map +1 -0
  129. package/materializedView.d.ts +158 -0
  130. package/materializedView.js +103 -0
  131. package/materializedView.js.map +1 -0
  132. package/materializedViewGrant.d.ts +165 -0
  133. package/materializedViewGrant.js +101 -0
  134. package/materializedViewGrant.js.map +1 -0
  135. package/networkPolicy.d.ts +104 -0
  136. package/networkPolicy.js +80 -0
  137. package/networkPolicy.js.map +1 -0
  138. package/networkPolicyAttachment.d.ts +110 -0
  139. package/networkPolicyAttachment.js +81 -0
  140. package/networkPolicyAttachment.js.map +1 -0
  141. package/notificationIntegration.d.ts +191 -0
  142. package/notificationIntegration.js +103 -0
  143. package/notificationIntegration.js.map +1 -0
  144. package/package.json +27 -0
  145. package/package.json.bak +26 -0
  146. package/package.json.dev +26 -0
  147. package/pipe.d.ts +187 -0
  148. package/pipe.js +107 -0
  149. package/pipe.js.map +1 -0
  150. package/pipeGrant.d.ts +149 -0
  151. package/pipeGrant.js +98 -0
  152. package/pipeGrant.js.map +1 -0
  153. package/procedure.d.ts +201 -0
  154. package/procedure.js +125 -0
  155. package/procedure.js.map +1 -0
  156. package/procedureGrant.d.ts +201 -0
  157. package/procedureGrant.js +119 -0
  158. package/procedureGrant.js.map +1 -0
  159. package/provider.d.ts +64 -0
  160. package/provider.js +70 -0
  161. package/provider.js.map +1 -0
  162. package/resourceMonitor.d.ts +156 -0
  163. package/resourceMonitor.js +89 -0
  164. package/resourceMonitor.js.map +1 -0
  165. package/resourceMonitorGrant.d.ts +105 -0
  166. package/resourceMonitorGrant.js +81 -0
  167. package/resourceMonitorGrant.js.map +1 -0
  168. package/role.d.ts +60 -0
  169. package/role.js +71 -0
  170. package/role.js.map +1 -0
  171. package/roleGrants.d.ts +105 -0
  172. package/roleGrants.js +91 -0
  173. package/roleGrants.js.map +1 -0
  174. package/rowAccessPolicy.d.ts +140 -0
  175. package/rowAccessPolicy.js +99 -0
  176. package/rowAccessPolicy.js.map +1 -0
  177. package/rowAccessPolicyGrant.d.ts +136 -0
  178. package/rowAccessPolicyGrant.js +98 -0
  179. package/rowAccessPolicyGrant.js.map +1 -0
  180. package/schema.d.ts +132 -0
  181. package/schema.js +88 -0
  182. package/schema.js.map +1 -0
  183. package/schemaGrant.d.ts +155 -0
  184. package/schemaGrant.js +98 -0
  185. package/schemaGrant.js.map +1 -0
  186. package/scimIntegration.d.ts +112 -0
  187. package/scimIntegration.js +85 -0
  188. package/scimIntegration.js.map +1 -0
  189. package/scripts/install-pulumi-plugin.js +21 -0
  190. package/sequence.d.ts +127 -0
  191. package/sequence.js +84 -0
  192. package/sequence.js.map +1 -0
  193. package/sequenceGrant.d.ts +149 -0
  194. package/sequenceGrant.js +98 -0
  195. package/sequenceGrant.js.map +1 -0
  196. package/share.d.ts +90 -0
  197. package/share.js +73 -0
  198. package/share.js.map +1 -0
  199. package/stage.d.ts +192 -0
  200. package/stage.js +109 -0
  201. package/stage.js.map +1 -0
  202. package/stageGrant.d.ts +165 -0
  203. package/stageGrant.js +104 -0
  204. package/stageGrant.js.map +1 -0
  205. package/storageIntegration.d.ts +153 -0
  206. package/storageIntegration.js +109 -0
  207. package/storageIntegration.js.map +1 -0
  208. package/stream.d.ts +166 -0
  209. package/stream.js +99 -0
  210. package/stream.js.map +1 -0
  211. package/streamGrant.d.ts +149 -0
  212. package/streamGrant.js +98 -0
  213. package/streamGrant.js.map +1 -0
  214. package/table.d.ts +214 -0
  215. package/table.js +139 -0
  216. package/table.js.map +1 -0
  217. package/tableGrant.d.ts +159 -0
  218. package/tableGrant.js +95 -0
  219. package/tableGrant.js.map +1 -0
  220. package/task.d.ts +218 -0
  221. package/task.js +117 -0
  222. package/task.js.map +1 -0
  223. package/taskGrant.d.ts +149 -0
  224. package/taskGrant.js +98 -0
  225. package/taskGrant.js.map +1 -0
  226. package/types/index.d.ts +3 -0
  227. package/types/index.js +11 -0
  228. package/types/index.js.map +1 -0
  229. package/types/input.d.ts +113 -0
  230. package/types/input.js +5 -0
  231. package/types/input.js.map +1 -0
  232. package/types/output.d.ts +331 -0
  233. package/types/output.js +5 -0
  234. package/types/output.js.map +1 -0
  235. package/user.d.ts +236 -0
  236. package/user.js +111 -0
  237. package/user.js.map +1 -0
  238. package/userPublicKeys.d.ts +72 -0
  239. package/userPublicKeys.js +55 -0
  240. package/userPublicKeys.js.map +1 -0
  241. package/utilities.d.ts +4 -0
  242. package/utilities.js +52 -0
  243. package/utilities.js.map +1 -0
  244. package/view.d.ts +145 -0
  245. package/view.js +97 -0
  246. package/view.js.map +1 -0
  247. package/viewGrant.d.ts +165 -0
  248. package/viewGrant.js +101 -0
  249. package/viewGrant.js.map +1 -0
  250. package/warehouse.d.ts +214 -0
  251. package/warehouse.js +96 -0
  252. package/warehouse.js.map +1 -0
  253. package/warehouseGrant.d.ts +107 -0
  254. package/warehouseGrant.js +83 -0
  255. package/warehouseGrant.js.map +1 -0
@@ -0,0 +1,102 @@
1
+ "use strict";
2
+ // *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
3
+ // *** Do not edit by hand unless you're certain you know what you are doing! ***
4
+ Object.defineProperty(exports, "__esModule", { value: true });
5
+ exports.MaskingPolicy = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("./utilities");
8
+ /**
9
+ * ## Example Usage
10
+ *
11
+ * ```typescript
12
+ * import * as pulumi from "@pulumi/pulumi";
13
+ * import * as snowflake from "@pulumi/snowflake";
14
+ *
15
+ * const exampleMaskingPolicy = new snowflake.MaskingPolicy("example_masking_policy", {
16
+ * database: "EXAMPLE_DB",
17
+ * maskingExpression: "case when current_role() in ('ANALYST') then val else sha2(val, 512) end",
18
+ * returnDataType: "string",
19
+ * schema: "EXAMPLE_SCHEMA",
20
+ * valueDataType: "string",
21
+ * });
22
+ * ```
23
+ *
24
+ * ## Import
25
+ *
26
+ * # format is database name | schema name | policy name
27
+ *
28
+ * ```sh
29
+ * $ pulumi import snowflake:index/maskingPolicy:MaskingPolicy example 'dbName|schemaName|policyName'
30
+ * ```
31
+ */
32
+ class MaskingPolicy extends pulumi.CustomResource {
33
+ constructor(name, argsOrState, opts) {
34
+ let inputs = {};
35
+ opts = opts || {};
36
+ if (opts.id) {
37
+ const state = argsOrState;
38
+ inputs["comment"] = state ? state.comment : undefined;
39
+ inputs["database"] = state ? state.database : undefined;
40
+ inputs["maskingExpression"] = state ? state.maskingExpression : undefined;
41
+ inputs["name"] = state ? state.name : undefined;
42
+ inputs["returnDataType"] = state ? state.returnDataType : undefined;
43
+ inputs["schema"] = state ? state.schema : undefined;
44
+ inputs["valueDataType"] = state ? state.valueDataType : undefined;
45
+ }
46
+ else {
47
+ const args = argsOrState;
48
+ if ((!args || args.database === undefined) && !opts.urn) {
49
+ throw new Error("Missing required property 'database'");
50
+ }
51
+ if ((!args || args.maskingExpression === undefined) && !opts.urn) {
52
+ throw new Error("Missing required property 'maskingExpression'");
53
+ }
54
+ if ((!args || args.returnDataType === undefined) && !opts.urn) {
55
+ throw new Error("Missing required property 'returnDataType'");
56
+ }
57
+ if ((!args || args.schema === undefined) && !opts.urn) {
58
+ throw new Error("Missing required property 'schema'");
59
+ }
60
+ if ((!args || args.valueDataType === undefined) && !opts.urn) {
61
+ throw new Error("Missing required property 'valueDataType'");
62
+ }
63
+ inputs["comment"] = args ? args.comment : undefined;
64
+ inputs["database"] = args ? args.database : undefined;
65
+ inputs["maskingExpression"] = args ? args.maskingExpression : undefined;
66
+ inputs["name"] = args ? args.name : undefined;
67
+ inputs["returnDataType"] = args ? args.returnDataType : undefined;
68
+ inputs["schema"] = args ? args.schema : undefined;
69
+ inputs["valueDataType"] = args ? args.valueDataType : undefined;
70
+ }
71
+ if (!opts.version) {
72
+ opts = pulumi.mergeOptions(opts, { version: utilities.getVersion() });
73
+ }
74
+ super(MaskingPolicy.__pulumiType, name, inputs, opts);
75
+ }
76
+ /**
77
+ * Get an existing MaskingPolicy resource's state with the given name, ID, and optional extra
78
+ * properties used to qualify the lookup.
79
+ *
80
+ * @param name The _unique_ name of the resulting resource.
81
+ * @param id The _unique_ provider ID of the resource to lookup.
82
+ * @param state Any extra arguments used during the lookup.
83
+ * @param opts Optional settings to control the behavior of the CustomResource.
84
+ */
85
+ static get(name, id, state, opts) {
86
+ return new MaskingPolicy(name, state, Object.assign(Object.assign({}, opts), { id: id }));
87
+ }
88
+ /**
89
+ * Returns true if the given object is an instance of MaskingPolicy. This is designed to work even
90
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
91
+ */
92
+ static isInstance(obj) {
93
+ if (obj === undefined || obj === null) {
94
+ return false;
95
+ }
96
+ return obj['__pulumiType'] === MaskingPolicy.__pulumiType;
97
+ }
98
+ }
99
+ exports.MaskingPolicy = MaskingPolicy;
100
+ /** @internal */
101
+ MaskingPolicy.__pulumiType = 'snowflake:index/maskingPolicy:MaskingPolicy';
102
+ //# sourceMappingURL=maskingPolicy.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"maskingPolicy.js","sourceRoot":"","sources":["../maskingPolicy.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AACH,MAAa,aAAc,SAAQ,MAAM,CAAC,cAAc;IAiEpD,YAAY,IAAY,EAAE,WAAoD,EAAE,IAAmC;QAC/G,IAAI,MAAM,GAAkB,EAAE,CAAC;QAC/B,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAA6C,CAAC;YAC5D,MAAM,CAAC,SAAS,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC,SAAS,CAAC;YACtD,MAAM,CAAC,UAAU,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,CAAC;YACxD,MAAM,CAAC,mBAAmB,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,iBAAiB,CAAC,CAAC,CAAC,SAAS,CAAC;YAC1E,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,SAAS,CAAC;YACpE,MAAM,CAAC,QAAQ,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,MAA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C;IAC9D,CAAC;;AA1BL,sCA2GC;AA7FG,gBAAgB;AACO,0BAAY,GAAG,6CAA6C,CAAC"}
@@ -0,0 +1,108 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ export declare class MaskingPolicyGrant extends pulumi.CustomResource {
3
+ /**
4
+ * Get an existing MaskingPolicyGrant resource's state with the given name, ID, and optional extra
5
+ * properties used to qualify the lookup.
6
+ *
7
+ * @param name The _unique_ name of the resulting resource.
8
+ * @param id The _unique_ provider ID of the resource to lookup.
9
+ * @param state Any extra arguments used during the lookup.
10
+ * @param opts Optional settings to control the behavior of the CustomResource.
11
+ */
12
+ static get(name: string, id: pulumi.Input<pulumi.ID>, state?: MaskingPolicyGrantState, opts?: pulumi.CustomResourceOptions): MaskingPolicyGrant;
13
+ /**
14
+ * Returns true if the given object is an instance of MaskingPolicyGrant. This is designed to work even
15
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
16
+ */
17
+ static isInstance(obj: any): obj is MaskingPolicyGrant;
18
+ /**
19
+ * The name of the database containing the masking policy on which to grant privileges.
20
+ */
21
+ readonly databaseName: pulumi.Output<string>;
22
+ /**
23
+ * The name of the masking policy on which to grant privileges immediately.
24
+ */
25
+ readonly maskingPolicyName: pulumi.Output<string>;
26
+ /**
27
+ * The privilege to grant on the masking policy.
28
+ */
29
+ readonly privilege: pulumi.Output<string | undefined>;
30
+ /**
31
+ * Grants privilege to these roles.
32
+ */
33
+ readonly roles: pulumi.Output<string[] | undefined>;
34
+ /**
35
+ * The name of the schema containing the masking policy on which to grant privileges.
36
+ */
37
+ readonly schemaName: pulumi.Output<string>;
38
+ /**
39
+ * When this is set to true, allows the recipient role to grant the privileges to other roles.
40
+ */
41
+ readonly withGrantOption: pulumi.Output<boolean | undefined>;
42
+ /**
43
+ * Create a MaskingPolicyGrant resource with the given unique name, arguments, and options.
44
+ *
45
+ * @param name The _unique_ name of the resource.
46
+ * @param args The arguments to use to populate this resource's properties.
47
+ * @param opts A bag of options that control this resource's behavior.
48
+ */
49
+ constructor(name: string, args: MaskingPolicyGrantArgs, opts?: pulumi.CustomResourceOptions);
50
+ }
51
+ /**
52
+ * Input properties used for looking up and filtering MaskingPolicyGrant resources.
53
+ */
54
+ export interface MaskingPolicyGrantState {
55
+ /**
56
+ * The name of the database containing the masking policy on which to grant privileges.
57
+ */
58
+ databaseName?: pulumi.Input<string>;
59
+ /**
60
+ * The name of the masking policy on which to grant privileges immediately.
61
+ */
62
+ maskingPolicyName?: pulumi.Input<string>;
63
+ /**
64
+ * The privilege to grant on the masking policy.
65
+ */
66
+ privilege?: pulumi.Input<string>;
67
+ /**
68
+ * Grants privilege to these roles.
69
+ */
70
+ roles?: pulumi.Input<pulumi.Input<string>[]>;
71
+ /**
72
+ * The name of the schema containing the masking policy on which to grant privileges.
73
+ */
74
+ schemaName?: pulumi.Input<string>;
75
+ /**
76
+ * When this is set to true, allows the recipient role to grant the privileges to other roles.
77
+ */
78
+ withGrantOption?: pulumi.Input<boolean>;
79
+ }
80
+ /**
81
+ * The set of arguments for constructing a MaskingPolicyGrant resource.
82
+ */
83
+ export interface MaskingPolicyGrantArgs {
84
+ /**
85
+ * The name of the database containing the masking policy on which to grant privileges.
86
+ */
87
+ databaseName: pulumi.Input<string>;
88
+ /**
89
+ * The name of the masking policy on which to grant privileges immediately.
90
+ */
91
+ maskingPolicyName: pulumi.Input<string>;
92
+ /**
93
+ * The privilege to grant on the masking policy.
94
+ */
95
+ privilege?: pulumi.Input<string>;
96
+ /**
97
+ * Grants privilege to these roles.
98
+ */
99
+ roles?: pulumi.Input<pulumi.Input<string>[]>;
100
+ /**
101
+ * The name of the schema containing the masking policy on which to grant privileges.
102
+ */
103
+ schemaName: pulumi.Input<string>;
104
+ /**
105
+ * When this is set to true, allows the recipient role to grant the privileges to other roles.
106
+ */
107
+ withGrantOption?: pulumi.Input<boolean>;
108
+ }
@@ -0,0 +1,70 @@
1
+ "use strict";
2
+ // *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
3
+ // *** Do not edit by hand unless you're certain you know what you are doing! ***
4
+ Object.defineProperty(exports, "__esModule", { value: true });
5
+ exports.MaskingPolicyGrant = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("./utilities");
8
+ class MaskingPolicyGrant extends pulumi.CustomResource {
9
+ constructor(name, argsOrState, opts) {
10
+ let inputs = {};
11
+ opts = opts || {};
12
+ if (opts.id) {
13
+ const state = argsOrState;
14
+ inputs["databaseName"] = state ? state.databaseName : undefined;
15
+ inputs["maskingPolicyName"] = state ? state.maskingPolicyName : undefined;
16
+ inputs["privilege"] = state ? state.privilege : undefined;
17
+ inputs["roles"] = state ? state.roles : undefined;
18
+ inputs["schemaName"] = state ? state.schemaName : undefined;
19
+ inputs["withGrantOption"] = state ? state.withGrantOption : undefined;
20
+ }
21
+ else {
22
+ const args = argsOrState;
23
+ if ((!args || args.databaseName === undefined) && !opts.urn) {
24
+ throw new Error("Missing required property 'databaseName'");
25
+ }
26
+ if ((!args || args.maskingPolicyName === undefined) && !opts.urn) {
27
+ throw new Error("Missing required property 'maskingPolicyName'");
28
+ }
29
+ if ((!args || args.schemaName === undefined) && !opts.urn) {
30
+ throw new Error("Missing required property 'schemaName'");
31
+ }
32
+ inputs["databaseName"] = args ? args.databaseName : undefined;
33
+ inputs["maskingPolicyName"] = args ? args.maskingPolicyName : undefined;
34
+ inputs["privilege"] = args ? args.privilege : undefined;
35
+ inputs["roles"] = args ? args.roles : undefined;
36
+ inputs["schemaName"] = args ? args.schemaName : undefined;
37
+ inputs["withGrantOption"] = args ? args.withGrantOption : undefined;
38
+ }
39
+ if (!opts.version) {
40
+ opts = pulumi.mergeOptions(opts, { version: utilities.getVersion() });
41
+ }
42
+ super(MaskingPolicyGrant.__pulumiType, name, inputs, opts);
43
+ }
44
+ /**
45
+ * Get an existing MaskingPolicyGrant resource's state with the given name, ID, and optional extra
46
+ * properties used to qualify the lookup.
47
+ *
48
+ * @param name The _unique_ name of the resulting resource.
49
+ * @param id The _unique_ provider ID of the resource to lookup.
50
+ * @param state Any extra arguments used during the lookup.
51
+ * @param opts Optional settings to control the behavior of the CustomResource.
52
+ */
53
+ static get(name, id, state, opts) {
54
+ return new MaskingPolicyGrant(name, state, Object.assign(Object.assign({}, opts), { id: id }));
55
+ }
56
+ /**
57
+ * Returns true if the given object is an instance of MaskingPolicyGrant. This is designed to work even
58
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
59
+ */
60
+ static isInstance(obj) {
61
+ if (obj === undefined || obj === null) {
62
+ return false;
63
+ }
64
+ return obj['__pulumiType'] === MaskingPolicyGrant.__pulumiType;
65
+ }
66
+ }
67
+ exports.MaskingPolicyGrant = MaskingPolicyGrant;
68
+ /** @internal */
69
+ MaskingPolicyGrant.__pulumiType = 'snowflake:index/maskingPolicyGrant:MaskingPolicyGrant';
70
+ //# sourceMappingURL=maskingPolicyGrant.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"maskingPolicyGrant.js","sourceRoot":"","sources":["../maskingPolicyGrant.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC,MAAa,kBAAmB,SAAQ,MAAM,CAAC,cAAc;IA6DzD,YAAY,IAAY,EAAE,WAA8D,EAAE,IAAmC;QACzH,IAAI,MAAM,GAAkB,EAAE,CAAC;QAC/B,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAkD,CAAC;YACjE,MAAM,CAAC,cAAc,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,YAAY,CAAC,CAAC,CAAC,SAAS,CAAC;YAChE,MAAM,CAAC,mBAAmB,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,iBAAiB,CAAC,CAAC,CAAC,SAAS,CAAC;YAC1E,MAAM,CAAC,WAAW,CAAC,GAAG,KAAK,CAAC,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as pulumi from "@pulumi/pulumi";
7
+ * import * as snowflake from "@pulumi/snowflake";
8
+ *
9
+ * const view = new snowflake.MaterializedView("view", {
10
+ * database: "db",
11
+ * schema: "schema",
12
+ * warehouse: "warehouse",
13
+ * comment: "comment",
14
+ * statement: "select * from foo;\n",
15
+ * orReplace: false,
16
+ * isSecure: false,
17
+ * });
18
+ * ```
19
+ *
20
+ * ## Import
21
+ *
22
+ * # format is database name | schema name | view name
23
+ *
24
+ * ```sh
25
+ * $ pulumi import snowflake:index/materializedView:MaterializedView example 'dbName|schemaName|viewName'
26
+ * ```
27
+ */
28
+ export declare class MaterializedView extends pulumi.CustomResource {
29
+ /**
30
+ * Get an existing MaterializedView resource's state with the given name, ID, and optional extra
31
+ * properties used to qualify the lookup.
32
+ *
33
+ * @param name The _unique_ name of the resulting resource.
34
+ * @param id The _unique_ provider ID of the resource to lookup.
35
+ * @param state Any extra arguments used during the lookup.
36
+ * @param opts Optional settings to control the behavior of the CustomResource.
37
+ */
38
+ static get(name: string, id: pulumi.Input<pulumi.ID>, state?: MaterializedViewState, opts?: pulumi.CustomResourceOptions): MaterializedView;
39
+ /**
40
+ * Returns true if the given object is an instance of MaterializedView. This is designed to work even
41
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
42
+ */
43
+ static isInstance(obj: any): obj is MaterializedView;
44
+ /**
45
+ * Specifies a comment for the view.
46
+ */
47
+ readonly comment: pulumi.Output<string | undefined>;
48
+ /**
49
+ * The database in which to create the view. Don't use the | character.
50
+ */
51
+ readonly database: pulumi.Output<string>;
52
+ /**
53
+ * Specifies that the view is secure.
54
+ */
55
+ readonly isSecure: pulumi.Output<boolean | undefined>;
56
+ /**
57
+ * Specifies the identifier for the view; must be unique for the schema in which the view is created.
58
+ */
59
+ readonly name: pulumi.Output<string>;
60
+ /**
61
+ * Overwrites the View if it exists.
62
+ */
63
+ readonly orReplace: pulumi.Output<boolean | undefined>;
64
+ /**
65
+ * The schema in which to create the view. Don't use the | character.
66
+ */
67
+ readonly schema: pulumi.Output<string>;
68
+ /**
69
+ * Specifies the query used to create the view.
70
+ */
71
+ readonly statement: pulumi.Output<string>;
72
+ /**
73
+ * The warehouse name.
74
+ */
75
+ readonly warehouse: pulumi.Output<string>;
76
+ /**
77
+ * Create a MaterializedView resource with the given unique name, arguments, and options.
78
+ *
79
+ * @param name The _unique_ name of the resource.
80
+ * @param args The arguments to use to populate this resource's properties.
81
+ * @param opts A bag of options that control this resource's behavior.
82
+ */
83
+ constructor(name: string, args: MaterializedViewArgs, opts?: pulumi.CustomResourceOptions);
84
+ }
85
+ /**
86
+ * Input properties used for looking up and filtering MaterializedView resources.
87
+ */
88
+ export interface MaterializedViewState {
89
+ /**
90
+ * Specifies a comment for the view.
91
+ */
92
+ comment?: pulumi.Input<string>;
93
+ /**
94
+ * The database in which to create the view. Don't use the | character.
95
+ */
96
+ database?: pulumi.Input<string>;
97
+ /**
98
+ * Specifies that the view is secure.
99
+ */
100
+ isSecure?: pulumi.Input<boolean>;
101
+ /**
102
+ * Specifies the identifier for the view; must be unique for the schema in which the view is created.
103
+ */
104
+ name?: pulumi.Input<string>;
105
+ /**
106
+ * Overwrites the View if it exists.
107
+ */
108
+ orReplace?: pulumi.Input<boolean>;
109
+ /**
110
+ * The schema in which to create the view. Don't use the | character.
111
+ */
112
+ schema?: pulumi.Input<string>;
113
+ /**
114
+ * Specifies the query used to create the view.
115
+ */
116
+ statement?: pulumi.Input<string>;
117
+ /**
118
+ * The warehouse name.
119
+ */
120
+ warehouse?: pulumi.Input<string>;
121
+ }
122
+ /**
123
+ * The set of arguments for constructing a MaterializedView resource.
124
+ */
125
+ export interface MaterializedViewArgs {
126
+ /**
127
+ * Specifies a comment for the view.
128
+ */
129
+ comment?: pulumi.Input<string>;
130
+ /**
131
+ * The database in which to create the view. Don't use the | character.
132
+ */
133
+ database: pulumi.Input<string>;
134
+ /**
135
+ * Specifies that the view is secure.
136
+ */
137
+ isSecure?: pulumi.Input<boolean>;
138
+ /**
139
+ * Specifies the identifier for the view; must be unique for the schema in which the view is created.
140
+ */
141
+ name?: pulumi.Input<string>;
142
+ /**
143
+ * Overwrites the View if it exists.
144
+ */
145
+ orReplace?: pulumi.Input<boolean>;
146
+ /**
147
+ * The schema in which to create the view. Don't use the | character.
148
+ */
149
+ schema: pulumi.Input<string>;
150
+ /**
151
+ * Specifies the query used to create the view.
152
+ */
153
+ statement: pulumi.Input<string>;
154
+ /**
155
+ * The warehouse name.
156
+ */
157
+ warehouse: pulumi.Input<string>;
158
+ }
@@ -0,0 +1,103 @@
1
+ "use strict";
2
+ // *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
3
+ // *** Do not edit by hand unless you're certain you know what you are doing! ***
4
+ Object.defineProperty(exports, "__esModule", { value: true });
5
+ exports.MaterializedView = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("./utilities");
8
+ /**
9
+ * ## Example Usage
10
+ *
11
+ * ```typescript
12
+ * import * as pulumi from "@pulumi/pulumi";
13
+ * import * as snowflake from "@pulumi/snowflake";
14
+ *
15
+ * const view = new snowflake.MaterializedView("view", {
16
+ * database: "db",
17
+ * schema: "schema",
18
+ * warehouse: "warehouse",
19
+ * comment: "comment",
20
+ * statement: "select * from foo;\n",
21
+ * orReplace: false,
22
+ * isSecure: false,
23
+ * });
24
+ * ```
25
+ *
26
+ * ## Import
27
+ *
28
+ * # format is database name | schema name | view name
29
+ *
30
+ * ```sh
31
+ * $ pulumi import snowflake:index/materializedView:MaterializedView example 'dbName|schemaName|viewName'
32
+ * ```
33
+ */
34
+ class MaterializedView extends pulumi.CustomResource {
35
+ constructor(name, argsOrState, opts) {
36
+ let inputs = {};
37
+ opts = opts || {};
38
+ if (opts.id) {
39
+ const state = argsOrState;
40
+ inputs["comment"] = state ? state.comment : undefined;
41
+ inputs["database"] = state ? state.database : undefined;
42
+ inputs["isSecure"] = state ? state.isSecure : undefined;
43
+ inputs["name"] = state ? state.name : undefined;
44
+ inputs["orReplace"] = state ? state.orReplace : undefined;
45
+ inputs["schema"] = state ? state.schema : undefined;
46
+ inputs["statement"] = state ? state.statement : undefined;
47
+ inputs["warehouse"] = state ? state.warehouse : undefined;
48
+ }
49
+ else {
50
+ const args = argsOrState;
51
+ if ((!args || args.database === undefined) && !opts.urn) {
52
+ throw new Error("Missing required property 'database'");
53
+ }
54
+ if ((!args || args.schema === undefined) && !opts.urn) {
55
+ throw new Error("Missing required property 'schema'");
56
+ }
57
+ if ((!args || args.statement === undefined) && !opts.urn) {
58
+ throw new Error("Missing required property 'statement'");
59
+ }
60
+ if ((!args || args.warehouse === undefined) && !opts.urn) {
61
+ throw new Error("Missing required property 'warehouse'");
62
+ }
63
+ inputs["comment"] = args ? args.comment : undefined;
64
+ inputs["database"] = args ? args.database : undefined;
65
+ inputs["isSecure"] = args ? args.isSecure : undefined;
66
+ inputs["name"] = args ? args.name : undefined;
67
+ inputs["orReplace"] = args ? args.orReplace : undefined;
68
+ inputs["schema"] = args ? args.schema : undefined;
69
+ inputs["statement"] = args ? args.statement : undefined;
70
+ inputs["warehouse"] = args ? args.warehouse : undefined;
71
+ }
72
+ if (!opts.version) {
73
+ opts = pulumi.mergeOptions(opts, { version: utilities.getVersion() });
74
+ }
75
+ super(MaterializedView.__pulumiType, name, inputs, opts);
76
+ }
77
+ /**
78
+ * Get an existing MaterializedView resource's state with the given name, ID, and optional extra
79
+ * properties used to qualify the lookup.
80
+ *
81
+ * @param name The _unique_ name of the resulting resource.
82
+ * @param id The _unique_ provider ID of the resource to lookup.
83
+ * @param state Any extra arguments used during the lookup.
84
+ * @param opts Optional settings to control the behavior of the CustomResource.
85
+ */
86
+ static get(name, id, state, opts) {
87
+ return new MaterializedView(name, state, Object.assign(Object.assign({}, opts), { id: id }));
88
+ }
89
+ /**
90
+ * Returns true if the given object is an instance of MaterializedView. This is designed to work even
91
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
92
+ */
93
+ static isInstance(obj) {
94
+ if (obj === undefined || obj === null) {
95
+ return false;
96
+ }
97
+ return obj['__pulumiType'] === MaterializedView.__pulumiType;
98
+ }
99
+ }
100
+ exports.MaterializedView = MaterializedView;
101
+ /** @internal */
102
+ MaterializedView.__pulumiType = 'snowflake:index/materializedView:MaterializedView';
103
+ //# sourceMappingURL=materializedView.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"materializedView.js","sourceRoot":"","sources":["../materializedView.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;GAyBG;AACH,MAAa,gBAAiB,SAAQ,MAAM,CAAC,cAAc;IAqEvD,YAAY,IAAY,EAAE,WAA0D,EAAE,IAAmC;QACrH,IAAI,MAAM,GAAkB,EAAE,CAAC;QAC/B,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAgD,CAAC;YAC/D,MAAM,CAAC,SAAS,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC,SAAS,CAAC;YACtD,MAAM,CAAC,UAAU,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,CAAC;YACxD,MAAM,CAAC,UAAU,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,CAAC;YACxD,MAAM,CAAC,MAAM,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;YAChD,MAAM,CAAC,WAAW,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC;YAC1D,MAAM,CAAC,QAAQ,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC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