@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
|
@@ -0,0 +1,615 @@
|
|
|
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** 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.
|
|
8
|
+
*
|
|
9
|
+
* > **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.
|
|
10
|
+
*
|
|
11
|
+
* > **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.
|
|
12
|
+
*
|
|
13
|
+
* 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).
|
|
14
|
+
*
|
|
15
|
+
* ## Example Usage
|
|
16
|
+
*
|
|
17
|
+
* ```typescript
|
|
18
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
19
|
+
* import * as snowflake from "@pulumi/snowflake";
|
|
20
|
+
*
|
|
21
|
+
* // Basic - only required fields
|
|
22
|
+
* const basic = new snowflake.IcebergTable("basic", {
|
|
23
|
+
* database: "DATABASE",
|
|
24
|
+
* schema: "SCHEMA",
|
|
25
|
+
* name: "TABLE",
|
|
26
|
+
* columns: [
|
|
27
|
+
* {
|
|
28
|
+
* name: "ID",
|
|
29
|
+
* type: "NUMBER(38,0)",
|
|
30
|
+
* },
|
|
31
|
+
* {
|
|
32
|
+
* name: "NAME",
|
|
33
|
+
* type: "VARCHAR(16777216)",
|
|
34
|
+
* },
|
|
35
|
+
* ],
|
|
36
|
+
* });
|
|
37
|
+
* // Complete - every field set (except cluster_by, which conflicts with partition_by - see below)
|
|
38
|
+
* const complete = new snowflake.IcebergTable("complete", {
|
|
39
|
+
* database: "DATABASE",
|
|
40
|
+
* schema: "SCHEMA",
|
|
41
|
+
* name: "TABLE",
|
|
42
|
+
* comment: "COMMENT",
|
|
43
|
+
* externalVolume: "EXTERNAL_VOLUME",
|
|
44
|
+
* catalog: "SNOWFLAKE",
|
|
45
|
+
* catalogSync: "CATALOG_INTEGRATION",
|
|
46
|
+
* targetFileSize: "64MB",
|
|
47
|
+
* storageSerializationPolicy: "OPTIMIZED",
|
|
48
|
+
* dataRetentionTimeInDays: 5,
|
|
49
|
+
* maxDataExtensionTimeInDays: 10,
|
|
50
|
+
* enableDataCompaction: true,
|
|
51
|
+
* enableIcebergMergeOnRead: true,
|
|
52
|
+
* baseLocation: "iceberg_table",
|
|
53
|
+
* pathLayout: "FLAT",
|
|
54
|
+
* changeTracking: "true",
|
|
55
|
+
* icebergVersion: 2,
|
|
56
|
+
* errorLogging: "true",
|
|
57
|
+
* columns: [
|
|
58
|
+
* {
|
|
59
|
+
* name: "ID",
|
|
60
|
+
* type: "NUMBER(38,0)",
|
|
61
|
+
* notNull: "true",
|
|
62
|
+
* comment: "Primary identifier",
|
|
63
|
+
* },
|
|
64
|
+
* {
|
|
65
|
+
* name: "NAME",
|
|
66
|
+
* type: "VARCHAR(16777216)",
|
|
67
|
+
* comment: "Name of the entity",
|
|
68
|
+
* maskingPolicy: {
|
|
69
|
+
* policyName: "MASKING_POLICY",
|
|
70
|
+
* usings: ["NAME"],
|
|
71
|
+
* },
|
|
72
|
+
* },
|
|
73
|
+
* {
|
|
74
|
+
* name: "REGION",
|
|
75
|
+
* type: "VARCHAR(16777216)",
|
|
76
|
+
* projectionPolicy: {
|
|
77
|
+
* policyName: "PROJECTION_POLICY",
|
|
78
|
+
* },
|
|
79
|
+
* },
|
|
80
|
+
* {
|
|
81
|
+
* name: "STATUS",
|
|
82
|
+
* type: "VARCHAR(16777216)",
|
|
83
|
+
* },
|
|
84
|
+
* {
|
|
85
|
+
* name: "CATEGORY",
|
|
86
|
+
* type: "VARCHAR(16777216)",
|
|
87
|
+
* maskingPolicy: {
|
|
88
|
+
* policyName: "CONDITIONAL_MASKING_POLICY",
|
|
89
|
+
* usings: [
|
|
90
|
+
* "CATEGORY",
|
|
91
|
+
* "STATUS",
|
|
92
|
+
* ],
|
|
93
|
+
* },
|
|
94
|
+
* },
|
|
95
|
+
* {
|
|
96
|
+
* name: "CREATED_AT",
|
|
97
|
+
* type: "TIMESTAMP_NTZ(9)",
|
|
98
|
+
* "default": {
|
|
99
|
+
* expression: "CURRENT_TIMESTAMP()",
|
|
100
|
+
* },
|
|
101
|
+
* },
|
|
102
|
+
* {
|
|
103
|
+
* name: "REF_ID",
|
|
104
|
+
* type: "NUMBER(38,0)",
|
|
105
|
+
* "default": {
|
|
106
|
+
* expression: "2",
|
|
107
|
+
* },
|
|
108
|
+
* },
|
|
109
|
+
* ],
|
|
110
|
+
* primaryKeyConstraint: {
|
|
111
|
+
* name: "PK",
|
|
112
|
+
* columns: ["ID"],
|
|
113
|
+
* enforced: "false",
|
|
114
|
+
* deferrable: "true",
|
|
115
|
+
* initiallyDeferred: "true",
|
|
116
|
+
* enable: "true",
|
|
117
|
+
* validate: "true",
|
|
118
|
+
* rely: "true",
|
|
119
|
+
* comment: "Primary key constraint",
|
|
120
|
+
* },
|
|
121
|
+
* uniqueConstraints: [{
|
|
122
|
+
* name: "NAME_UQ",
|
|
123
|
+
* columns: ["NAME"],
|
|
124
|
+
* enforced: "false",
|
|
125
|
+
* deferrable: "true",
|
|
126
|
+
* initiallyDeferred: "true",
|
|
127
|
+
* enable: "true",
|
|
128
|
+
* validate: "true",
|
|
129
|
+
* rely: "true",
|
|
130
|
+
* comment: "Unique constraint on name",
|
|
131
|
+
* }],
|
|
132
|
+
* foreignKeyConstraints: [{
|
|
133
|
+
* name: "FK",
|
|
134
|
+
* columns: ["REF_ID"],
|
|
135
|
+
* tableName: "OTHER_DATABASE.OTHER_SCHEMA.OTHER_TABLE",
|
|
136
|
+
* refColumns: ["ID"],
|
|
137
|
+
* match: "SIMPLE",
|
|
138
|
+
* onUpdate: "CASCADE",
|
|
139
|
+
* onDelete: "SET NULL",
|
|
140
|
+
* enforced: "false",
|
|
141
|
+
* deferrable: "true",
|
|
142
|
+
* initiallyDeferred: "true",
|
|
143
|
+
* enable: "true",
|
|
144
|
+
* validate: "true",
|
|
145
|
+
* rely: "true",
|
|
146
|
+
* comment: "Foreign key constraint",
|
|
147
|
+
* }],
|
|
148
|
+
* checkConstraints: [{
|
|
149
|
+
* name: "CHK",
|
|
150
|
+
* expression: "ID > 0",
|
|
151
|
+
* validate: "true",
|
|
152
|
+
* }],
|
|
153
|
+
* rowAccessPolicy: {
|
|
154
|
+
* policyName: "ROW_ACCESS_POLICY",
|
|
155
|
+
* ons: ["ID"],
|
|
156
|
+
* },
|
|
157
|
+
* aggregationPolicy: {
|
|
158
|
+
* policyName: "AGGREGATION_POLICY",
|
|
159
|
+
* entityKeys: ["ID"],
|
|
160
|
+
* },
|
|
161
|
+
* partitionBies: [
|
|
162
|
+
* {
|
|
163
|
+
* identity: "REGION",
|
|
164
|
+
* },
|
|
165
|
+
* {
|
|
166
|
+
* bucket: {
|
|
167
|
+
* numBuckets: 4,
|
|
168
|
+
* column: "ID",
|
|
169
|
+
* },
|
|
170
|
+
* },
|
|
171
|
+
* {
|
|
172
|
+
* truncate: {
|
|
173
|
+
* width: 10,
|
|
174
|
+
* column: "NAME",
|
|
175
|
+
* },
|
|
176
|
+
* },
|
|
177
|
+
* {
|
|
178
|
+
* year: "CREATED_AT",
|
|
179
|
+
* },
|
|
180
|
+
* {
|
|
181
|
+
* month: "CREATED_AT",
|
|
182
|
+
* },
|
|
183
|
+
* {
|
|
184
|
+
* day: "CREATED_AT",
|
|
185
|
+
* },
|
|
186
|
+
* {
|
|
187
|
+
* hour: "CREATED_AT",
|
|
188
|
+
* },
|
|
189
|
+
* ],
|
|
190
|
+
* });
|
|
191
|
+
* // cluster_by conflicts with partition_by, so it is shown on a separate resource.
|
|
192
|
+
* const completeWithClusterBy = new snowflake.IcebergTable("complete_with_cluster_by", {
|
|
193
|
+
* database: "DATABASE",
|
|
194
|
+
* schema: "SCHEMA",
|
|
195
|
+
* name: "TABLE",
|
|
196
|
+
* columns: [
|
|
197
|
+
* {
|
|
198
|
+
* name: "ID",
|
|
199
|
+
* type: "NUMBER(38,0)",
|
|
200
|
+
* },
|
|
201
|
+
* {
|
|
202
|
+
* name: "NAME",
|
|
203
|
+
* type: "VARCHAR(16777216)",
|
|
204
|
+
* },
|
|
205
|
+
* ],
|
|
206
|
+
* clusterBies: [
|
|
207
|
+
* "ID",
|
|
208
|
+
* "NAME",
|
|
209
|
+
* ],
|
|
210
|
+
* });
|
|
211
|
+
* ```
|
|
212
|
+
*
|
|
213
|
+
* > **Note** Instead of using fully_qualified_name, you can reference objects managed outside Terraform by constructing a correct ID, consult identifiers guide.
|
|
214
|
+
* <!-- TODO(SNOW-1634854): include an example showing both methods-->
|
|
215
|
+
*
|
|
216
|
+
* > **Note** If a field has a default value, it is shown next to the type in the schema.
|
|
217
|
+
*
|
|
218
|
+
* ## Import
|
|
219
|
+
*
|
|
220
|
+
* ```sh
|
|
221
|
+
* $ pulumi import snowflake:index/icebergTable:IcebergTable example '"<database_name>"."<schema_name>"."<table_name>"'
|
|
222
|
+
* ```
|
|
223
|
+
*/
|
|
224
|
+
export declare class IcebergTable extends pulumi.CustomResource {
|
|
225
|
+
/**
|
|
226
|
+
* Get an existing IcebergTable resource's state with the given name, ID, and optional extra
|
|
227
|
+
* properties used to qualify the lookup.
|
|
228
|
+
*
|
|
229
|
+
* @param name The _unique_ name of the resulting resource.
|
|
230
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
231
|
+
* @param state Any extra arguments used during the lookup.
|
|
232
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
233
|
+
*/
|
|
234
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: IcebergTableState, opts?: pulumi.CustomResourceOptions): IcebergTable;
|
|
235
|
+
/**
|
|
236
|
+
* Returns true if the given object is an instance of IcebergTable. This is designed to work even
|
|
237
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
238
|
+
*/
|
|
239
|
+
static isInstance(obj: any): obj is IcebergTable;
|
|
240
|
+
/**
|
|
241
|
+
* Specifies the aggregation policy to set on a Iceberg table.
|
|
242
|
+
*/
|
|
243
|
+
readonly aggregationPolicy: pulumi.Output<outputs.IcebergTableAggregationPolicy | undefined>;
|
|
244
|
+
/**
|
|
245
|
+
* The path to a directory where Snowflake can write data and metadata files for the Iceberg table. Specify a relative path from the table's `EXTERNAL_VOLUME` location.
|
|
246
|
+
*/
|
|
247
|
+
readonly baseLocation: pulumi.Output<string | undefined>;
|
|
248
|
+
/**
|
|
249
|
+
* Specifies the identifier for the catalog integration to use for the Iceberg table. If not specified, the account-level default is used.
|
|
250
|
+
*/
|
|
251
|
+
readonly catalog: pulumi.Output<string>;
|
|
252
|
+
/**
|
|
253
|
+
* Specifies the name of the catalog integration that Snowflake uses to automatically synchronize the Iceberg table with an external catalog. For more information, check [CATALOG_SYNC docs](https://docs.snowflake.com/en/sql-reference/parameters#catalog-sync).
|
|
254
|
+
*/
|
|
255
|
+
readonly catalogSync: pulumi.Output<string>;
|
|
256
|
+
/**
|
|
257
|
+
* (Default: fallback to Snowflake default - uses special value that cannot be set in the configuration manually (`default`)) Specifies whether to enable change tracking on the Iceberg table. Cannot be changed after creation. 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. External changes for this field won't be detected. In case you want to apply external changes, you can re-create the resource manually using "terraform taint".
|
|
258
|
+
*/
|
|
259
|
+
readonly changeTracking: pulumi.Output<string | undefined>;
|
|
260
|
+
/**
|
|
261
|
+
* Defines a table-level CHECK constraint.
|
|
262
|
+
*/
|
|
263
|
+
readonly checkConstraints: pulumi.Output<outputs.IcebergTableCheckConstraint[] | undefined>;
|
|
264
|
+
/**
|
|
265
|
+
* A list of one or more table columns/expressions to be used as clustering key(s) for the table. External changes for this field won't be detected. In case you want to apply external changes, you can re-create the resource manually using "terraform taint".
|
|
266
|
+
*/
|
|
267
|
+
readonly clusterBies: pulumi.Output<string[] | undefined>;
|
|
268
|
+
/**
|
|
269
|
+
* Definitions of the columns to create in the table. Minimum one required.
|
|
270
|
+
*/
|
|
271
|
+
readonly columns: pulumi.Output<outputs.IcebergTableColumn[]>;
|
|
272
|
+
/**
|
|
273
|
+
* Specifies a comment for the Iceberg table.
|
|
274
|
+
*/
|
|
275
|
+
readonly comment: pulumi.Output<string | undefined>;
|
|
276
|
+
/**
|
|
277
|
+
* Specifies the retention period for the Iceberg table so that Time Travel actions can be performed on historical data. For more information, check [DATA*RETENTION*TIME*IN*DAYS docs](https://docs.snowflake.com/en/sql-reference/parameters#data-retention-time-in-days).
|
|
278
|
+
*/
|
|
279
|
+
readonly dataRetentionTimeInDays: pulumi.Output<number>;
|
|
280
|
+
/**
|
|
281
|
+
* The database in which to create the Iceberg table. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
|
|
282
|
+
*/
|
|
283
|
+
readonly database: pulumi.Output<string>;
|
|
284
|
+
/**
|
|
285
|
+
* Outputs the result of `DESCRIBE ICEBERG TABLE` for the given Iceberg table.
|
|
286
|
+
*/
|
|
287
|
+
readonly describeOutputs: pulumi.Output<outputs.IcebergTableDescribeOutput[]>;
|
|
288
|
+
/**
|
|
289
|
+
* Specifies whether automatic background data compaction is enabled for the Iceberg table. For more information, check [ENABLE*DATA*COMPACTION docs](https://docs.snowflake.com/en/sql-reference/parameters#enable-data-compaction).
|
|
290
|
+
*/
|
|
291
|
+
readonly enableDataCompaction: pulumi.Output<boolean>;
|
|
292
|
+
/**
|
|
293
|
+
* Specifies whether merge-on-read is enabled for the Iceberg table. For more information, check [ENABLE*ICEBERG*MERGE*ON*READ docs](https://docs.snowflake.com/en/sql-reference/parameters#enable-iceberg-merge-on-read).
|
|
294
|
+
*/
|
|
295
|
+
readonly enableIcebergMergeOnRead: pulumi.Output<boolean>;
|
|
296
|
+
/**
|
|
297
|
+
* (Default: fallback to Snowflake default - uses special value that cannot be set in the configuration manually (`default`)) Specifies whether error logging is enabled for the Iceberg table. 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. External changes for this field won't be detected. In case you want to apply external changes, you can re-create the resource manually using "terraform taint".
|
|
298
|
+
*/
|
|
299
|
+
readonly errorLogging: pulumi.Output<string | undefined>;
|
|
300
|
+
/**
|
|
301
|
+
* 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.
|
|
302
|
+
*/
|
|
303
|
+
readonly externalVolume: pulumi.Output<string>;
|
|
304
|
+
/**
|
|
305
|
+
* Defines a table-level FOREIGN KEY constraint.
|
|
306
|
+
*/
|
|
307
|
+
readonly foreignKeyConstraints: pulumi.Output<outputs.IcebergTableForeignKeyConstraint[] | undefined>;
|
|
308
|
+
/**
|
|
309
|
+
* Fully qualified name of the resource. For more information, see [object name resolution](https://docs.snowflake.com/en/sql-reference/name-resolution).
|
|
310
|
+
*/
|
|
311
|
+
readonly fullyQualifiedName: pulumi.Output<string>;
|
|
312
|
+
/**
|
|
313
|
+
* Specifies the Iceberg table format version.
|
|
314
|
+
*/
|
|
315
|
+
readonly icebergVersion: pulumi.Output<number | undefined>;
|
|
316
|
+
/**
|
|
317
|
+
* Specifies the maximum number of days for which Snowflake can extend the data retention period for the Iceberg table to prevent streams on the table from becoming stale. For more information, check [MAX*DATA*EXTENSION*TIME*IN_DAYS docs](https://docs.snowflake.com/en/sql-reference/parameters#max-data-extension-time-in-days).
|
|
318
|
+
*/
|
|
319
|
+
readonly maxDataExtensionTimeInDays: pulumi.Output<number>;
|
|
320
|
+
/**
|
|
321
|
+
* 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: `|`, `.`, `"`.
|
|
322
|
+
*/
|
|
323
|
+
readonly name: pulumi.Output<string>;
|
|
324
|
+
/**
|
|
325
|
+
* Outputs the result of `SHOW PARAMETERS IN ICEBERG TABLE` for the given Iceberg table.
|
|
326
|
+
*/
|
|
327
|
+
readonly parameters: pulumi.Output<outputs.IcebergTableParameter[]>;
|
|
328
|
+
/**
|
|
329
|
+
* Defines the partitioning for the Iceberg table. Cannot be changed after creation. Exactly one of identity, bucket, truncate, year, month, day, or hour must be set for each entry. Cannot be used together with `clusterBy`.
|
|
330
|
+
*/
|
|
331
|
+
readonly partitionBies: pulumi.Output<outputs.IcebergTablePartitionBy[] | undefined>;
|
|
332
|
+
/**
|
|
333
|
+
* Specifies the storage layout for the Iceberg table's Parquet files. Valid values are: [FLAT HIERARCHICAL]. Cannot be changed after creation. External changes for this field won't be detected. In case you want to apply external changes, you can re-create the resource manually using "terraform taint".
|
|
334
|
+
*/
|
|
335
|
+
readonly pathLayout: pulumi.Output<string | undefined>;
|
|
336
|
+
/**
|
|
337
|
+
* Defines a table-level PRIMARY KEY constraint.
|
|
338
|
+
*/
|
|
339
|
+
readonly primaryKeyConstraint: pulumi.Output<outputs.IcebergTablePrimaryKeyConstraint | undefined>;
|
|
340
|
+
/**
|
|
341
|
+
* Specifies the row access policy to set on a Iceberg table.
|
|
342
|
+
*/
|
|
343
|
+
readonly rowAccessPolicy: pulumi.Output<outputs.IcebergTableRowAccessPolicy | undefined>;
|
|
344
|
+
/**
|
|
345
|
+
* The schema in which to create the Iceberg table. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
|
|
346
|
+
*/
|
|
347
|
+
readonly schema: pulumi.Output<string>;
|
|
348
|
+
/**
|
|
349
|
+
* 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.
|
|
350
|
+
*/
|
|
351
|
+
readonly showOutputs: pulumi.Output<outputs.IcebergTableShowOutput[]>;
|
|
352
|
+
/**
|
|
353
|
+
* Specifies the storage serialization policy for the Iceberg table. Valid values are: [COMPATIBLE OPTIMIZED]. Cannot be changed after creation. For more information, check [STORAGE*SERIALIZATION*POLICY docs](https://docs.snowflake.com/en/sql-reference/parameters#storage-serialization-policy).
|
|
354
|
+
*/
|
|
355
|
+
readonly storageSerializationPolicy: pulumi.Output<string>;
|
|
356
|
+
/**
|
|
357
|
+
* Specifies the target file size (in bytes) used when writing the Iceberg table's Parquet files. Valid values are: [AUTO 16MB 32MB 64MB 128MB]. For more information, check [TARGET*FILE*SIZE docs](https://docs.snowflake.com/en/sql-reference/parameters#target-file-size).
|
|
358
|
+
*/
|
|
359
|
+
readonly targetFileSize: pulumi.Output<string>;
|
|
360
|
+
/**
|
|
361
|
+
* Defines a table-level UNIQUE constraint.
|
|
362
|
+
*/
|
|
363
|
+
readonly uniqueConstraints: pulumi.Output<outputs.IcebergTableUniqueConstraint[] | undefined>;
|
|
364
|
+
/**
|
|
365
|
+
* Create a IcebergTable resource with the given unique name, arguments, and options.
|
|
366
|
+
*
|
|
367
|
+
* @param name The _unique_ name of the resource.
|
|
368
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
369
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
370
|
+
*/
|
|
371
|
+
constructor(name: string, args: IcebergTableArgs, opts?: pulumi.CustomResourceOptions);
|
|
372
|
+
}
|
|
373
|
+
/**
|
|
374
|
+
* Input properties used for looking up and filtering IcebergTable resources.
|
|
375
|
+
*/
|
|
376
|
+
export interface IcebergTableState {
|
|
377
|
+
/**
|
|
378
|
+
* Specifies the aggregation policy to set on a Iceberg table.
|
|
379
|
+
*/
|
|
380
|
+
aggregationPolicy?: pulumi.Input<inputs.IcebergTableAggregationPolicy | undefined>;
|
|
381
|
+
/**
|
|
382
|
+
* The path to a directory where Snowflake can write data and metadata files for the Iceberg table. Specify a relative path from the table's `EXTERNAL_VOLUME` location.
|
|
383
|
+
*/
|
|
384
|
+
baseLocation?: pulumi.Input<string | undefined>;
|
|
385
|
+
/**
|
|
386
|
+
* Specifies the identifier for the catalog integration to use for the Iceberg table. If not specified, the account-level default is used.
|
|
387
|
+
*/
|
|
388
|
+
catalog?: pulumi.Input<string | undefined>;
|
|
389
|
+
/**
|
|
390
|
+
* Specifies the name of the catalog integration that Snowflake uses to automatically synchronize the Iceberg table with an external catalog. For more information, check [CATALOG_SYNC docs](https://docs.snowflake.com/en/sql-reference/parameters#catalog-sync).
|
|
391
|
+
*/
|
|
392
|
+
catalogSync?: pulumi.Input<string | undefined>;
|
|
393
|
+
/**
|
|
394
|
+
* (Default: fallback to Snowflake default - uses special value that cannot be set in the configuration manually (`default`)) Specifies whether to enable change tracking on the Iceberg table. Cannot be changed after creation. 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. External changes for this field won't be detected. In case you want to apply external changes, you can re-create the resource manually using "terraform taint".
|
|
395
|
+
*/
|
|
396
|
+
changeTracking?: pulumi.Input<string | undefined>;
|
|
397
|
+
/**
|
|
398
|
+
* Defines a table-level CHECK constraint.
|
|
399
|
+
*/
|
|
400
|
+
checkConstraints?: pulumi.Input<pulumi.Input<inputs.IcebergTableCheckConstraint>[] | undefined>;
|
|
401
|
+
/**
|
|
402
|
+
* A list of one or more table columns/expressions to be used as clustering key(s) for the table. External changes for this field won't be detected. In case you want to apply external changes, you can re-create the resource manually using "terraform taint".
|
|
403
|
+
*/
|
|
404
|
+
clusterBies?: pulumi.Input<pulumi.Input<string>[] | undefined>;
|
|
405
|
+
/**
|
|
406
|
+
* Definitions of the columns to create in the table. Minimum one required.
|
|
407
|
+
*/
|
|
408
|
+
columns?: pulumi.Input<pulumi.Input<inputs.IcebergTableColumn>[] | undefined>;
|
|
409
|
+
/**
|
|
410
|
+
* Specifies a comment for the Iceberg table.
|
|
411
|
+
*/
|
|
412
|
+
comment?: pulumi.Input<string | undefined>;
|
|
413
|
+
/**
|
|
414
|
+
* Specifies the retention period for the Iceberg table so that Time Travel actions can be performed on historical data. For more information, check [DATA*RETENTION*TIME*IN*DAYS docs](https://docs.snowflake.com/en/sql-reference/parameters#data-retention-time-in-days).
|
|
415
|
+
*/
|
|
416
|
+
dataRetentionTimeInDays?: pulumi.Input<number | undefined>;
|
|
417
|
+
/**
|
|
418
|
+
* The database in which to create the Iceberg table. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
|
|
419
|
+
*/
|
|
420
|
+
database?: pulumi.Input<string | undefined>;
|
|
421
|
+
/**
|
|
422
|
+
* Outputs the result of `DESCRIBE ICEBERG TABLE` for the given Iceberg table.
|
|
423
|
+
*/
|
|
424
|
+
describeOutputs?: pulumi.Input<pulumi.Input<inputs.IcebergTableDescribeOutput>[] | undefined>;
|
|
425
|
+
/**
|
|
426
|
+
* Specifies whether automatic background data compaction is enabled for the Iceberg table. For more information, check [ENABLE*DATA*COMPACTION docs](https://docs.snowflake.com/en/sql-reference/parameters#enable-data-compaction).
|
|
427
|
+
*/
|
|
428
|
+
enableDataCompaction?: pulumi.Input<boolean | undefined>;
|
|
429
|
+
/**
|
|
430
|
+
* Specifies whether merge-on-read is enabled for the Iceberg table. For more information, check [ENABLE*ICEBERG*MERGE*ON*READ docs](https://docs.snowflake.com/en/sql-reference/parameters#enable-iceberg-merge-on-read).
|
|
431
|
+
*/
|
|
432
|
+
enableIcebergMergeOnRead?: pulumi.Input<boolean | undefined>;
|
|
433
|
+
/**
|
|
434
|
+
* (Default: fallback to Snowflake default - uses special value that cannot be set in the configuration manually (`default`)) Specifies whether error logging is enabled for the Iceberg table. 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. External changes for this field won't be detected. In case you want to apply external changes, you can re-create the resource manually using "terraform taint".
|
|
435
|
+
*/
|
|
436
|
+
errorLogging?: pulumi.Input<string | undefined>;
|
|
437
|
+
/**
|
|
438
|
+
* 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.
|
|
439
|
+
*/
|
|
440
|
+
externalVolume?: pulumi.Input<string | undefined>;
|
|
441
|
+
/**
|
|
442
|
+
* Defines a table-level FOREIGN KEY constraint.
|
|
443
|
+
*/
|
|
444
|
+
foreignKeyConstraints?: pulumi.Input<pulumi.Input<inputs.IcebergTableForeignKeyConstraint>[] | undefined>;
|
|
445
|
+
/**
|
|
446
|
+
* Fully qualified name of the resource. For more information, see [object name resolution](https://docs.snowflake.com/en/sql-reference/name-resolution).
|
|
447
|
+
*/
|
|
448
|
+
fullyQualifiedName?: pulumi.Input<string | undefined>;
|
|
449
|
+
/**
|
|
450
|
+
* Specifies the Iceberg table format version.
|
|
451
|
+
*/
|
|
452
|
+
icebergVersion?: pulumi.Input<number | undefined>;
|
|
453
|
+
/**
|
|
454
|
+
* Specifies the maximum number of days for which Snowflake can extend the data retention period for the Iceberg table to prevent streams on the table from becoming stale. For more information, check [MAX*DATA*EXTENSION*TIME*IN_DAYS docs](https://docs.snowflake.com/en/sql-reference/parameters#max-data-extension-time-in-days).
|
|
455
|
+
*/
|
|
456
|
+
maxDataExtensionTimeInDays?: pulumi.Input<number | undefined>;
|
|
457
|
+
/**
|
|
458
|
+
* 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: `|`, `.`, `"`.
|
|
459
|
+
*/
|
|
460
|
+
name?: pulumi.Input<string | undefined>;
|
|
461
|
+
/**
|
|
462
|
+
* Outputs the result of `SHOW PARAMETERS IN ICEBERG TABLE` for the given Iceberg table.
|
|
463
|
+
*/
|
|
464
|
+
parameters?: pulumi.Input<pulumi.Input<inputs.IcebergTableParameter>[] | undefined>;
|
|
465
|
+
/**
|
|
466
|
+
* Defines the partitioning for the Iceberg table. Cannot be changed after creation. Exactly one of identity, bucket, truncate, year, month, day, or hour must be set for each entry. Cannot be used together with `clusterBy`.
|
|
467
|
+
*/
|
|
468
|
+
partitionBies?: pulumi.Input<pulumi.Input<inputs.IcebergTablePartitionBy>[] | undefined>;
|
|
469
|
+
/**
|
|
470
|
+
* Specifies the storage layout for the Iceberg table's Parquet files. Valid values are: [FLAT HIERARCHICAL]. Cannot be changed after creation. External changes for this field won't be detected. In case you want to apply external changes, you can re-create the resource manually using "terraform taint".
|
|
471
|
+
*/
|
|
472
|
+
pathLayout?: pulumi.Input<string | undefined>;
|
|
473
|
+
/**
|
|
474
|
+
* Defines a table-level PRIMARY KEY constraint.
|
|
475
|
+
*/
|
|
476
|
+
primaryKeyConstraint?: pulumi.Input<inputs.IcebergTablePrimaryKeyConstraint | undefined>;
|
|
477
|
+
/**
|
|
478
|
+
* Specifies the row access policy to set on a Iceberg table.
|
|
479
|
+
*/
|
|
480
|
+
rowAccessPolicy?: pulumi.Input<inputs.IcebergTableRowAccessPolicy | undefined>;
|
|
481
|
+
/**
|
|
482
|
+
* The schema in which to create the Iceberg table. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
|
|
483
|
+
*/
|
|
484
|
+
schema?: pulumi.Input<string | undefined>;
|
|
485
|
+
/**
|
|
486
|
+
* 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.
|
|
487
|
+
*/
|
|
488
|
+
showOutputs?: pulumi.Input<pulumi.Input<inputs.IcebergTableShowOutput>[] | undefined>;
|
|
489
|
+
/**
|
|
490
|
+
* Specifies the storage serialization policy for the Iceberg table. Valid values are: [COMPATIBLE OPTIMIZED]. Cannot be changed after creation. For more information, check [STORAGE*SERIALIZATION*POLICY docs](https://docs.snowflake.com/en/sql-reference/parameters#storage-serialization-policy).
|
|
491
|
+
*/
|
|
492
|
+
storageSerializationPolicy?: pulumi.Input<string | undefined>;
|
|
493
|
+
/**
|
|
494
|
+
* Specifies the target file size (in bytes) used when writing the Iceberg table's Parquet files. Valid values are: [AUTO 16MB 32MB 64MB 128MB]. For more information, check [TARGET*FILE*SIZE docs](https://docs.snowflake.com/en/sql-reference/parameters#target-file-size).
|
|
495
|
+
*/
|
|
496
|
+
targetFileSize?: pulumi.Input<string | undefined>;
|
|
497
|
+
/**
|
|
498
|
+
* Defines a table-level UNIQUE constraint.
|
|
499
|
+
*/
|
|
500
|
+
uniqueConstraints?: pulumi.Input<pulumi.Input<inputs.IcebergTableUniqueConstraint>[] | undefined>;
|
|
501
|
+
}
|
|
502
|
+
/**
|
|
503
|
+
* The set of arguments for constructing a IcebergTable resource.
|
|
504
|
+
*/
|
|
505
|
+
export interface IcebergTableArgs {
|
|
506
|
+
/**
|
|
507
|
+
* Specifies the aggregation policy to set on a Iceberg table.
|
|
508
|
+
*/
|
|
509
|
+
aggregationPolicy?: pulumi.Input<inputs.IcebergTableAggregationPolicy | undefined>;
|
|
510
|
+
/**
|
|
511
|
+
* The path to a directory where Snowflake can write data and metadata files for the Iceberg table. Specify a relative path from the table's `EXTERNAL_VOLUME` location.
|
|
512
|
+
*/
|
|
513
|
+
baseLocation?: pulumi.Input<string | undefined>;
|
|
514
|
+
/**
|
|
515
|
+
* Specifies the identifier for the catalog integration to use for the Iceberg table. If not specified, the account-level default is used.
|
|
516
|
+
*/
|
|
517
|
+
catalog?: pulumi.Input<string | undefined>;
|
|
518
|
+
/**
|
|
519
|
+
* Specifies the name of the catalog integration that Snowflake uses to automatically synchronize the Iceberg table with an external catalog. For more information, check [CATALOG_SYNC docs](https://docs.snowflake.com/en/sql-reference/parameters#catalog-sync).
|
|
520
|
+
*/
|
|
521
|
+
catalogSync?: pulumi.Input<string | undefined>;
|
|
522
|
+
/**
|
|
523
|
+
* (Default: fallback to Snowflake default - uses special value that cannot be set in the configuration manually (`default`)) Specifies whether to enable change tracking on the Iceberg table. Cannot be changed after creation. 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. External changes for this field won't be detected. In case you want to apply external changes, you can re-create the resource manually using "terraform taint".
|
|
524
|
+
*/
|
|
525
|
+
changeTracking?: pulumi.Input<string | undefined>;
|
|
526
|
+
/**
|
|
527
|
+
* Defines a table-level CHECK constraint.
|
|
528
|
+
*/
|
|
529
|
+
checkConstraints?: pulumi.Input<pulumi.Input<inputs.IcebergTableCheckConstraint>[] | undefined>;
|
|
530
|
+
/**
|
|
531
|
+
* A list of one or more table columns/expressions to be used as clustering key(s) for the table. External changes for this field won't be detected. In case you want to apply external changes, you can re-create the resource manually using "terraform taint".
|
|
532
|
+
*/
|
|
533
|
+
clusterBies?: pulumi.Input<pulumi.Input<string>[] | undefined>;
|
|
534
|
+
/**
|
|
535
|
+
* Definitions of the columns to create in the table. Minimum one required.
|
|
536
|
+
*/
|
|
537
|
+
columns: pulumi.Input<pulumi.Input<inputs.IcebergTableColumn>[]>;
|
|
538
|
+
/**
|
|
539
|
+
* Specifies a comment for the Iceberg table.
|
|
540
|
+
*/
|
|
541
|
+
comment?: pulumi.Input<string | undefined>;
|
|
542
|
+
/**
|
|
543
|
+
* Specifies the retention period for the Iceberg table so that Time Travel actions can be performed on historical data. For more information, check [DATA*RETENTION*TIME*IN*DAYS docs](https://docs.snowflake.com/en/sql-reference/parameters#data-retention-time-in-days).
|
|
544
|
+
*/
|
|
545
|
+
dataRetentionTimeInDays?: pulumi.Input<number | undefined>;
|
|
546
|
+
/**
|
|
547
|
+
* The database in which to create the Iceberg table. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
|
|
548
|
+
*/
|
|
549
|
+
database: pulumi.Input<string>;
|
|
550
|
+
/**
|
|
551
|
+
* Specifies whether automatic background data compaction is enabled for the Iceberg table. For more information, check [ENABLE*DATA*COMPACTION docs](https://docs.snowflake.com/en/sql-reference/parameters#enable-data-compaction).
|
|
552
|
+
*/
|
|
553
|
+
enableDataCompaction?: pulumi.Input<boolean | undefined>;
|
|
554
|
+
/**
|
|
555
|
+
* Specifies whether merge-on-read is enabled for the Iceberg table. For more information, check [ENABLE*ICEBERG*MERGE*ON*READ docs](https://docs.snowflake.com/en/sql-reference/parameters#enable-iceberg-merge-on-read).
|
|
556
|
+
*/
|
|
557
|
+
enableIcebergMergeOnRead?: pulumi.Input<boolean | undefined>;
|
|
558
|
+
/**
|
|
559
|
+
* (Default: fallback to Snowflake default - uses special value that cannot be set in the configuration manually (`default`)) Specifies whether error logging is enabled for the Iceberg table. 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. External changes for this field won't be detected. In case you want to apply external changes, you can re-create the resource manually using "terraform taint".
|
|
560
|
+
*/
|
|
561
|
+
errorLogging?: pulumi.Input<string | undefined>;
|
|
562
|
+
/**
|
|
563
|
+
* 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.
|
|
564
|
+
*/
|
|
565
|
+
externalVolume?: pulumi.Input<string | undefined>;
|
|
566
|
+
/**
|
|
567
|
+
* Defines a table-level FOREIGN KEY constraint.
|
|
568
|
+
*/
|
|
569
|
+
foreignKeyConstraints?: pulumi.Input<pulumi.Input<inputs.IcebergTableForeignKeyConstraint>[] | undefined>;
|
|
570
|
+
/**
|
|
571
|
+
* Specifies the Iceberg table format version.
|
|
572
|
+
*/
|
|
573
|
+
icebergVersion?: pulumi.Input<number | undefined>;
|
|
574
|
+
/**
|
|
575
|
+
* Specifies the maximum number of days for which Snowflake can extend the data retention period for the Iceberg table to prevent streams on the table from becoming stale. For more information, check [MAX*DATA*EXTENSION*TIME*IN_DAYS docs](https://docs.snowflake.com/en/sql-reference/parameters#max-data-extension-time-in-days).
|
|
576
|
+
*/
|
|
577
|
+
maxDataExtensionTimeInDays?: pulumi.Input<number | undefined>;
|
|
578
|
+
/**
|
|
579
|
+
* 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: `|`, `.`, `"`.
|
|
580
|
+
*/
|
|
581
|
+
name?: pulumi.Input<string | undefined>;
|
|
582
|
+
/**
|
|
583
|
+
* Defines the partitioning for the Iceberg table. Cannot be changed after creation. Exactly one of identity, bucket, truncate, year, month, day, or hour must be set for each entry. Cannot be used together with `clusterBy`.
|
|
584
|
+
*/
|
|
585
|
+
partitionBies?: pulumi.Input<pulumi.Input<inputs.IcebergTablePartitionBy>[] | undefined>;
|
|
586
|
+
/**
|
|
587
|
+
* Specifies the storage layout for the Iceberg table's Parquet files. Valid values are: [FLAT HIERARCHICAL]. Cannot be changed after creation. External changes for this field won't be detected. In case you want to apply external changes, you can re-create the resource manually using "terraform taint".
|
|
588
|
+
*/
|
|
589
|
+
pathLayout?: pulumi.Input<string | undefined>;
|
|
590
|
+
/**
|
|
591
|
+
* Defines a table-level PRIMARY KEY constraint.
|
|
592
|
+
*/
|
|
593
|
+
primaryKeyConstraint?: pulumi.Input<inputs.IcebergTablePrimaryKeyConstraint | undefined>;
|
|
594
|
+
/**
|
|
595
|
+
* Specifies the row access policy to set on a Iceberg table.
|
|
596
|
+
*/
|
|
597
|
+
rowAccessPolicy?: pulumi.Input<inputs.IcebergTableRowAccessPolicy | undefined>;
|
|
598
|
+
/**
|
|
599
|
+
* The schema in which to create the Iceberg table. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
|
|
600
|
+
*/
|
|
601
|
+
schema: pulumi.Input<string>;
|
|
602
|
+
/**
|
|
603
|
+
* Specifies the storage serialization policy for the Iceberg table. Valid values are: [COMPATIBLE OPTIMIZED]. Cannot be changed after creation. For more information, check [STORAGE*SERIALIZATION*POLICY docs](https://docs.snowflake.com/en/sql-reference/parameters#storage-serialization-policy).
|
|
604
|
+
*/
|
|
605
|
+
storageSerializationPolicy?: pulumi.Input<string | undefined>;
|
|
606
|
+
/**
|
|
607
|
+
* Specifies the target file size (in bytes) used when writing the Iceberg table's Parquet files. Valid values are: [AUTO 16MB 32MB 64MB 128MB]. For more information, check [TARGET*FILE*SIZE docs](https://docs.snowflake.com/en/sql-reference/parameters#target-file-size).
|
|
608
|
+
*/
|
|
609
|
+
targetFileSize?: pulumi.Input<string | undefined>;
|
|
610
|
+
/**
|
|
611
|
+
* Defines a table-level UNIQUE constraint.
|
|
612
|
+
*/
|
|
613
|
+
uniqueConstraints?: pulumi.Input<pulumi.Input<inputs.IcebergTableUniqueConstraint>[] | undefined>;
|
|
614
|
+
}
|
|
615
|
+
//# sourceMappingURL=icebergTable.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"icebergTable.d.ts","sourceRoot":"","sources":["../icebergTable.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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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