@pulumi/snowflake 2.19.0-alpha.1785224124 → 2.19.0
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/accountAuthenticationPolicyAttachment.d.ts +11 -3
- package/accountAuthenticationPolicyAttachment.d.ts.map +1 -1
- package/accountAuthenticationPolicyAttachment.js +8 -0
- package/accountAuthenticationPolicyAttachment.js.map +1 -1
- package/accountParameter.d.ts +3 -3
- package/accountSessionPolicyAttachment.d.ts +2 -0
- package/accountSessionPolicyAttachment.d.ts.map +1 -1
- package/accountSessionPolicyAttachment.js +2 -0
- package/accountSessionPolicyAttachment.js.map +1 -1
- package/config/vars.d.ts +7 -3
- package/config/vars.d.ts.map +1 -1
- package/config/vars.js +6 -0
- package/config/vars.js.map +1 -1
- package/currentAccount.d.ts +12 -0
- package/currentAccount.d.ts.map +1 -1
- package/currentAccount.js +2 -0
- package/currentAccount.js.map +1 -1
- package/currentOrganizationAccount.d.ts +12 -0
- package/currentOrganizationAccount.d.ts.map +1 -1
- package/currentOrganizationAccount.js +2 -0
- package/currentOrganizationAccount.js.map +1 -1
- package/database.d.ts +24 -0
- package/database.d.ts.map +1 -1
- package/database.js +4 -0
- package/database.js.map +1 -1
- package/fileFormat.d.ts +2 -0
- package/fileFormat.d.ts.map +1 -1
- package/fileFormat.js +2 -0
- package/fileFormat.js.map +1 -1
- package/fileFormatAvro.d.ts +215 -0
- package/fileFormatAvro.d.ts.map +1 -0
- package/fileFormatAvro.js +148 -0
- package/fileFormatAvro.js.map +1 -0
- package/fileFormatCsv.d.ts +448 -0
- package/fileFormatCsv.d.ts.map +1 -0
- package/fileFormatCsv.js +201 -0
- package/fileFormatCsv.js.map +1 -0
- package/fileFormatJson.d.ts +371 -0
- package/fileFormatJson.d.ts.map +1 -0
- package/fileFormatJson.js +184 -0
- package/fileFormatJson.js.map +1 -0
- package/fileFormatOrc.d.ts +202 -0
- package/fileFormatOrc.d.ts.map +1 -0
- package/fileFormatOrc.js +145 -0
- package/fileFormatOrc.js.map +1 -0
- package/fileFormatParquet.d.ts +254 -0
- package/fileFormatParquet.d.ts.map +1 -0
- package/fileFormatParquet.js +157 -0
- package/fileFormatParquet.js.map +1 -0
- package/fileFormatXml.d.ts +248 -0
- package/fileFormatXml.d.ts.map +1 -0
- package/fileFormatXml.js +151 -0
- package/fileFormatXml.js.map +1 -0
- package/getFileFormats.d.ts +32 -43
- package/getFileFormats.d.ts.map +1 -1
- package/getFileFormats.js +10 -30
- package/getFileFormats.js.map +1 -1
- package/getGrants.d.ts +48 -0
- package/getGrants.d.ts.map +1 -1
- package/getGrants.js +38 -0
- package/getGrants.js.map +1 -1
- package/getIcebergTables.d.ts +111 -0
- package/getIcebergTables.d.ts.map +1 -0
- package/getIcebergTables.js +67 -0
- package/getIcebergTables.js.map +1 -0
- package/getMcpServers.d.ts +75 -0
- package/getMcpServers.d.ts.map +1 -0
- package/getMcpServers.js +61 -0
- package/getMcpServers.js.map +1 -0
- package/getNetworkRules.d.ts +0 -4
- package/getNetworkRules.d.ts.map +1 -1
- package/getNetworkRules.js +0 -4
- package/getNetworkRules.js.map +1 -1
- package/icebergTable.d.ts +615 -0
- package/icebergTable.d.ts.map +1 -0
- package/icebergTable.js +361 -0
- package/icebergTable.js.map +1 -0
- package/icebergTableFromAwsGlue.d.ts +237 -0
- package/icebergTableFromAwsGlue.d.ts.map +1 -0
- package/icebergTableFromAwsGlue.js +153 -0
- package/icebergTableFromAwsGlue.js.map +1 -0
- package/icebergTableFromDeltaFiles.d.ts +5 -3
- package/icebergTableFromDeltaFiles.d.ts.map +1 -1
- package/icebergTableFromDeltaFiles.js +5 -3
- package/icebergTableFromDeltaFiles.js.map +1 -1
- package/icebergTableFromFiles.d.ts +4 -2
- package/icebergTableFromFiles.d.ts.map +1 -1
- package/icebergTableFromFiles.js +4 -2
- package/icebergTableFromFiles.js.map +1 -1
- package/icebergTableFromRest.d.ts +304 -0
- package/icebergTableFromRest.d.ts.map +1 -0
- package/icebergTableFromRest.js +170 -0
- package/icebergTableFromRest.js.map +1 -0
- package/index.d.ts +39 -0
- package/index.d.ts.map +1 -1
- package/index.js +67 -6
- package/index.js.map +1 -1
- package/legacyServiceUser.d.ts +11 -1
- package/legacyServiceUser.d.ts.map +1 -1
- package/legacyServiceUser.js +11 -1
- package/legacyServiceUser.js.map +1 -1
- package/mcpServer.d.ts +134 -0
- package/mcpServer.d.ts.map +1 -0
- package/mcpServer.js +106 -0
- package/mcpServer.js.map +1 -0
- package/oauthIntegrationForCustomClients.d.ts +13 -1
- package/oauthIntegrationForCustomClients.d.ts.map +1 -1
- package/oauthIntegrationForCustomClients.js +3 -1
- package/oauthIntegrationForCustomClients.js.map +1 -1
- package/oauthIntegrationForPartnerApplications.d.ts +12 -0
- package/oauthIntegrationForPartnerApplications.d.ts.map +1 -1
- package/oauthIntegrationForPartnerApplications.js +2 -0
- package/oauthIntegrationForPartnerApplications.js.map +1 -1
- package/package.json +2 -2
- package/provider.d.ts +13 -3
- package/provider.d.ts.map +1 -1
- package/provider.js +1 -0
- package/provider.js.map +1 -1
- package/saml2Integration.d.ts +1 -4
- package/saml2Integration.d.ts.map +1 -1
- package/saml2Integration.js +1 -4
- package/saml2Integration.js.map +1 -1
- package/schema.d.ts +24 -0
- package/schema.d.ts.map +1 -1
- package/schema.js +4 -0
- package/schema.js.map +1 -1
- package/secondaryDatabase.d.ts +24 -0
- package/secondaryDatabase.d.ts.map +1 -1
- package/secondaryDatabase.js +4 -0
- package/secondaryDatabase.js.map +1 -1
- package/serviceUser.d.ts +11 -1
- package/serviceUser.d.ts.map +1 -1
- package/serviceUser.js +11 -1
- package/serviceUser.js.map +1 -1
- package/sharedDatabase.d.ts +24 -0
- package/sharedDatabase.d.ts.map +1 -1
- package/sharedDatabase.js +4 -0
- package/sharedDatabase.js.map +1 -1
- package/stageExternalS3.d.ts +1 -0
- package/stageExternalS3.d.ts.map +1 -1
- package/stageExternalS3.js +1 -0
- package/stageExternalS3.js.map +1 -1
- package/tag.d.ts +3 -3
- package/tagAssociation.d.ts +3 -3
- package/types/input.d.ts +1123 -49
- package/types/input.d.ts.map +1 -1
- package/types/output.d.ts +1367 -120
- package/types/output.d.ts.map +1 -1
- package/userAuthenticationPolicyAttachment.d.ts +13 -7
- package/userAuthenticationPolicyAttachment.d.ts.map +1 -1
- package/userAuthenticationPolicyAttachment.js +7 -1
- package/userAuthenticationPolicyAttachment.js.map +1 -1
- package/warehouseAdaptive.d.ts +13 -0
- package/warehouseAdaptive.d.ts.map +1 -1
- package/warehouseAdaptive.js +3 -0
- package/warehouseAdaptive.js.map +1 -1
- package/warehouseInteractive.d.ts +295 -0
- package/warehouseInteractive.d.ts.map +1 -0
- package/warehouseInteractive.js +162 -0
- package/warehouseInteractive.js.map +1 -0
package/icebergTable.js
ADDED
|
@@ -0,0 +1,361 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by pulumi-language-nodejs. ***
|
|
3
|
+
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
5
|
+
if (k2 === undefined) k2 = k;
|
|
6
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
7
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
8
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
9
|
+
}
|
|
10
|
+
Object.defineProperty(o, k2, desc);
|
|
11
|
+
}) : (function(o, m, k, k2) {
|
|
12
|
+
if (k2 === undefined) k2 = k;
|
|
13
|
+
o[k2] = m[k];
|
|
14
|
+
}));
|
|
15
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
16
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
17
|
+
}) : function(o, v) {
|
|
18
|
+
o["default"] = v;
|
|
19
|
+
});
|
|
20
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
21
|
+
if (mod && mod.__esModule) return mod;
|
|
22
|
+
var result = {};
|
|
23
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
24
|
+
__setModuleDefault(result, mod);
|
|
25
|
+
return result;
|
|
26
|
+
};
|
|
27
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
28
|
+
exports.IcebergTable = void 0;
|
|
29
|
+
const pulumi = __importStar(require("@pulumi/pulumi"));
|
|
30
|
+
const utilities = __importStar(require("./utilities"));
|
|
31
|
+
/**
|
|
32
|
+
* > **Caution: Preview Feature** This feature is considered a preview feature in the provider, regardless of the state of the resource in Snowflake. We do not guarantee its stability. It will be reworked and marked as a stable feature in future releases. Breaking changes are expected, even without bumping the major version. To use this feature, add the relevant feature name to `previewFeaturesEnabled` field in the provider configuration. Please always refer to the Getting Help section in our Github repo to best determine how to get help for your questions.
|
|
33
|
+
*
|
|
34
|
+
* > **Note** Any change to the `column` block (adding, removing, renaming, retyping, or reordering a column) recreates the whole table, because column definitions can currently only be set at creation time (Snowflake `ALTER ICEBERG TABLE` column operations are not yet used by this resource). This will be addressed in a future release.
|
|
35
|
+
*
|
|
36
|
+
* > **Note** `primaryKeyConstraint`, `uniqueConstraint`, `foreignKeyConstraint`, and `checkConstraint` can only be set at creation time; changing or removing them recreates the whole table. They also are not read back from Snowflake, so external changes to these constraints (e.g. added, dropped, or altered outside Terraform) are not detected, and after importing the resource, the first `pulumi preview` may show a diff for these fields even without a config change.
|
|
37
|
+
*
|
|
38
|
+
* > **Note** `pathLayout`, `errorLogging`, and `changeTracking` are not returned by `SHOW`/`DESCRIBE ICEBERG TABLE`, so external changes to these fields are not detected. `clusterBy` is not read back either, because Snowflake does not expose the original clustering key expression for Iceberg tables.
|
|
39
|
+
*
|
|
40
|
+
* Resource used to manage a Snowflake-managed Iceberg table. For more information, check [the official documentation](https://docs.snowflake.com/en/sql-reference/sql/create-iceberg-table-snowflake).
|
|
41
|
+
*
|
|
42
|
+
* ## Example Usage
|
|
43
|
+
*
|
|
44
|
+
* ```typescript
|
|
45
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
46
|
+
* import * as snowflake from "@pulumi/snowflake";
|
|
47
|
+
*
|
|
48
|
+
* // Basic - only required fields
|
|
49
|
+
* const basic = new snowflake.IcebergTable("basic", {
|
|
50
|
+
* database: "DATABASE",
|
|
51
|
+
* schema: "SCHEMA",
|
|
52
|
+
* name: "TABLE",
|
|
53
|
+
* columns: [
|
|
54
|
+
* {
|
|
55
|
+
* name: "ID",
|
|
56
|
+
* type: "NUMBER(38,0)",
|
|
57
|
+
* },
|
|
58
|
+
* {
|
|
59
|
+
* name: "NAME",
|
|
60
|
+
* type: "VARCHAR(16777216)",
|
|
61
|
+
* },
|
|
62
|
+
* ],
|
|
63
|
+
* });
|
|
64
|
+
* // Complete - every field set (except cluster_by, which conflicts with partition_by - see below)
|
|
65
|
+
* const complete = new snowflake.IcebergTable("complete", {
|
|
66
|
+
* database: "DATABASE",
|
|
67
|
+
* schema: "SCHEMA",
|
|
68
|
+
* name: "TABLE",
|
|
69
|
+
* comment: "COMMENT",
|
|
70
|
+
* externalVolume: "EXTERNAL_VOLUME",
|
|
71
|
+
* catalog: "SNOWFLAKE",
|
|
72
|
+
* catalogSync: "CATALOG_INTEGRATION",
|
|
73
|
+
* targetFileSize: "64MB",
|
|
74
|
+
* storageSerializationPolicy: "OPTIMIZED",
|
|
75
|
+
* dataRetentionTimeInDays: 5,
|
|
76
|
+
* maxDataExtensionTimeInDays: 10,
|
|
77
|
+
* enableDataCompaction: true,
|
|
78
|
+
* enableIcebergMergeOnRead: true,
|
|
79
|
+
* baseLocation: "iceberg_table",
|
|
80
|
+
* pathLayout: "FLAT",
|
|
81
|
+
* changeTracking: "true",
|
|
82
|
+
* icebergVersion: 2,
|
|
83
|
+
* errorLogging: "true",
|
|
84
|
+
* columns: [
|
|
85
|
+
* {
|
|
86
|
+
* name: "ID",
|
|
87
|
+
* type: "NUMBER(38,0)",
|
|
88
|
+
* notNull: "true",
|
|
89
|
+
* comment: "Primary identifier",
|
|
90
|
+
* },
|
|
91
|
+
* {
|
|
92
|
+
* name: "NAME",
|
|
93
|
+
* type: "VARCHAR(16777216)",
|
|
94
|
+
* comment: "Name of the entity",
|
|
95
|
+
* maskingPolicy: {
|
|
96
|
+
* policyName: "MASKING_POLICY",
|
|
97
|
+
* usings: ["NAME"],
|
|
98
|
+
* },
|
|
99
|
+
* },
|
|
100
|
+
* {
|
|
101
|
+
* name: "REGION",
|
|
102
|
+
* type: "VARCHAR(16777216)",
|
|
103
|
+
* projectionPolicy: {
|
|
104
|
+
* policyName: "PROJECTION_POLICY",
|
|
105
|
+
* },
|
|
106
|
+
* },
|
|
107
|
+
* {
|
|
108
|
+
* name: "STATUS",
|
|
109
|
+
* type: "VARCHAR(16777216)",
|
|
110
|
+
* },
|
|
111
|
+
* {
|
|
112
|
+
* name: "CATEGORY",
|
|
113
|
+
* type: "VARCHAR(16777216)",
|
|
114
|
+
* maskingPolicy: {
|
|
115
|
+
* policyName: "CONDITIONAL_MASKING_POLICY",
|
|
116
|
+
* usings: [
|
|
117
|
+
* "CATEGORY",
|
|
118
|
+
* "STATUS",
|
|
119
|
+
* ],
|
|
120
|
+
* },
|
|
121
|
+
* },
|
|
122
|
+
* {
|
|
123
|
+
* name: "CREATED_AT",
|
|
124
|
+
* type: "TIMESTAMP_NTZ(9)",
|
|
125
|
+
* "default": {
|
|
126
|
+
* expression: "CURRENT_TIMESTAMP()",
|
|
127
|
+
* },
|
|
128
|
+
* },
|
|
129
|
+
* {
|
|
130
|
+
* name: "REF_ID",
|
|
131
|
+
* type: "NUMBER(38,0)",
|
|
132
|
+
* "default": {
|
|
133
|
+
* expression: "2",
|
|
134
|
+
* },
|
|
135
|
+
* },
|
|
136
|
+
* ],
|
|
137
|
+
* primaryKeyConstraint: {
|
|
138
|
+
* name: "PK",
|
|
139
|
+
* columns: ["ID"],
|
|
140
|
+
* enforced: "false",
|
|
141
|
+
* deferrable: "true",
|
|
142
|
+
* initiallyDeferred: "true",
|
|
143
|
+
* enable: "true",
|
|
144
|
+
* validate: "true",
|
|
145
|
+
* rely: "true",
|
|
146
|
+
* comment: "Primary key constraint",
|
|
147
|
+
* },
|
|
148
|
+
* uniqueConstraints: [{
|
|
149
|
+
* name: "NAME_UQ",
|
|
150
|
+
* columns: ["NAME"],
|
|
151
|
+
* enforced: "false",
|
|
152
|
+
* deferrable: "true",
|
|
153
|
+
* initiallyDeferred: "true",
|
|
154
|
+
* enable: "true",
|
|
155
|
+
* validate: "true",
|
|
156
|
+
* rely: "true",
|
|
157
|
+
* comment: "Unique constraint on name",
|
|
158
|
+
* }],
|
|
159
|
+
* foreignKeyConstraints: [{
|
|
160
|
+
* name: "FK",
|
|
161
|
+
* columns: ["REF_ID"],
|
|
162
|
+
* tableName: "OTHER_DATABASE.OTHER_SCHEMA.OTHER_TABLE",
|
|
163
|
+
* refColumns: ["ID"],
|
|
164
|
+
* match: "SIMPLE",
|
|
165
|
+
* onUpdate: "CASCADE",
|
|
166
|
+
* onDelete: "SET NULL",
|
|
167
|
+
* enforced: "false",
|
|
168
|
+
* deferrable: "true",
|
|
169
|
+
* initiallyDeferred: "true",
|
|
170
|
+
* enable: "true",
|
|
171
|
+
* validate: "true",
|
|
172
|
+
* rely: "true",
|
|
173
|
+
* comment: "Foreign key constraint",
|
|
174
|
+
* }],
|
|
175
|
+
* checkConstraints: [{
|
|
176
|
+
* name: "CHK",
|
|
177
|
+
* expression: "ID > 0",
|
|
178
|
+
* validate: "true",
|
|
179
|
+
* }],
|
|
180
|
+
* rowAccessPolicy: {
|
|
181
|
+
* policyName: "ROW_ACCESS_POLICY",
|
|
182
|
+
* ons: ["ID"],
|
|
183
|
+
* },
|
|
184
|
+
* aggregationPolicy: {
|
|
185
|
+
* policyName: "AGGREGATION_POLICY",
|
|
186
|
+
* entityKeys: ["ID"],
|
|
187
|
+
* },
|
|
188
|
+
* partitionBies: [
|
|
189
|
+
* {
|
|
190
|
+
* identity: "REGION",
|
|
191
|
+
* },
|
|
192
|
+
* {
|
|
193
|
+
* bucket: {
|
|
194
|
+
* numBuckets: 4,
|
|
195
|
+
* column: "ID",
|
|
196
|
+
* },
|
|
197
|
+
* },
|
|
198
|
+
* {
|
|
199
|
+
* truncate: {
|
|
200
|
+
* width: 10,
|
|
201
|
+
* column: "NAME",
|
|
202
|
+
* },
|
|
203
|
+
* },
|
|
204
|
+
* {
|
|
205
|
+
* year: "CREATED_AT",
|
|
206
|
+
* },
|
|
207
|
+
* {
|
|
208
|
+
* month: "CREATED_AT",
|
|
209
|
+
* },
|
|
210
|
+
* {
|
|
211
|
+
* day: "CREATED_AT",
|
|
212
|
+
* },
|
|
213
|
+
* {
|
|
214
|
+
* hour: "CREATED_AT",
|
|
215
|
+
* },
|
|
216
|
+
* ],
|
|
217
|
+
* });
|
|
218
|
+
* // cluster_by conflicts with partition_by, so it is shown on a separate resource.
|
|
219
|
+
* const completeWithClusterBy = new snowflake.IcebergTable("complete_with_cluster_by", {
|
|
220
|
+
* database: "DATABASE",
|
|
221
|
+
* schema: "SCHEMA",
|
|
222
|
+
* name: "TABLE",
|
|
223
|
+
* columns: [
|
|
224
|
+
* {
|
|
225
|
+
* name: "ID",
|
|
226
|
+
* type: "NUMBER(38,0)",
|
|
227
|
+
* },
|
|
228
|
+
* {
|
|
229
|
+
* name: "NAME",
|
|
230
|
+
* type: "VARCHAR(16777216)",
|
|
231
|
+
* },
|
|
232
|
+
* ],
|
|
233
|
+
* clusterBies: [
|
|
234
|
+
* "ID",
|
|
235
|
+
* "NAME",
|
|
236
|
+
* ],
|
|
237
|
+
* });
|
|
238
|
+
* ```
|
|
239
|
+
*
|
|
240
|
+
* > **Note** Instead of using fully_qualified_name, you can reference objects managed outside Terraform by constructing a correct ID, consult identifiers guide.
|
|
241
|
+
* <!-- TODO(SNOW-1634854): include an example showing both methods-->
|
|
242
|
+
*
|
|
243
|
+
* > **Note** If a field has a default value, it is shown next to the type in the schema.
|
|
244
|
+
*
|
|
245
|
+
* ## Import
|
|
246
|
+
*
|
|
247
|
+
* ```sh
|
|
248
|
+
* $ pulumi import snowflake:index/icebergTable:IcebergTable example '"<database_name>"."<schema_name>"."<table_name>"'
|
|
249
|
+
* ```
|
|
250
|
+
*/
|
|
251
|
+
class IcebergTable extends pulumi.CustomResource {
|
|
252
|
+
/**
|
|
253
|
+
* Get an existing IcebergTable resource's state with the given name, ID, and optional extra
|
|
254
|
+
* properties used to qualify the lookup.
|
|
255
|
+
*
|
|
256
|
+
* @param name The _unique_ name of the resulting resource.
|
|
257
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
258
|
+
* @param state Any extra arguments used during the lookup.
|
|
259
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
260
|
+
*/
|
|
261
|
+
static get(name, id, state, opts) {
|
|
262
|
+
return new IcebergTable(name, state, { ...opts, id: id });
|
|
263
|
+
}
|
|
264
|
+
/** @internal */
|
|
265
|
+
static __pulumiType = 'snowflake:index/icebergTable:IcebergTable';
|
|
266
|
+
/**
|
|
267
|
+
* Returns true if the given object is an instance of IcebergTable. This is designed to work even
|
|
268
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
269
|
+
*/
|
|
270
|
+
static isInstance(obj) {
|
|
271
|
+
if (obj === undefined || obj === null) {
|
|
272
|
+
return false;
|
|
273
|
+
}
|
|
274
|
+
return obj['__pulumiType'] === IcebergTable.__pulumiType;
|
|
275
|
+
}
|
|
276
|
+
constructor(name, argsOrState, opts) {
|
|
277
|
+
let resourceInputs = {};
|
|
278
|
+
opts = opts || {};
|
|
279
|
+
if (opts.id) {
|
|
280
|
+
const state = argsOrState;
|
|
281
|
+
resourceInputs["aggregationPolicy"] = state?.aggregationPolicy;
|
|
282
|
+
resourceInputs["baseLocation"] = state?.baseLocation;
|
|
283
|
+
resourceInputs["catalog"] = state?.catalog;
|
|
284
|
+
resourceInputs["catalogSync"] = state?.catalogSync;
|
|
285
|
+
resourceInputs["changeTracking"] = state?.changeTracking;
|
|
286
|
+
resourceInputs["checkConstraints"] = state?.checkConstraints;
|
|
287
|
+
resourceInputs["clusterBies"] = state?.clusterBies;
|
|
288
|
+
resourceInputs["columns"] = state?.columns;
|
|
289
|
+
resourceInputs["comment"] = state?.comment;
|
|
290
|
+
resourceInputs["dataRetentionTimeInDays"] = state?.dataRetentionTimeInDays;
|
|
291
|
+
resourceInputs["database"] = state?.database;
|
|
292
|
+
resourceInputs["describeOutputs"] = state?.describeOutputs;
|
|
293
|
+
resourceInputs["enableDataCompaction"] = state?.enableDataCompaction;
|
|
294
|
+
resourceInputs["enableIcebergMergeOnRead"] = state?.enableIcebergMergeOnRead;
|
|
295
|
+
resourceInputs["errorLogging"] = state?.errorLogging;
|
|
296
|
+
resourceInputs["externalVolume"] = state?.externalVolume;
|
|
297
|
+
resourceInputs["foreignKeyConstraints"] = state?.foreignKeyConstraints;
|
|
298
|
+
resourceInputs["fullyQualifiedName"] = state?.fullyQualifiedName;
|
|
299
|
+
resourceInputs["icebergVersion"] = state?.icebergVersion;
|
|
300
|
+
resourceInputs["maxDataExtensionTimeInDays"] = state?.maxDataExtensionTimeInDays;
|
|
301
|
+
resourceInputs["name"] = state?.name;
|
|
302
|
+
resourceInputs["parameters"] = state?.parameters;
|
|
303
|
+
resourceInputs["partitionBies"] = state?.partitionBies;
|
|
304
|
+
resourceInputs["pathLayout"] = state?.pathLayout;
|
|
305
|
+
resourceInputs["primaryKeyConstraint"] = state?.primaryKeyConstraint;
|
|
306
|
+
resourceInputs["rowAccessPolicy"] = state?.rowAccessPolicy;
|
|
307
|
+
resourceInputs["schema"] = state?.schema;
|
|
308
|
+
resourceInputs["showOutputs"] = state?.showOutputs;
|
|
309
|
+
resourceInputs["storageSerializationPolicy"] = state?.storageSerializationPolicy;
|
|
310
|
+
resourceInputs["targetFileSize"] = state?.targetFileSize;
|
|
311
|
+
resourceInputs["uniqueConstraints"] = state?.uniqueConstraints;
|
|
312
|
+
}
|
|
313
|
+
else {
|
|
314
|
+
const args = argsOrState;
|
|
315
|
+
if (args?.columns === undefined && !opts.urn) {
|
|
316
|
+
throw new Error("Missing required property 'columns'");
|
|
317
|
+
}
|
|
318
|
+
if (args?.database === undefined && !opts.urn) {
|
|
319
|
+
throw new Error("Missing required property 'database'");
|
|
320
|
+
}
|
|
321
|
+
if (args?.schema === undefined && !opts.urn) {
|
|
322
|
+
throw new Error("Missing required property 'schema'");
|
|
323
|
+
}
|
|
324
|
+
resourceInputs["aggregationPolicy"] = args?.aggregationPolicy;
|
|
325
|
+
resourceInputs["baseLocation"] = args?.baseLocation;
|
|
326
|
+
resourceInputs["catalog"] = args?.catalog;
|
|
327
|
+
resourceInputs["catalogSync"] = args?.catalogSync;
|
|
328
|
+
resourceInputs["changeTracking"] = args?.changeTracking;
|
|
329
|
+
resourceInputs["checkConstraints"] = args?.checkConstraints;
|
|
330
|
+
resourceInputs["clusterBies"] = args?.clusterBies;
|
|
331
|
+
resourceInputs["columns"] = args?.columns;
|
|
332
|
+
resourceInputs["comment"] = args?.comment;
|
|
333
|
+
resourceInputs["dataRetentionTimeInDays"] = args?.dataRetentionTimeInDays;
|
|
334
|
+
resourceInputs["database"] = args?.database;
|
|
335
|
+
resourceInputs["enableDataCompaction"] = args?.enableDataCompaction;
|
|
336
|
+
resourceInputs["enableIcebergMergeOnRead"] = args?.enableIcebergMergeOnRead;
|
|
337
|
+
resourceInputs["errorLogging"] = args?.errorLogging;
|
|
338
|
+
resourceInputs["externalVolume"] = args?.externalVolume;
|
|
339
|
+
resourceInputs["foreignKeyConstraints"] = args?.foreignKeyConstraints;
|
|
340
|
+
resourceInputs["icebergVersion"] = args?.icebergVersion;
|
|
341
|
+
resourceInputs["maxDataExtensionTimeInDays"] = args?.maxDataExtensionTimeInDays;
|
|
342
|
+
resourceInputs["name"] = args?.name;
|
|
343
|
+
resourceInputs["partitionBies"] = args?.partitionBies;
|
|
344
|
+
resourceInputs["pathLayout"] = args?.pathLayout;
|
|
345
|
+
resourceInputs["primaryKeyConstraint"] = args?.primaryKeyConstraint;
|
|
346
|
+
resourceInputs["rowAccessPolicy"] = args?.rowAccessPolicy;
|
|
347
|
+
resourceInputs["schema"] = args?.schema;
|
|
348
|
+
resourceInputs["storageSerializationPolicy"] = args?.storageSerializationPolicy;
|
|
349
|
+
resourceInputs["targetFileSize"] = args?.targetFileSize;
|
|
350
|
+
resourceInputs["uniqueConstraints"] = args?.uniqueConstraints;
|
|
351
|
+
resourceInputs["describeOutputs"] = undefined /*out*/;
|
|
352
|
+
resourceInputs["fullyQualifiedName"] = undefined /*out*/;
|
|
353
|
+
resourceInputs["parameters"] = undefined /*out*/;
|
|
354
|
+
resourceInputs["showOutputs"] = undefined /*out*/;
|
|
355
|
+
}
|
|
356
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
357
|
+
super(IcebergTable.__pulumiType, name, resourceInputs, opts);
|
|
358
|
+
}
|
|
359
|
+
}
|
|
360
|
+
exports.IcebergTable = IcebergTable;
|
|
361
|
+
//# sourceMappingURL=icebergTable.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"icebergTable.js","sourceRoot":"","sources":["../icebergTable.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AAGzC,uDAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2NG;AACH,MAAa,YAAa,SAAQ,MAAM,CAAC,cAAc;IACnD;;;;;;;;OAQG;IACI,MAAM,CA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SAAS,CAAC,OAAO,CAAC;YACjD,cAAc,CAAC,aAAa,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SACrD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,YAAY,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACjE,CAAC;;AAlPL,oCAmPC"}
|
|
@@ -0,0 +1,237 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as inputs from "./types/input";
|
|
3
|
+
import * as outputs from "./types/output";
|
|
4
|
+
/**
|
|
5
|
+
* > **Caution: Preview Feature** This feature is considered a preview feature in the provider, regardless of the state of the resource in Snowflake. We do not guarantee its stability. It will be reworked and marked as a stable feature in future releases. Breaking changes are expected, even without bumping the major version. To use this feature, add the relevant feature name to `previewFeaturesEnabled` field in the provider configuration. Please always refer to the Getting Help section in our Github repo to best determine how to get help for your questions.
|
|
6
|
+
*
|
|
7
|
+
* > **Note** Due to Snowflake limitations, external changes to the external cloud storage type is not detected.
|
|
8
|
+
*
|
|
9
|
+
* Resource used to manage an Iceberg table whose metadata is managed by an AWS Glue catalog. For more information, check [the official documentation](https://docs.snowflake.com/en/sql-reference/sql/create-iceberg-table-aws-glue).
|
|
10
|
+
*
|
|
11
|
+
* ## Example Usage
|
|
12
|
+
*
|
|
13
|
+
* ```typescript
|
|
14
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
15
|
+
* import * as snowflake from "@pulumi/snowflake";
|
|
16
|
+
*
|
|
17
|
+
* // Basic - only required fields
|
|
18
|
+
* const basic = new snowflake.IcebergTableFromAwsGlue("basic", {
|
|
19
|
+
* database: "DATABASE",
|
|
20
|
+
* schema: "SCHEMA",
|
|
21
|
+
* name: "TABLE",
|
|
22
|
+
* catalogTableName: "my_catalog_table",
|
|
23
|
+
* });
|
|
24
|
+
* // Complete - all fields set
|
|
25
|
+
* const complete = new snowflake.IcebergTableFromAwsGlue("complete", {
|
|
26
|
+
* database: "DATABASE",
|
|
27
|
+
* schema: "SCHEMA",
|
|
28
|
+
* name: "TABLE",
|
|
29
|
+
* externalVolume: "EXTERNAL_VOLUME",
|
|
30
|
+
* catalog: "CATALOG",
|
|
31
|
+
* catalogTableName: "my_catalog_table",
|
|
32
|
+
* catalogNamespace: "my_namespace",
|
|
33
|
+
* replaceInvalidCharacters: true,
|
|
34
|
+
* autoRefresh: "true",
|
|
35
|
+
* comment: "COMMENT",
|
|
36
|
+
* });
|
|
37
|
+
* ```
|
|
38
|
+
*
|
|
39
|
+
* > **Note** Instead of using fully_qualified_name, you can reference objects managed outside Terraform by constructing a correct ID, consult identifiers guide.
|
|
40
|
+
* <!-- TODO(SNOW-1634854): include an example showing both methods-->
|
|
41
|
+
*
|
|
42
|
+
* > **Note** If a field has a default value, it is shown next to the type in the schema.
|
|
43
|
+
*
|
|
44
|
+
* ## Import
|
|
45
|
+
*
|
|
46
|
+
* ```sh
|
|
47
|
+
* $ pulumi import snowflake:index/icebergTableFromAwsGlue:IcebergTableFromAwsGlue example '"<database_name>"."<schema_name>"."<table_name>"'
|
|
48
|
+
* ```
|
|
49
|
+
*/
|
|
50
|
+
export declare class IcebergTableFromAwsGlue extends pulumi.CustomResource {
|
|
51
|
+
/**
|
|
52
|
+
* Get an existing IcebergTableFromAwsGlue resource's state with the given name, ID, and optional extra
|
|
53
|
+
* properties used to qualify the lookup.
|
|
54
|
+
*
|
|
55
|
+
* @param name The _unique_ name of the resulting resource.
|
|
56
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
57
|
+
* @param state Any extra arguments used during the lookup.
|
|
58
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
59
|
+
*/
|
|
60
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: IcebergTableFromAwsGlueState, opts?: pulumi.CustomResourceOptions): IcebergTableFromAwsGlue;
|
|
61
|
+
/**
|
|
62
|
+
* Returns true if the given object is an instance of IcebergTableFromAwsGlue. This is designed to work even
|
|
63
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
64
|
+
*/
|
|
65
|
+
static isInstance(obj: any): obj is IcebergTableFromAwsGlue;
|
|
66
|
+
/**
|
|
67
|
+
* (Default: fallback to Snowflake default - uses special value that cannot be set in the configuration manually (`default`)) Specifies whether Snowflake should periodically refresh the Iceberg table metadata from the AWS Glue catalog. Available options are: "true" or "false". When the value is not set in the configuration the provider will put "default" there which means to use the Snowflake default for this value.
|
|
68
|
+
*/
|
|
69
|
+
readonly autoRefresh: pulumi.Output<string | undefined>;
|
|
70
|
+
/**
|
|
71
|
+
* Specifies the identifier for the catalog integration to use for the Iceberg table. If not specified, the account-level default is used.
|
|
72
|
+
*/
|
|
73
|
+
readonly catalog: pulumi.Output<string>;
|
|
74
|
+
/**
|
|
75
|
+
* Specifies the namespace (or database) in the AWS Glue catalog that the table belongs to. If not specified, the catalog integration's default namespace is used.
|
|
76
|
+
*/
|
|
77
|
+
readonly catalogNamespace: pulumi.Output<string | undefined>;
|
|
78
|
+
/**
|
|
79
|
+
* Specifies the name of the table as it appears in the AWS Glue catalog.
|
|
80
|
+
*/
|
|
81
|
+
readonly catalogTableName: pulumi.Output<string>;
|
|
82
|
+
/**
|
|
83
|
+
* Specifies a comment for the Iceberg table.
|
|
84
|
+
*/
|
|
85
|
+
readonly comment: pulumi.Output<string | undefined>;
|
|
86
|
+
/**
|
|
87
|
+
* The database in which to create the Iceberg table. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
|
|
88
|
+
*/
|
|
89
|
+
readonly database: pulumi.Output<string>;
|
|
90
|
+
/**
|
|
91
|
+
* Outputs the result of `DESCRIBE ICEBERG TABLE` for the given Iceberg table.
|
|
92
|
+
*/
|
|
93
|
+
readonly describeOutputs: pulumi.Output<outputs.IcebergTableFromAwsGlueDescribeOutput[]>;
|
|
94
|
+
/**
|
|
95
|
+
* Specifies the identifier for the external volume where the Iceberg table stores its metadata files and data in Parquet format. If not specified, the account-level default is used.
|
|
96
|
+
*/
|
|
97
|
+
readonly externalVolume: pulumi.Output<string>;
|
|
98
|
+
/**
|
|
99
|
+
* Fully qualified name of the resource. For more information, see [object name resolution](https://docs.snowflake.com/en/sql-reference/name-resolution).
|
|
100
|
+
*/
|
|
101
|
+
readonly fullyQualifiedName: pulumi.Output<string>;
|
|
102
|
+
/**
|
|
103
|
+
* Specifies the identifier for the Iceberg table; must be unique for the schema in which the Iceberg table is created. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
|
|
104
|
+
*/
|
|
105
|
+
readonly name: pulumi.Output<string>;
|
|
106
|
+
/**
|
|
107
|
+
* Outputs the result of `SHOW PARAMETERS IN ICEBERG TABLE` for the given Iceberg table.
|
|
108
|
+
*/
|
|
109
|
+
readonly parameters: pulumi.Output<outputs.IcebergTableFromAwsGlueParameter[]>;
|
|
110
|
+
/**
|
|
111
|
+
* Specifies whether to replace invalid UTF-8 characters with the Unicode replacement character (`�`) in query results for an Iceberg table. For more information, check [REPLACE*INVALID*CHARACTERS docs](https://docs.snowflake.com/en/sql-reference/parameters#replace-invalid-characters).
|
|
112
|
+
*/
|
|
113
|
+
readonly replaceInvalidCharacters: pulumi.Output<boolean>;
|
|
114
|
+
/**
|
|
115
|
+
* The schema in which to create the Iceberg table. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
|
|
116
|
+
*/
|
|
117
|
+
readonly schema: pulumi.Output<string>;
|
|
118
|
+
/**
|
|
119
|
+
* Outputs the result of `SHOW ICEBERG TABLES` for the given Iceberg table. Note that this value will be only recomputed whenever values of fields affecting the output change.
|
|
120
|
+
*/
|
|
121
|
+
readonly showOutputs: pulumi.Output<outputs.IcebergTableFromAwsGlueShowOutput[]>;
|
|
122
|
+
/**
|
|
123
|
+
* Create a IcebergTableFromAwsGlue resource with the given unique name, arguments, and options.
|
|
124
|
+
*
|
|
125
|
+
* @param name The _unique_ name of the resource.
|
|
126
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
127
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
128
|
+
*/
|
|
129
|
+
constructor(name: string, args: IcebergTableFromAwsGlueArgs, opts?: pulumi.CustomResourceOptions);
|
|
130
|
+
}
|
|
131
|
+
/**
|
|
132
|
+
* Input properties used for looking up and filtering IcebergTableFromAwsGlue resources.
|
|
133
|
+
*/
|
|
134
|
+
export interface IcebergTableFromAwsGlueState {
|
|
135
|
+
/**
|
|
136
|
+
* (Default: fallback to Snowflake default - uses special value that cannot be set in the configuration manually (`default`)) Specifies whether Snowflake should periodically refresh the Iceberg table metadata from the AWS Glue catalog. Available options are: "true" or "false". When the value is not set in the configuration the provider will put "default" there which means to use the Snowflake default for this value.
|
|
137
|
+
*/
|
|
138
|
+
autoRefresh?: pulumi.Input<string | undefined>;
|
|
139
|
+
/**
|
|
140
|
+
* Specifies the identifier for the catalog integration to use for the Iceberg table. If not specified, the account-level default is used.
|
|
141
|
+
*/
|
|
142
|
+
catalog?: pulumi.Input<string | undefined>;
|
|
143
|
+
/**
|
|
144
|
+
* Specifies the namespace (or database) in the AWS Glue catalog that the table belongs to. If not specified, the catalog integration's default namespace is used.
|
|
145
|
+
*/
|
|
146
|
+
catalogNamespace?: pulumi.Input<string | undefined>;
|
|
147
|
+
/**
|
|
148
|
+
* Specifies the name of the table as it appears in the AWS Glue catalog.
|
|
149
|
+
*/
|
|
150
|
+
catalogTableName?: pulumi.Input<string | undefined>;
|
|
151
|
+
/**
|
|
152
|
+
* Specifies a comment for the Iceberg table.
|
|
153
|
+
*/
|
|
154
|
+
comment?: pulumi.Input<string | undefined>;
|
|
155
|
+
/**
|
|
156
|
+
* The database in which to create the Iceberg table. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
|
|
157
|
+
*/
|
|
158
|
+
database?: pulumi.Input<string | undefined>;
|
|
159
|
+
/**
|
|
160
|
+
* Outputs the result of `DESCRIBE ICEBERG TABLE` for the given Iceberg table.
|
|
161
|
+
*/
|
|
162
|
+
describeOutputs?: pulumi.Input<pulumi.Input<inputs.IcebergTableFromAwsGlueDescribeOutput>[] | undefined>;
|
|
163
|
+
/**
|
|
164
|
+
* Specifies the identifier for the external volume where the Iceberg table stores its metadata files and data in Parquet format. If not specified, the account-level default is used.
|
|
165
|
+
*/
|
|
166
|
+
externalVolume?: pulumi.Input<string | undefined>;
|
|
167
|
+
/**
|
|
168
|
+
* Fully qualified name of the resource. For more information, see [object name resolution](https://docs.snowflake.com/en/sql-reference/name-resolution).
|
|
169
|
+
*/
|
|
170
|
+
fullyQualifiedName?: pulumi.Input<string | undefined>;
|
|
171
|
+
/**
|
|
172
|
+
* Specifies the identifier for the Iceberg table; must be unique for the schema in which the Iceberg table is created. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
|
|
173
|
+
*/
|
|
174
|
+
name?: pulumi.Input<string | undefined>;
|
|
175
|
+
/**
|
|
176
|
+
* Outputs the result of `SHOW PARAMETERS IN ICEBERG TABLE` for the given Iceberg table.
|
|
177
|
+
*/
|
|
178
|
+
parameters?: pulumi.Input<pulumi.Input<inputs.IcebergTableFromAwsGlueParameter>[] | undefined>;
|
|
179
|
+
/**
|
|
180
|
+
* Specifies whether to replace invalid UTF-8 characters with the Unicode replacement character (`�`) in query results for an Iceberg table. For more information, check [REPLACE*INVALID*CHARACTERS docs](https://docs.snowflake.com/en/sql-reference/parameters#replace-invalid-characters).
|
|
181
|
+
*/
|
|
182
|
+
replaceInvalidCharacters?: pulumi.Input<boolean | undefined>;
|
|
183
|
+
/**
|
|
184
|
+
* The schema in which to create the Iceberg table. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
|
|
185
|
+
*/
|
|
186
|
+
schema?: pulumi.Input<string | undefined>;
|
|
187
|
+
/**
|
|
188
|
+
* Outputs the result of `SHOW ICEBERG TABLES` for the given Iceberg table. Note that this value will be only recomputed whenever values of fields affecting the output change.
|
|
189
|
+
*/
|
|
190
|
+
showOutputs?: pulumi.Input<pulumi.Input<inputs.IcebergTableFromAwsGlueShowOutput>[] | undefined>;
|
|
191
|
+
}
|
|
192
|
+
/**
|
|
193
|
+
* The set of arguments for constructing a IcebergTableFromAwsGlue resource.
|
|
194
|
+
*/
|
|
195
|
+
export interface IcebergTableFromAwsGlueArgs {
|
|
196
|
+
/**
|
|
197
|
+
* (Default: fallback to Snowflake default - uses special value that cannot be set in the configuration manually (`default`)) Specifies whether Snowflake should periodically refresh the Iceberg table metadata from the AWS Glue catalog. Available options are: "true" or "false". When the value is not set in the configuration the provider will put "default" there which means to use the Snowflake default for this value.
|
|
198
|
+
*/
|
|
199
|
+
autoRefresh?: pulumi.Input<string | undefined>;
|
|
200
|
+
/**
|
|
201
|
+
* Specifies the identifier for the catalog integration to use for the Iceberg table. If not specified, the account-level default is used.
|
|
202
|
+
*/
|
|
203
|
+
catalog?: pulumi.Input<string | undefined>;
|
|
204
|
+
/**
|
|
205
|
+
* Specifies the namespace (or database) in the AWS Glue catalog that the table belongs to. If not specified, the catalog integration's default namespace is used.
|
|
206
|
+
*/
|
|
207
|
+
catalogNamespace?: pulumi.Input<string | undefined>;
|
|
208
|
+
/**
|
|
209
|
+
* Specifies the name of the table as it appears in the AWS Glue catalog.
|
|
210
|
+
*/
|
|
211
|
+
catalogTableName: pulumi.Input<string>;
|
|
212
|
+
/**
|
|
213
|
+
* Specifies a comment for the Iceberg table.
|
|
214
|
+
*/
|
|
215
|
+
comment?: pulumi.Input<string | undefined>;
|
|
216
|
+
/**
|
|
217
|
+
* The database in which to create the Iceberg table. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
|
|
218
|
+
*/
|
|
219
|
+
database: pulumi.Input<string>;
|
|
220
|
+
/**
|
|
221
|
+
* Specifies the identifier for the external volume where the Iceberg table stores its metadata files and data in Parquet format. If not specified, the account-level default is used.
|
|
222
|
+
*/
|
|
223
|
+
externalVolume?: pulumi.Input<string | undefined>;
|
|
224
|
+
/**
|
|
225
|
+
* Specifies the identifier for the Iceberg table; must be unique for the schema in which the Iceberg table is created. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
|
|
226
|
+
*/
|
|
227
|
+
name?: pulumi.Input<string | undefined>;
|
|
228
|
+
/**
|
|
229
|
+
* Specifies whether to replace invalid UTF-8 characters with the Unicode replacement character (`�`) in query results for an Iceberg table. For more information, check [REPLACE*INVALID*CHARACTERS docs](https://docs.snowflake.com/en/sql-reference/parameters#replace-invalid-characters).
|
|
230
|
+
*/
|
|
231
|
+
replaceInvalidCharacters?: pulumi.Input<boolean | undefined>;
|
|
232
|
+
/**
|
|
233
|
+
* The schema in which to create the Iceberg table. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
|
|
234
|
+
*/
|
|
235
|
+
schema: pulumi.Input<string>;
|
|
236
|
+
}
|
|
237
|
+
//# sourceMappingURL=icebergTableFromAwsGlue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"icebergTableFromAwsGlue.d.ts","sourceRoot":"","sources":["../icebergTableFromAwsGlue.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AACzC,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,KAAK,OAAO,MAAM,gBAAgB,CAAC;AAG1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6CG;AACH,qBAAa,uBAAwB,SAAQ,MAAM,CAAC,cAAc;IAC9D;;;;;;;;OAQG;WACW,GAAG,CAAC,IAAI,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,EAAE,CAAC,EAAE,KAAK,CAAC,EAAE,4BAA4B,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,qBAAqB,GAAG,uBAAuB;IAOhK;;;OAGG;WACW,UAAU,CAAC,GAAG,EAAE,GAAG,GAAG,GAAG,IAAI,uBAAuB;IAO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