pulumi-snowflake 0.50.3a1710160126__py3-none-any.whl → 1.2.0a1736835738__py3-none-any.whl
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.
Potentially problematic release.
This version of pulumi-snowflake might be problematic. Click here for more details.
- pulumi_snowflake/__init__.py +224 -172
- pulumi_snowflake/_inputs.py +52857 -1665
- pulumi_snowflake/_utilities.py +41 -5
- pulumi_snowflake/account.py +188 -218
- pulumi_snowflake/account_authentication_policy_attachment.py +149 -0
- pulumi_snowflake/account_parameter.py +21 -48
- pulumi_snowflake/account_password_policy_attachment.py +7 -32
- pulumi_snowflake/account_role.py +250 -0
- pulumi_snowflake/alert.py +38 -47
- pulumi_snowflake/api_authentication_integration_with_authorization_code_grant.py +704 -0
- pulumi_snowflake/api_authentication_integration_with_client_credentials.py +657 -0
- pulumi_snowflake/api_authentication_integration_with_jwt_bearer.py +692 -0
- pulumi_snowflake/api_integration.py +33 -52
- pulumi_snowflake/authentication_policy.py +622 -0
- pulumi_snowflake/config/__init__.pyi +76 -99
- pulumi_snowflake/config/outputs.py +5 -0
- pulumi_snowflake/config/vars.py +93 -124
- pulumi_snowflake/cortex_search_service.py +596 -0
- pulumi_snowflake/database.py +819 -213
- pulumi_snowflake/database_role.py +81 -44
- pulumi_snowflake/dynamic_table.py +42 -49
- pulumi_snowflake/email_notification_integration.py +33 -28
- pulumi_snowflake/{unsafe_execute.py → execute.py} +36 -39
- pulumi_snowflake/external_function.py +54 -75
- pulumi_snowflake/external_oauth_integration.py +593 -542
- pulumi_snowflake/external_table.py +67 -90
- pulumi_snowflake/external_volume.py +382 -0
- pulumi_snowflake/failover_group.py +57 -98
- pulumi_snowflake/file_format.py +33 -28
- pulumi_snowflake/function_java.py +1211 -0
- pulumi_snowflake/function_javascript.py +882 -0
- pulumi_snowflake/function_python.py +1212 -0
- pulumi_snowflake/function_scala.py +1212 -0
- pulumi_snowflake/function_sql.py +835 -0
- pulumi_snowflake/get_account_roles.py +129 -0
- pulumi_snowflake/get_accounts.py +53 -22
- pulumi_snowflake/get_alerts.py +22 -9
- pulumi_snowflake/get_connections.py +109 -0
- pulumi_snowflake/get_cortex_search_services.py +216 -0
- pulumi_snowflake/get_current_account.py +24 -13
- pulumi_snowflake/get_current_role.py +14 -7
- pulumi_snowflake/get_database.py +25 -9
- pulumi_snowflake/get_database_role.py +162 -0
- pulumi_snowflake/get_database_roles.py +79 -47
- pulumi_snowflake/get_databases.py +91 -73
- pulumi_snowflake/get_dynamic_tables.py +36 -19
- pulumi_snowflake/get_external_functions.py +28 -9
- pulumi_snowflake/get_external_tables.py +28 -9
- pulumi_snowflake/get_failover_groups.py +18 -7
- pulumi_snowflake/get_file_formats.py +28 -9
- pulumi_snowflake/get_functions.py +28 -9
- pulumi_snowflake/get_grants.py +207 -84
- pulumi_snowflake/get_masking_policies.py +91 -51
- pulumi_snowflake/get_materialized_views.py +28 -9
- pulumi_snowflake/get_network_policies.py +129 -0
- pulumi_snowflake/get_parameters.py +38 -15
- pulumi_snowflake/get_pipes.py +28 -9
- pulumi_snowflake/get_procedures.py +28 -9
- pulumi_snowflake/get_resource_monitors.py +37 -24
- pulumi_snowflake/get_row_access_policies.py +91 -51
- pulumi_snowflake/get_schemas.py +145 -41
- pulumi_snowflake/get_secrets.py +200 -0
- pulumi_snowflake/get_security_integrations.py +129 -0
- pulumi_snowflake/get_sequences.py +28 -9
- pulumi_snowflake/get_shares.py +18 -9
- pulumi_snowflake/get_stages.py +28 -9
- pulumi_snowflake/get_storage_integrations.py +16 -9
- pulumi_snowflake/get_streamlits.py +170 -0
- pulumi_snowflake/get_streams.py +114 -54
- pulumi_snowflake/get_system_generate_scim_access_token.py +18 -9
- pulumi_snowflake/get_system_get_aws_sns_iam_policy.py +32 -7
- pulumi_snowflake/get_system_get_private_link_config.py +120 -5
- pulumi_snowflake/get_system_get_snowflake_platform_info.py +15 -7
- pulumi_snowflake/get_tables.py +28 -9
- pulumi_snowflake/get_tags.py +130 -0
- pulumi_snowflake/get_tasks.py +134 -54
- pulumi_snowflake/get_users.py +116 -44
- pulumi_snowflake/get_views.py +114 -54
- pulumi_snowflake/get_warehouses.py +79 -26
- pulumi_snowflake/grant_account_role.py +28 -75
- pulumi_snowflake/grant_application_role.py +257 -0
- pulumi_snowflake/grant_database_role.py +35 -94
- pulumi_snowflake/grant_ownership.py +382 -0
- pulumi_snowflake/grant_privileges_to_account_role.py +42 -78
- pulumi_snowflake/grant_privileges_to_database_role.py +37 -383
- pulumi_snowflake/grant_privileges_to_share.py +96 -44
- pulumi_snowflake/legacy_service_user.py +3670 -0
- pulumi_snowflake/managed_account.py +40 -11
- pulumi_snowflake/masking_policy.py +213 -310
- pulumi_snowflake/materialized_view.py +62 -71
- pulumi_snowflake/network_policy.py +217 -61
- pulumi_snowflake/network_policy_attachment.py +5 -34
- pulumi_snowflake/network_rule.py +473 -0
- pulumi_snowflake/notification_integration.py +49 -84
- pulumi_snowflake/oauth_integration_for_custom_clients.py +906 -0
- pulumi_snowflake/{oauth_integration.py → oauth_integration_for_partner_applications.py} +191 -192
- pulumi_snowflake/object_parameter.py +10 -101
- pulumi_snowflake/outputs.py +49200 -2928
- pulumi_snowflake/password_policy.py +41 -28
- pulumi_snowflake/pipe.py +33 -4
- pulumi_snowflake/primary_connection.py +330 -0
- pulumi_snowflake/procedure_java.py +1273 -0
- pulumi_snowflake/procedure_javascript.py +895 -0
- pulumi_snowflake/procedure_python.py +1226 -0
- pulumi_snowflake/procedure_scala.py +1273 -0
- pulumi_snowflake/procedure_sql.py +895 -0
- pulumi_snowflake/provider.py +378 -613
- pulumi_snowflake/pulumi-plugin.json +2 -1
- pulumi_snowflake/resource_monitor.py +118 -327
- pulumi_snowflake/row_access_policy.py +200 -149
- pulumi_snowflake/{saml_integration.py → saml2_integration.py} +356 -299
- pulumi_snowflake/schema.py +949 -178
- pulumi_snowflake/scim_integration.py +286 -109
- pulumi_snowflake/secondary_connection.py +339 -0
- pulumi_snowflake/secondary_database.py +1080 -0
- pulumi_snowflake/secret_with_authorization_code_grant.py +548 -0
- pulumi_snowflake/secret_with_basic_authentication.py +500 -0
- pulumi_snowflake/secret_with_client_credentials.py +511 -0
- pulumi_snowflake/secret_with_generic_string.py +452 -0
- pulumi_snowflake/sequence.py +9 -34
- pulumi_snowflake/service_user.py +3585 -0
- pulumi_snowflake/share.py +33 -28
- pulumi_snowflake/shared_database.py +939 -0
- pulumi_snowflake/stage.py +95 -84
- pulumi_snowflake/storage_integration.py +46 -4
- pulumi_snowflake/stream_on_directory_table.py +517 -0
- pulumi_snowflake/stream_on_external_table.py +632 -0
- pulumi_snowflake/stream_on_table.py +666 -0
- pulumi_snowflake/stream_on_view.py +666 -0
- pulumi_snowflake/streamlit.py +671 -0
- pulumi_snowflake/table.py +86 -97
- pulumi_snowflake/table_column_masking_policy_application.py +7 -14
- pulumi_snowflake/table_constraint.py +29 -172
- pulumi_snowflake/tag.py +142 -74
- pulumi_snowflake/tag_association.py +40 -215
- pulumi_snowflake/task.py +3048 -418
- pulumi_snowflake/user.py +3351 -384
- pulumi_snowflake/user_authentication_policy_attachment.py +197 -0
- pulumi_snowflake/user_password_policy_attachment.py +5 -4
- pulumi_snowflake/user_public_keys.py +5 -0
- pulumi_snowflake/view.py +466 -215
- pulumi_snowflake/warehouse.py +184 -168
- {pulumi_snowflake-0.50.3a1710160126.dist-info → pulumi_snowflake-1.2.0a1736835738.dist-info}/METADATA +7 -6
- pulumi_snowflake-1.2.0a1736835738.dist-info/RECORD +148 -0
- {pulumi_snowflake-0.50.3a1710160126.dist-info → pulumi_snowflake-1.2.0a1736835738.dist-info}/WHEEL +1 -1
- pulumi_snowflake/account_grant.py +0 -343
- pulumi_snowflake/database_grant.py +0 -495
- pulumi_snowflake/external_table_grant.py +0 -690
- pulumi_snowflake/failover_group_grant.py +0 -388
- pulumi_snowflake/file_format_grant.py +0 -635
- pulumi_snowflake/function.py +0 -872
- pulumi_snowflake/function_grant.py +0 -745
- pulumi_snowflake/get_role.py +0 -121
- pulumi_snowflake/get_roles.py +0 -120
- pulumi_snowflake/grant_privileges_to_role.py +0 -825
- pulumi_snowflake/integration_grant.py +0 -440
- pulumi_snowflake/masking_policy_grant.py +0 -542
- pulumi_snowflake/materialized_view_grant.py +0 -689
- pulumi_snowflake/pipe_grant.py +0 -587
- pulumi_snowflake/procedure.py +0 -887
- pulumi_snowflake/procedure_grant.py +0 -745
- pulumi_snowflake/resource_monitor_grant.py +0 -387
- pulumi_snowflake/role.py +0 -273
- pulumi_snowflake/role_grants.py +0 -352
- pulumi_snowflake/role_ownership_grant.py +0 -338
- pulumi_snowflake/row_access_policy_grant.py +0 -540
- pulumi_snowflake/schema_grant.py +0 -647
- pulumi_snowflake/sequence_grant.py +0 -635
- pulumi_snowflake/session_parameter.py +0 -332
- pulumi_snowflake/stage_grant.py +0 -635
- pulumi_snowflake/stream.py +0 -614
- pulumi_snowflake/stream_grant.py +0 -635
- pulumi_snowflake/table_grant.py +0 -677
- pulumi_snowflake/tag_grant.py +0 -532
- pulumi_snowflake/tag_masking_policy_association.py +0 -210
- pulumi_snowflake/task_grant.py +0 -635
- pulumi_snowflake/user_grant.py +0 -394
- pulumi_snowflake/user_ownership_grant.py +0 -286
- pulumi_snowflake/view_grant.py +0 -705
- pulumi_snowflake/warehouse_grant.py +0 -440
- pulumi_snowflake-0.50.3a1710160126.dist-info/RECORD +0 -136
- {pulumi_snowflake-0.50.3a1710160126.dist-info → pulumi_snowflake-1.2.0a1736835738.dist-info}/top_level.txt +0 -0
|
@@ -4,30 +4,29 @@
|
|
|
4
4
|
|
|
5
5
|
import copy
|
|
6
6
|
import warnings
|
|
7
|
+
import sys
|
|
7
8
|
import pulumi
|
|
8
9
|
import pulumi.runtime
|
|
9
10
|
from typing import Any, Mapping, Optional, Sequence, Union, overload
|
|
11
|
+
if sys.version_info >= (3, 11):
|
|
12
|
+
from typing import NotRequired, TypedDict, TypeAlias
|
|
13
|
+
else:
|
|
14
|
+
from typing_extensions import NotRequired, TypedDict, TypeAlias
|
|
10
15
|
from .. import _utilities
|
|
11
16
|
from . import outputs
|
|
12
17
|
|
|
13
|
-
|
|
18
|
+
accountName: Optional[str]
|
|
14
19
|
"""
|
|
15
|
-
Specifies your Snowflake account
|
|
16
|
-
[Snowflake documentation](https://docs.snowflake.com/en/user-guide/admin-account-identifier
|
|
17
|
-
from the `
|
|
20
|
+
Specifies your Snowflake account name assigned by Snowflake. For information about account identifiers, see the
|
|
21
|
+
[Snowflake documentation](https://docs.snowflake.com/en/user-guide/admin-account-identifier#account-name). Required
|
|
22
|
+
unless using `profile`. Can also be sourced from the `SNOWFLAKE_ACCOUNT_NAME` environment variable.
|
|
18
23
|
"""
|
|
19
24
|
|
|
20
25
|
authenticator: Optional[str]
|
|
21
26
|
"""
|
|
22
27
|
Specifies the [authentication type](https://pkg.go.dev/github.com/snowflakedb/gosnowflake#AuthType) to use when
|
|
23
|
-
connecting to Snowflake. Valid
|
|
24
|
-
|
|
25
|
-
explicitly to JWT for private key authentication.
|
|
26
|
-
"""
|
|
27
|
-
|
|
28
|
-
browserAuth: Optional[bool]
|
|
29
|
-
"""
|
|
30
|
-
Required when `oauth_refresh_token` is used. Can also be sourced from `SNOWFLAKE_USE_BROWSER_AUTH` environment variable.
|
|
28
|
+
connecting to Snowflake. Valid options are: `SNOWFLAKE` | `OAUTH` | `EXTERNALBROWSER` | `OKTA` | `SNOWFLAKE_JWT` |
|
|
29
|
+
`TOKENACCESSOR` | `USERNAMEPASSWORDMFA`. Can also be sourced from the `SNOWFLAKE_AUTHENTICATOR` environment variable.
|
|
31
30
|
"""
|
|
32
31
|
|
|
33
32
|
clientIp: Optional[str]
|
|
@@ -35,13 +34,13 @@ clientIp: Optional[str]
|
|
|
35
34
|
IP address for network checks. Can also be sourced from the `SNOWFLAKE_CLIENT_IP` environment variable.
|
|
36
35
|
"""
|
|
37
36
|
|
|
38
|
-
clientRequestMfaToken: Optional[
|
|
37
|
+
clientRequestMfaToken: Optional[str]
|
|
39
38
|
"""
|
|
40
39
|
When true the MFA token is cached in the credential manager. True by default in Windows/OSX. False for Linux. Can also
|
|
41
40
|
be sourced from the `SNOWFLAKE_CLIENT_REQUEST_MFA_TOKEN` environment variable.
|
|
42
41
|
"""
|
|
43
42
|
|
|
44
|
-
clientStoreTemporaryCredential: Optional[
|
|
43
|
+
clientStoreTemporaryCredential: Optional[str]
|
|
45
44
|
"""
|
|
46
45
|
When true the ID token is cached in the credential manager. True by default in Windows/OSX. False for Linux. Can also be
|
|
47
46
|
sourced from the `SNOWFLAKE_CLIENT_STORE_TEMPORARY_CREDENTIAL` environment variable.
|
|
@@ -49,31 +48,49 @@ sourced from the `SNOWFLAKE_CLIENT_STORE_TEMPORARY_CREDENTIAL` environment varia
|
|
|
49
48
|
|
|
50
49
|
clientTimeout: Optional[int]
|
|
51
50
|
"""
|
|
52
|
-
The timeout in seconds for the client to complete the authentication.
|
|
53
|
-
|
|
51
|
+
The timeout in seconds for the client to complete the authentication. Can also be sourced from the
|
|
52
|
+
`SNOWFLAKE_CLIENT_TIMEOUT` environment variable.
|
|
53
|
+
"""
|
|
54
|
+
|
|
55
|
+
disableConsoleLogin: Optional[str]
|
|
56
|
+
"""
|
|
57
|
+
Indicates whether console login should be disabled in the driver. Can also be sourced from the
|
|
58
|
+
`SNOWFLAKE_DISABLE_CONSOLE_LOGIN` environment variable.
|
|
54
59
|
"""
|
|
55
60
|
|
|
56
61
|
disableQueryContextCache: Optional[bool]
|
|
57
62
|
"""
|
|
58
|
-
|
|
63
|
+
Disables HTAP query context cache in the driver. Can also be sourced from the `SNOWFLAKE_DISABLE_QUERY_CONTEXT_CACHE`
|
|
59
64
|
environment variable.
|
|
60
65
|
"""
|
|
61
66
|
|
|
62
67
|
disableTelemetry: Optional[bool]
|
|
63
68
|
"""
|
|
64
|
-
|
|
69
|
+
Disables telemetry in the driver. Can also be sourced from the `DISABLE_TELEMETRY` environment variable.
|
|
70
|
+
"""
|
|
71
|
+
|
|
72
|
+
driverTracing: Optional[str]
|
|
73
|
+
"""
|
|
74
|
+
Specifies the logging level to be used by the driver. Valid options are: `trace` | `debug` | `info` | `print` |
|
|
75
|
+
`warning` | `error` | `fatal` | `panic`. Can also be sourced from the `SNOWFLAKE_DRIVER_TRACING` environment variable.
|
|
65
76
|
"""
|
|
66
77
|
|
|
67
78
|
externalBrowserTimeout: Optional[int]
|
|
68
79
|
"""
|
|
69
|
-
The timeout in seconds for the external browser to complete the authentication.
|
|
70
|
-
|
|
80
|
+
The timeout in seconds for the external browser to complete the authentication. Can also be sourced from the
|
|
81
|
+
`SNOWFLAKE_EXTERNAL_BROWSER_TIMEOUT` environment variable.
|
|
71
82
|
"""
|
|
72
83
|
|
|
73
84
|
host: Optional[str]
|
|
74
85
|
"""
|
|
75
|
-
|
|
76
|
-
|
|
86
|
+
Specifies a custom host value used by the driver for privatelink connections. Can also be sourced from the
|
|
87
|
+
`SNOWFLAKE_HOST` environment variable.
|
|
88
|
+
"""
|
|
89
|
+
|
|
90
|
+
includeRetryReason: Optional[str]
|
|
91
|
+
"""
|
|
92
|
+
Should retried request contain retry reason. Can also be sourced from the `SNOWFLAKE_INCLUDE_RETRY_REASON` environment
|
|
93
|
+
variable.
|
|
77
94
|
"""
|
|
78
95
|
|
|
79
96
|
insecureMode: Optional[bool]
|
|
@@ -85,8 +102,8 @@ environment variable.
|
|
|
85
102
|
|
|
86
103
|
jwtClientTimeout: Optional[int]
|
|
87
104
|
"""
|
|
88
|
-
The timeout in seconds for the JWT client to complete the authentication.
|
|
89
|
-
|
|
105
|
+
The timeout in seconds for the JWT client to complete the authentication. Can also be sourced from the
|
|
106
|
+
`SNOWFLAKE_JWT_CLIENT_TIMEOUT` environment variable.
|
|
90
107
|
"""
|
|
91
108
|
|
|
92
109
|
jwtExpireTimeout: Optional[int]
|
|
@@ -102,48 +119,17 @@ Enables the session to persist even after the connection is closed. Can also be
|
|
|
102
119
|
|
|
103
120
|
loginTimeout: Optional[int]
|
|
104
121
|
"""
|
|
105
|
-
Login retry timeout EXCLUDING network roundtrip and read out http response. Can also be sourced from the
|
|
122
|
+
Login retry timeout in seconds EXCLUDING network roundtrip and read out http response. Can also be sourced from the
|
|
106
123
|
`SNOWFLAKE_LOGIN_TIMEOUT` environment variable.
|
|
107
124
|
"""
|
|
108
125
|
|
|
109
|
-
|
|
110
|
-
"""
|
|
111
|
-
Token for use with OAuth. Generating the token is left to other tools. Cannot be used with `browser_auth`,
|
|
112
|
-
`private_key_path`, `oauth_refresh_token` or `password`. Can also be sourced from `SNOWFLAKE_OAUTH_ACCESS_TOKEN`
|
|
113
|
-
environment variable.
|
|
114
|
-
"""
|
|
115
|
-
|
|
116
|
-
oauthClientId: Optional[str]
|
|
117
|
-
"""
|
|
118
|
-
Required when `oauth_refresh_token` is used. Can also be sourced from `SNOWFLAKE_OAUTH_CLIENT_ID` environment variable.
|
|
119
|
-
"""
|
|
120
|
-
|
|
121
|
-
oauthClientSecret: Optional[str]
|
|
122
|
-
"""
|
|
123
|
-
Required when `oauth_refresh_token` is used. Can also be sourced from `SNOWFLAKE_OAUTH_CLIENT_SECRET` environment
|
|
124
|
-
variable.
|
|
125
|
-
"""
|
|
126
|
-
|
|
127
|
-
oauthEndpoint: Optional[str]
|
|
128
|
-
"""
|
|
129
|
-
Required when `oauth_refresh_token` is used. Can also be sourced from `SNOWFLAKE_OAUTH_ENDPOINT` environment variable.
|
|
130
|
-
"""
|
|
131
|
-
|
|
132
|
-
oauthRedirectUrl: Optional[str]
|
|
133
|
-
"""
|
|
134
|
-
Required when `oauth_refresh_token` is used. Can also be sourced from `SNOWFLAKE_OAUTH_REDIRECT_URL` environment
|
|
135
|
-
variable.
|
|
136
|
-
"""
|
|
137
|
-
|
|
138
|
-
oauthRefreshToken: Optional[str]
|
|
126
|
+
maxRetryCount: Optional[int]
|
|
139
127
|
"""
|
|
140
|
-
|
|
141
|
-
`
|
|
142
|
-
`private_key_path`, `oauth_access_token` or `password`. Can also be sourced from `SNOWFLAKE_OAUTH_REFRESH_TOKEN`
|
|
143
|
-
environment variable.
|
|
128
|
+
Specifies how many times non-periodic HTTP request can be retried by the driver. Can also be sourced from the
|
|
129
|
+
`SNOWFLAKE_MAX_RETRY_COUNT` environment variable.
|
|
144
130
|
"""
|
|
145
131
|
|
|
146
|
-
ocspFailOpen: Optional[
|
|
132
|
+
ocspFailOpen: Optional[str]
|
|
147
133
|
"""
|
|
148
134
|
True represents OCSP fail open mode. False represents OCSP fail closed mode. Fail open true by default. Can also be
|
|
149
135
|
sourced from the `SNOWFLAKE_OCSP_FAIL_OPEN` environment variable.
|
|
@@ -151,13 +137,22 @@ sourced from the `SNOWFLAKE_OCSP_FAIL_OPEN` environment variable.
|
|
|
151
137
|
|
|
152
138
|
oktaUrl: Optional[str]
|
|
153
139
|
"""
|
|
154
|
-
The URL of the Okta server. e.g. https://example.okta.com.
|
|
155
|
-
|
|
140
|
+
The URL of the Okta server. e.g. https://example.okta.com. Okta URL host needs to to have a suffix `okta.com`. Read more
|
|
141
|
+
in Snowflake [docs](https://docs.snowflake.com/en/user-guide/oauth-okta). Can also be sourced from the
|
|
142
|
+
`SNOWFLAKE_OKTA_URL` environment variable.
|
|
143
|
+
"""
|
|
144
|
+
|
|
145
|
+
organizationName: Optional[str]
|
|
146
|
+
"""
|
|
147
|
+
Specifies your Snowflake organization name assigned by Snowflake. For information about account identifiers, see the
|
|
148
|
+
[Snowflake documentation](https://docs.snowflake.com/en/user-guide/admin-account-identifier#organization-name). Required
|
|
149
|
+
unless using `profile`. Can also be sourced from the `SNOWFLAKE_ORGANIZATION_NAME` environment variable.
|
|
156
150
|
"""
|
|
157
151
|
|
|
158
152
|
params: Optional[str]
|
|
159
153
|
"""
|
|
160
|
-
Sets other connection (i.e. session) parameters. [Parameters](https://docs.snowflake.com/en/sql-reference/parameters)
|
|
154
|
+
Sets other connection (i.e. session) parameters. [Parameters](https://docs.snowflake.com/en/sql-reference/parameters).
|
|
155
|
+
This field can not be set with environmental variables.
|
|
161
156
|
"""
|
|
162
157
|
|
|
163
158
|
passcode: Optional[str]
|
|
@@ -168,38 +163,34 @@ the `SNOWFLAKE_PASSCODE` environment variable.
|
|
|
168
163
|
|
|
169
164
|
passcodeInPassword: Optional[bool]
|
|
170
165
|
"""
|
|
171
|
-
False by default. Set to true if the MFA passcode is embedded
|
|
172
|
-
|
|
166
|
+
False by default. Set to true if the MFA passcode is embedded to the configured password. Can also be sourced from the
|
|
167
|
+
`SNOWFLAKE_PASSCODE_IN_PASSWORD` environment variable.
|
|
173
168
|
"""
|
|
174
169
|
|
|
175
170
|
password: Optional[str]
|
|
176
171
|
"""
|
|
177
|
-
Password for
|
|
178
|
-
the `SNOWFLAKE_PASSWORD` environment variable.
|
|
172
|
+
Password for user + password auth. Cannot be used with `private_key` and `private_key_passphrase`. Can also be sourced
|
|
173
|
+
from the `SNOWFLAKE_PASSWORD` environment variable.
|
|
179
174
|
"""
|
|
180
175
|
|
|
181
176
|
port: Optional[int]
|
|
182
177
|
"""
|
|
183
|
-
|
|
178
|
+
Specifies a custom port value used by the driver for privatelink connections. Can also be sourced from the
|
|
184
179
|
`SNOWFLAKE_PORT` environment variable.
|
|
185
180
|
"""
|
|
186
181
|
|
|
182
|
+
previewFeaturesEnabled: Optional[str]
|
|
183
|
+
|
|
187
184
|
privateKey: Optional[str]
|
|
188
185
|
"""
|
|
189
|
-
Private Key for username+private-key auth. Cannot be used with `
|
|
186
|
+
Private Key for username+private-key auth. Cannot be used with `password`. Can also be sourced from the
|
|
190
187
|
`SNOWFLAKE_PRIVATE_KEY` environment variable.
|
|
191
188
|
"""
|
|
192
189
|
|
|
193
190
|
privateKeyPassphrase: Optional[str]
|
|
194
191
|
"""
|
|
195
192
|
Supports the encryption ciphers aes-128-cbc, aes-128-gcm, aes-192-cbc, aes-192-gcm, aes-256-cbc, aes-256-gcm, and
|
|
196
|
-
des-ede3-cbc. Can also be sourced from `SNOWFLAKE_PRIVATE_KEY_PASSPHRASE` environment variable.
|
|
197
|
-
"""
|
|
198
|
-
|
|
199
|
-
privateKeyPath: Optional[str]
|
|
200
|
-
"""
|
|
201
|
-
Path to a private key for using keypair authentication. Cannot be used with `browser_auth`, `oauth_access_token` or
|
|
202
|
-
`password`. Can also be sourced from `SNOWFLAKE_PRIVATE_KEY_PATH` environment variable.
|
|
193
|
+
des-ede3-cbc. Can also be sourced from the `SNOWFLAKE_PRIVATE_KEY_PASSPHRASE` environment variable.
|
|
203
194
|
"""
|
|
204
195
|
|
|
205
196
|
profile: Optional[str]
|
|
@@ -210,34 +201,26 @@ variable.
|
|
|
210
201
|
|
|
211
202
|
protocol: Optional[str]
|
|
212
203
|
"""
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
region: Optional[str]
|
|
217
|
-
"""
|
|
218
|
-
Snowflake region, such as "eu-central-1", with this parameter. However, since this parameter is deprecated, it is best
|
|
219
|
-
to specify the region as part of the account parameter. For details, see the description of the account parameter.
|
|
220
|
-
[Snowflake region](https://docs.snowflake.com/en/user-guide/intro-regions.html) to use. Required if using the [legacy
|
|
221
|
-
format for the `account`
|
|
222
|
-
identifier](https://docs.snowflake.com/en/user-guide/admin-account-identifier.html#format-2-legacy-account-locator-in-a-region)
|
|
223
|
-
in the form of `<cloud_region_id>.<cloud>`. Can also be sourced from the `SNOWFLAKE_REGION` environment variable.
|
|
204
|
+
A protocol used in the connection. Valid options are: `http` | `https`. Can also be sourced from the
|
|
205
|
+
`SNOWFLAKE_PROTOCOL` environment variable.
|
|
224
206
|
"""
|
|
225
207
|
|
|
226
208
|
requestTimeout: Optional[int]
|
|
227
209
|
"""
|
|
228
|
-
request retry timeout EXCLUDING network roundtrip and read out http response. Can also be sourced from the
|
|
210
|
+
request retry timeout in seconds EXCLUDING network roundtrip and read out http response. Can also be sourced from the
|
|
229
211
|
`SNOWFLAKE_REQUEST_TIMEOUT` environment variable.
|
|
230
212
|
"""
|
|
231
213
|
|
|
232
214
|
role: Optional[str]
|
|
233
215
|
"""
|
|
234
216
|
Specifies the role to use by default for accessing Snowflake objects in the client session. Can also be sourced from the
|
|
235
|
-
`SNOWFLAKE_ROLE` environment variable.
|
|
217
|
+
`SNOWFLAKE_ROLE` environment variable.
|
|
236
218
|
"""
|
|
237
219
|
|
|
238
|
-
|
|
220
|
+
tmpDirectoryPath: Optional[str]
|
|
239
221
|
"""
|
|
240
|
-
Sets
|
|
222
|
+
Sets temporary directory used by the driver for operations like encrypting, compressing etc. Can also be sourced from
|
|
223
|
+
the `SNOWFLAKE_TMP_DIRECTORY_PATH` environment variable.
|
|
241
224
|
"""
|
|
242
225
|
|
|
243
226
|
token: Optional[str]
|
|
@@ -250,16 +233,10 @@ tokenAccessor: Optional[str]
|
|
|
250
233
|
|
|
251
234
|
user: Optional[str]
|
|
252
235
|
"""
|
|
253
|
-
Username. Can also be sourced from the `SNOWFLAKE_USER` environment variable.
|
|
254
|
-
"""
|
|
255
|
-
|
|
256
|
-
username: Optional[str]
|
|
257
|
-
"""
|
|
258
|
-
Username for username+password authentication. Can also be sourced from the `SNOWFLAKE_USERNAME` environment variable.
|
|
259
|
-
Required unless using `profile`.
|
|
236
|
+
Username. Required unless using `profile`. Can also be sourced from the `SNOWFLAKE_USER` environment variable.
|
|
260
237
|
"""
|
|
261
238
|
|
|
262
|
-
validateDefaultParameters: Optional[
|
|
239
|
+
validateDefaultParameters: Optional[str]
|
|
263
240
|
"""
|
|
264
241
|
True by default. If false, disables the validation checks for Database, Schema, Warehouse and Role at the time a
|
|
265
242
|
connection is established. Can also be sourced from the `SNOWFLAKE_VALIDATE_DEFAULT_PARAMETERS` environment variable.
|
|
@@ -4,9 +4,14 @@
|
|
|
4
4
|
|
|
5
5
|
import copy
|
|
6
6
|
import warnings
|
|
7
|
+
import sys
|
|
7
8
|
import pulumi
|
|
8
9
|
import pulumi.runtime
|
|
9
10
|
from typing import Any, Mapping, Optional, Sequence, Union, overload
|
|
11
|
+
if sys.version_info >= (3, 11):
|
|
12
|
+
from typing import NotRequired, TypedDict, TypeAlias
|
|
13
|
+
else:
|
|
14
|
+
from typing_extensions import NotRequired, TypedDict, TypeAlias
|
|
10
15
|
from .. import _utilities
|
|
11
16
|
|
|
12
17
|
__all__ = [
|