pulumi-snowflake 0.50.3a1710160126__py3-none-any.whl → 1.2.0a1736849992__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.0a1736849992.dist-info}/METADATA +7 -6
- pulumi_snowflake-1.2.0a1736849992.dist-info/RECORD +148 -0
- {pulumi_snowflake-0.50.3a1710160126.dist-info → pulumi_snowflake-1.2.0a1736849992.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.0a1736849992.dist-info}/top_level.txt +0 -0
|
@@ -0,0 +1,671 @@
|
|
|
1
|
+
# coding=utf-8
|
|
2
|
+
# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
|
3
|
+
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
|
|
5
|
+
import copy
|
|
6
|
+
import warnings
|
|
7
|
+
import sys
|
|
8
|
+
import pulumi
|
|
9
|
+
import pulumi.runtime
|
|
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
|
|
15
|
+
from . import _utilities
|
|
16
|
+
from . import outputs
|
|
17
|
+
from ._inputs import *
|
|
18
|
+
|
|
19
|
+
__all__ = ['StreamlitArgs', 'Streamlit']
|
|
20
|
+
|
|
21
|
+
@pulumi.input_type
|
|
22
|
+
class StreamlitArgs:
|
|
23
|
+
def __init__(__self__, *,
|
|
24
|
+
database: pulumi.Input[str],
|
|
25
|
+
main_file: pulumi.Input[str],
|
|
26
|
+
schema: pulumi.Input[str],
|
|
27
|
+
stage: pulumi.Input[str],
|
|
28
|
+
comment: Optional[pulumi.Input[str]] = None,
|
|
29
|
+
directory_location: Optional[pulumi.Input[str]] = None,
|
|
30
|
+
external_access_integrations: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
31
|
+
name: Optional[pulumi.Input[str]] = None,
|
|
32
|
+
query_warehouse: Optional[pulumi.Input[str]] = None,
|
|
33
|
+
title: Optional[pulumi.Input[str]] = None):
|
|
34
|
+
"""
|
|
35
|
+
The set of arguments for constructing a Streamlit resource.
|
|
36
|
+
:param pulumi.Input[str] database: The database in which to create the streamlit Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
|
|
37
|
+
:param pulumi.Input[str] main_file: Specifies the filename of the Streamlit Python application. This filename is relative to the value of `directory_location`
|
|
38
|
+
:param pulumi.Input[str] schema: The schema in which to create the streamlit. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
|
|
39
|
+
:param pulumi.Input[str] stage: The stage in which streamlit files are located. For more information about this resource, see docs.
|
|
40
|
+
:param pulumi.Input[str] comment: Specifies a comment for the streamlit.
|
|
41
|
+
:param pulumi.Input[str] directory_location: Specifies the full path to the named stage containing the Streamlit Python files, media files, and the environment.yml file.
|
|
42
|
+
:param pulumi.Input[Sequence[pulumi.Input[str]]] external_access_integrations: External access integrations connected to the Streamlit.
|
|
43
|
+
:param pulumi.Input[str] name: String that specifies the identifier (i.e. name) for the streamlit; must be unique in your account. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
|
|
44
|
+
:param pulumi.Input[str] query_warehouse: Specifies the warehouse where SQL queries issued by the Streamlit application are run. Due to Snowflake limitations warehouse identifier can consist of only upper-cased letters. For more information about this resource, see docs.
|
|
45
|
+
:param pulumi.Input[str] title: Specifies a title for the Streamlit app to display in Snowsight.
|
|
46
|
+
"""
|
|
47
|
+
pulumi.set(__self__, "database", database)
|
|
48
|
+
pulumi.set(__self__, "main_file", main_file)
|
|
49
|
+
pulumi.set(__self__, "schema", schema)
|
|
50
|
+
pulumi.set(__self__, "stage", stage)
|
|
51
|
+
if comment is not None:
|
|
52
|
+
pulumi.set(__self__, "comment", comment)
|
|
53
|
+
if directory_location is not None:
|
|
54
|
+
pulumi.set(__self__, "directory_location", directory_location)
|
|
55
|
+
if external_access_integrations is not None:
|
|
56
|
+
pulumi.set(__self__, "external_access_integrations", external_access_integrations)
|
|
57
|
+
if name is not None:
|
|
58
|
+
pulumi.set(__self__, "name", name)
|
|
59
|
+
if query_warehouse is not None:
|
|
60
|
+
pulumi.set(__self__, "query_warehouse", query_warehouse)
|
|
61
|
+
if title is not None:
|
|
62
|
+
pulumi.set(__self__, "title", title)
|
|
63
|
+
|
|
64
|
+
@property
|
|
65
|
+
@pulumi.getter
|
|
66
|
+
def database(self) -> pulumi.Input[str]:
|
|
67
|
+
"""
|
|
68
|
+
The database in which to create the streamlit Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
|
|
69
|
+
"""
|
|
70
|
+
return pulumi.get(self, "database")
|
|
71
|
+
|
|
72
|
+
@database.setter
|
|
73
|
+
def database(self, value: pulumi.Input[str]):
|
|
74
|
+
pulumi.set(self, "database", value)
|
|
75
|
+
|
|
76
|
+
@property
|
|
77
|
+
@pulumi.getter(name="mainFile")
|
|
78
|
+
def main_file(self) -> pulumi.Input[str]:
|
|
79
|
+
"""
|
|
80
|
+
Specifies the filename of the Streamlit Python application. This filename is relative to the value of `directory_location`
|
|
81
|
+
"""
|
|
82
|
+
return pulumi.get(self, "main_file")
|
|
83
|
+
|
|
84
|
+
@main_file.setter
|
|
85
|
+
def main_file(self, value: pulumi.Input[str]):
|
|
86
|
+
pulumi.set(self, "main_file", value)
|
|
87
|
+
|
|
88
|
+
@property
|
|
89
|
+
@pulumi.getter
|
|
90
|
+
def schema(self) -> pulumi.Input[str]:
|
|
91
|
+
"""
|
|
92
|
+
The schema in which to create the streamlit. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
|
|
93
|
+
"""
|
|
94
|
+
return pulumi.get(self, "schema")
|
|
95
|
+
|
|
96
|
+
@schema.setter
|
|
97
|
+
def schema(self, value: pulumi.Input[str]):
|
|
98
|
+
pulumi.set(self, "schema", value)
|
|
99
|
+
|
|
100
|
+
@property
|
|
101
|
+
@pulumi.getter
|
|
102
|
+
def stage(self) -> pulumi.Input[str]:
|
|
103
|
+
"""
|
|
104
|
+
The stage in which streamlit files are located. For more information about this resource, see docs.
|
|
105
|
+
"""
|
|
106
|
+
return pulumi.get(self, "stage")
|
|
107
|
+
|
|
108
|
+
@stage.setter
|
|
109
|
+
def stage(self, value: pulumi.Input[str]):
|
|
110
|
+
pulumi.set(self, "stage", value)
|
|
111
|
+
|
|
112
|
+
@property
|
|
113
|
+
@pulumi.getter
|
|
114
|
+
def comment(self) -> Optional[pulumi.Input[str]]:
|
|
115
|
+
"""
|
|
116
|
+
Specifies a comment for the streamlit.
|
|
117
|
+
"""
|
|
118
|
+
return pulumi.get(self, "comment")
|
|
119
|
+
|
|
120
|
+
@comment.setter
|
|
121
|
+
def comment(self, value: Optional[pulumi.Input[str]]):
|
|
122
|
+
pulumi.set(self, "comment", value)
|
|
123
|
+
|
|
124
|
+
@property
|
|
125
|
+
@pulumi.getter(name="directoryLocation")
|
|
126
|
+
def directory_location(self) -> Optional[pulumi.Input[str]]:
|
|
127
|
+
"""
|
|
128
|
+
Specifies the full path to the named stage containing the Streamlit Python files, media files, and the environment.yml file.
|
|
129
|
+
"""
|
|
130
|
+
return pulumi.get(self, "directory_location")
|
|
131
|
+
|
|
132
|
+
@directory_location.setter
|
|
133
|
+
def directory_location(self, value: Optional[pulumi.Input[str]]):
|
|
134
|
+
pulumi.set(self, "directory_location", value)
|
|
135
|
+
|
|
136
|
+
@property
|
|
137
|
+
@pulumi.getter(name="externalAccessIntegrations")
|
|
138
|
+
def external_access_integrations(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
|
139
|
+
"""
|
|
140
|
+
External access integrations connected to the Streamlit.
|
|
141
|
+
"""
|
|
142
|
+
return pulumi.get(self, "external_access_integrations")
|
|
143
|
+
|
|
144
|
+
@external_access_integrations.setter
|
|
145
|
+
def external_access_integrations(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
|
|
146
|
+
pulumi.set(self, "external_access_integrations", value)
|
|
147
|
+
|
|
148
|
+
@property
|
|
149
|
+
@pulumi.getter
|
|
150
|
+
def name(self) -> Optional[pulumi.Input[str]]:
|
|
151
|
+
"""
|
|
152
|
+
String that specifies the identifier (i.e. name) for the streamlit; must be unique in your account. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
|
|
153
|
+
"""
|
|
154
|
+
return pulumi.get(self, "name")
|
|
155
|
+
|
|
156
|
+
@name.setter
|
|
157
|
+
def name(self, value: Optional[pulumi.Input[str]]):
|
|
158
|
+
pulumi.set(self, "name", value)
|
|
159
|
+
|
|
160
|
+
@property
|
|
161
|
+
@pulumi.getter(name="queryWarehouse")
|
|
162
|
+
def query_warehouse(self) -> Optional[pulumi.Input[str]]:
|
|
163
|
+
"""
|
|
164
|
+
Specifies the warehouse where SQL queries issued by the Streamlit application are run. Due to Snowflake limitations warehouse identifier can consist of only upper-cased letters. For more information about this resource, see docs.
|
|
165
|
+
"""
|
|
166
|
+
return pulumi.get(self, "query_warehouse")
|
|
167
|
+
|
|
168
|
+
@query_warehouse.setter
|
|
169
|
+
def query_warehouse(self, value: Optional[pulumi.Input[str]]):
|
|
170
|
+
pulumi.set(self, "query_warehouse", value)
|
|
171
|
+
|
|
172
|
+
@property
|
|
173
|
+
@pulumi.getter
|
|
174
|
+
def title(self) -> Optional[pulumi.Input[str]]:
|
|
175
|
+
"""
|
|
176
|
+
Specifies a title for the Streamlit app to display in Snowsight.
|
|
177
|
+
"""
|
|
178
|
+
return pulumi.get(self, "title")
|
|
179
|
+
|
|
180
|
+
@title.setter
|
|
181
|
+
def title(self, value: Optional[pulumi.Input[str]]):
|
|
182
|
+
pulumi.set(self, "title", value)
|
|
183
|
+
|
|
184
|
+
|
|
185
|
+
@pulumi.input_type
|
|
186
|
+
class _StreamlitState:
|
|
187
|
+
def __init__(__self__, *,
|
|
188
|
+
comment: Optional[pulumi.Input[str]] = None,
|
|
189
|
+
database: Optional[pulumi.Input[str]] = None,
|
|
190
|
+
describe_outputs: Optional[pulumi.Input[Sequence[pulumi.Input['StreamlitDescribeOutputArgs']]]] = None,
|
|
191
|
+
directory_location: Optional[pulumi.Input[str]] = None,
|
|
192
|
+
external_access_integrations: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
193
|
+
fully_qualified_name: Optional[pulumi.Input[str]] = None,
|
|
194
|
+
main_file: Optional[pulumi.Input[str]] = None,
|
|
195
|
+
name: Optional[pulumi.Input[str]] = None,
|
|
196
|
+
query_warehouse: Optional[pulumi.Input[str]] = None,
|
|
197
|
+
schema: Optional[pulumi.Input[str]] = None,
|
|
198
|
+
show_outputs: Optional[pulumi.Input[Sequence[pulumi.Input['StreamlitShowOutputArgs']]]] = None,
|
|
199
|
+
stage: Optional[pulumi.Input[str]] = None,
|
|
200
|
+
title: Optional[pulumi.Input[str]] = None):
|
|
201
|
+
"""
|
|
202
|
+
Input properties used for looking up and filtering Streamlit resources.
|
|
203
|
+
:param pulumi.Input[str] comment: Specifies a comment for the streamlit.
|
|
204
|
+
:param pulumi.Input[str] database: The database in which to create the streamlit Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
|
|
205
|
+
:param pulumi.Input[Sequence[pulumi.Input['StreamlitDescribeOutputArgs']]] describe_outputs: Outputs the result of `DESCRIBE STREAMLIT` for the given streamlit.
|
|
206
|
+
:param pulumi.Input[str] directory_location: Specifies the full path to the named stage containing the Streamlit Python files, media files, and the environment.yml file.
|
|
207
|
+
:param pulumi.Input[Sequence[pulumi.Input[str]]] external_access_integrations: External access integrations connected to the Streamlit.
|
|
208
|
+
:param pulumi.Input[str] fully_qualified_name: Fully qualified name of the resource. For more information, see [object name resolution](https://docs.snowflake.com/en/sql-reference/name-resolution).
|
|
209
|
+
:param pulumi.Input[str] main_file: Specifies the filename of the Streamlit Python application. This filename is relative to the value of `directory_location`
|
|
210
|
+
:param pulumi.Input[str] name: String that specifies the identifier (i.e. name) for the streamlit; must be unique in your account. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
|
|
211
|
+
:param pulumi.Input[str] query_warehouse: Specifies the warehouse where SQL queries issued by the Streamlit application are run. Due to Snowflake limitations warehouse identifier can consist of only upper-cased letters. For more information about this resource, see docs.
|
|
212
|
+
:param pulumi.Input[str] schema: The schema in which to create the streamlit. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
|
|
213
|
+
:param pulumi.Input[Sequence[pulumi.Input['StreamlitShowOutputArgs']]] show_outputs: Outputs the result of `SHOW STREAMLIT` for the given streamlit.
|
|
214
|
+
:param pulumi.Input[str] stage: The stage in which streamlit files are located. For more information about this resource, see docs.
|
|
215
|
+
:param pulumi.Input[str] title: Specifies a title for the Streamlit app to display in Snowsight.
|
|
216
|
+
"""
|
|
217
|
+
if comment is not None:
|
|
218
|
+
pulumi.set(__self__, "comment", comment)
|
|
219
|
+
if database is not None:
|
|
220
|
+
pulumi.set(__self__, "database", database)
|
|
221
|
+
if describe_outputs is not None:
|
|
222
|
+
pulumi.set(__self__, "describe_outputs", describe_outputs)
|
|
223
|
+
if directory_location is not None:
|
|
224
|
+
pulumi.set(__self__, "directory_location", directory_location)
|
|
225
|
+
if external_access_integrations is not None:
|
|
226
|
+
pulumi.set(__self__, "external_access_integrations", external_access_integrations)
|
|
227
|
+
if fully_qualified_name is not None:
|
|
228
|
+
pulumi.set(__self__, "fully_qualified_name", fully_qualified_name)
|
|
229
|
+
if main_file is not None:
|
|
230
|
+
pulumi.set(__self__, "main_file", main_file)
|
|
231
|
+
if name is not None:
|
|
232
|
+
pulumi.set(__self__, "name", name)
|
|
233
|
+
if query_warehouse is not None:
|
|
234
|
+
pulumi.set(__self__, "query_warehouse", query_warehouse)
|
|
235
|
+
if schema is not None:
|
|
236
|
+
pulumi.set(__self__, "schema", schema)
|
|
237
|
+
if show_outputs is not None:
|
|
238
|
+
pulumi.set(__self__, "show_outputs", show_outputs)
|
|
239
|
+
if stage is not None:
|
|
240
|
+
pulumi.set(__self__, "stage", stage)
|
|
241
|
+
if title is not None:
|
|
242
|
+
pulumi.set(__self__, "title", title)
|
|
243
|
+
|
|
244
|
+
@property
|
|
245
|
+
@pulumi.getter
|
|
246
|
+
def comment(self) -> Optional[pulumi.Input[str]]:
|
|
247
|
+
"""
|
|
248
|
+
Specifies a comment for the streamlit.
|
|
249
|
+
"""
|
|
250
|
+
return pulumi.get(self, "comment")
|
|
251
|
+
|
|
252
|
+
@comment.setter
|
|
253
|
+
def comment(self, value: Optional[pulumi.Input[str]]):
|
|
254
|
+
pulumi.set(self, "comment", value)
|
|
255
|
+
|
|
256
|
+
@property
|
|
257
|
+
@pulumi.getter
|
|
258
|
+
def database(self) -> Optional[pulumi.Input[str]]:
|
|
259
|
+
"""
|
|
260
|
+
The database in which to create the streamlit Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
|
|
261
|
+
"""
|
|
262
|
+
return pulumi.get(self, "database")
|
|
263
|
+
|
|
264
|
+
@database.setter
|
|
265
|
+
def database(self, value: Optional[pulumi.Input[str]]):
|
|
266
|
+
pulumi.set(self, "database", value)
|
|
267
|
+
|
|
268
|
+
@property
|
|
269
|
+
@pulumi.getter(name="describeOutputs")
|
|
270
|
+
def describe_outputs(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['StreamlitDescribeOutputArgs']]]]:
|
|
271
|
+
"""
|
|
272
|
+
Outputs the result of `DESCRIBE STREAMLIT` for the given streamlit.
|
|
273
|
+
"""
|
|
274
|
+
return pulumi.get(self, "describe_outputs")
|
|
275
|
+
|
|
276
|
+
@describe_outputs.setter
|
|
277
|
+
def describe_outputs(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['StreamlitDescribeOutputArgs']]]]):
|
|
278
|
+
pulumi.set(self, "describe_outputs", value)
|
|
279
|
+
|
|
280
|
+
@property
|
|
281
|
+
@pulumi.getter(name="directoryLocation")
|
|
282
|
+
def directory_location(self) -> Optional[pulumi.Input[str]]:
|
|
283
|
+
"""
|
|
284
|
+
Specifies the full path to the named stage containing the Streamlit Python files, media files, and the environment.yml file.
|
|
285
|
+
"""
|
|
286
|
+
return pulumi.get(self, "directory_location")
|
|
287
|
+
|
|
288
|
+
@directory_location.setter
|
|
289
|
+
def directory_location(self, value: Optional[pulumi.Input[str]]):
|
|
290
|
+
pulumi.set(self, "directory_location", value)
|
|
291
|
+
|
|
292
|
+
@property
|
|
293
|
+
@pulumi.getter(name="externalAccessIntegrations")
|
|
294
|
+
def external_access_integrations(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
|
295
|
+
"""
|
|
296
|
+
External access integrations connected to the Streamlit.
|
|
297
|
+
"""
|
|
298
|
+
return pulumi.get(self, "external_access_integrations")
|
|
299
|
+
|
|
300
|
+
@external_access_integrations.setter
|
|
301
|
+
def external_access_integrations(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
|
|
302
|
+
pulumi.set(self, "external_access_integrations", value)
|
|
303
|
+
|
|
304
|
+
@property
|
|
305
|
+
@pulumi.getter(name="fullyQualifiedName")
|
|
306
|
+
def fully_qualified_name(self) -> Optional[pulumi.Input[str]]:
|
|
307
|
+
"""
|
|
308
|
+
Fully qualified name of the resource. For more information, see [object name resolution](https://docs.snowflake.com/en/sql-reference/name-resolution).
|
|
309
|
+
"""
|
|
310
|
+
return pulumi.get(self, "fully_qualified_name")
|
|
311
|
+
|
|
312
|
+
@fully_qualified_name.setter
|
|
313
|
+
def fully_qualified_name(self, value: Optional[pulumi.Input[str]]):
|
|
314
|
+
pulumi.set(self, "fully_qualified_name", value)
|
|
315
|
+
|
|
316
|
+
@property
|
|
317
|
+
@pulumi.getter(name="mainFile")
|
|
318
|
+
def main_file(self) -> Optional[pulumi.Input[str]]:
|
|
319
|
+
"""
|
|
320
|
+
Specifies the filename of the Streamlit Python application. This filename is relative to the value of `directory_location`
|
|
321
|
+
"""
|
|
322
|
+
return pulumi.get(self, "main_file")
|
|
323
|
+
|
|
324
|
+
@main_file.setter
|
|
325
|
+
def main_file(self, value: Optional[pulumi.Input[str]]):
|
|
326
|
+
pulumi.set(self, "main_file", value)
|
|
327
|
+
|
|
328
|
+
@property
|
|
329
|
+
@pulumi.getter
|
|
330
|
+
def name(self) -> Optional[pulumi.Input[str]]:
|
|
331
|
+
"""
|
|
332
|
+
String that specifies the identifier (i.e. name) for the streamlit; must be unique in your account. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
|
|
333
|
+
"""
|
|
334
|
+
return pulumi.get(self, "name")
|
|
335
|
+
|
|
336
|
+
@name.setter
|
|
337
|
+
def name(self, value: Optional[pulumi.Input[str]]):
|
|
338
|
+
pulumi.set(self, "name", value)
|
|
339
|
+
|
|
340
|
+
@property
|
|
341
|
+
@pulumi.getter(name="queryWarehouse")
|
|
342
|
+
def query_warehouse(self) -> Optional[pulumi.Input[str]]:
|
|
343
|
+
"""
|
|
344
|
+
Specifies the warehouse where SQL queries issued by the Streamlit application are run. Due to Snowflake limitations warehouse identifier can consist of only upper-cased letters. For more information about this resource, see docs.
|
|
345
|
+
"""
|
|
346
|
+
return pulumi.get(self, "query_warehouse")
|
|
347
|
+
|
|
348
|
+
@query_warehouse.setter
|
|
349
|
+
def query_warehouse(self, value: Optional[pulumi.Input[str]]):
|
|
350
|
+
pulumi.set(self, "query_warehouse", value)
|
|
351
|
+
|
|
352
|
+
@property
|
|
353
|
+
@pulumi.getter
|
|
354
|
+
def schema(self) -> Optional[pulumi.Input[str]]:
|
|
355
|
+
"""
|
|
356
|
+
The schema in which to create the streamlit. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
|
|
357
|
+
"""
|
|
358
|
+
return pulumi.get(self, "schema")
|
|
359
|
+
|
|
360
|
+
@schema.setter
|
|
361
|
+
def schema(self, value: Optional[pulumi.Input[str]]):
|
|
362
|
+
pulumi.set(self, "schema", value)
|
|
363
|
+
|
|
364
|
+
@property
|
|
365
|
+
@pulumi.getter(name="showOutputs")
|
|
366
|
+
def show_outputs(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['StreamlitShowOutputArgs']]]]:
|
|
367
|
+
"""
|
|
368
|
+
Outputs the result of `SHOW STREAMLIT` for the given streamlit.
|
|
369
|
+
"""
|
|
370
|
+
return pulumi.get(self, "show_outputs")
|
|
371
|
+
|
|
372
|
+
@show_outputs.setter
|
|
373
|
+
def show_outputs(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['StreamlitShowOutputArgs']]]]):
|
|
374
|
+
pulumi.set(self, "show_outputs", value)
|
|
375
|
+
|
|
376
|
+
@property
|
|
377
|
+
@pulumi.getter
|
|
378
|
+
def stage(self) -> Optional[pulumi.Input[str]]:
|
|
379
|
+
"""
|
|
380
|
+
The stage in which streamlit files are located. For more information about this resource, see docs.
|
|
381
|
+
"""
|
|
382
|
+
return pulumi.get(self, "stage")
|
|
383
|
+
|
|
384
|
+
@stage.setter
|
|
385
|
+
def stage(self, value: Optional[pulumi.Input[str]]):
|
|
386
|
+
pulumi.set(self, "stage", value)
|
|
387
|
+
|
|
388
|
+
@property
|
|
389
|
+
@pulumi.getter
|
|
390
|
+
def title(self) -> Optional[pulumi.Input[str]]:
|
|
391
|
+
"""
|
|
392
|
+
Specifies a title for the Streamlit app to display in Snowsight.
|
|
393
|
+
"""
|
|
394
|
+
return pulumi.get(self, "title")
|
|
395
|
+
|
|
396
|
+
@title.setter
|
|
397
|
+
def title(self, value: Optional[pulumi.Input[str]]):
|
|
398
|
+
pulumi.set(self, "title", value)
|
|
399
|
+
|
|
400
|
+
|
|
401
|
+
class Streamlit(pulumi.CustomResource):
|
|
402
|
+
@overload
|
|
403
|
+
def __init__(__self__,
|
|
404
|
+
resource_name: str,
|
|
405
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
|
406
|
+
comment: Optional[pulumi.Input[str]] = None,
|
|
407
|
+
database: Optional[pulumi.Input[str]] = None,
|
|
408
|
+
directory_location: Optional[pulumi.Input[str]] = None,
|
|
409
|
+
external_access_integrations: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
410
|
+
main_file: Optional[pulumi.Input[str]] = None,
|
|
411
|
+
name: Optional[pulumi.Input[str]] = None,
|
|
412
|
+
query_warehouse: Optional[pulumi.Input[str]] = None,
|
|
413
|
+
schema: Optional[pulumi.Input[str]] = None,
|
|
414
|
+
stage: Optional[pulumi.Input[str]] = None,
|
|
415
|
+
title: Optional[pulumi.Input[str]] = None,
|
|
416
|
+
__props__=None):
|
|
417
|
+
"""
|
|
418
|
+
## Import
|
|
419
|
+
|
|
420
|
+
```sh
|
|
421
|
+
$ pulumi import snowflake:index/streamlit:Streamlit example '"<database_name>"."<schema_name>"."<streamlit_name>"'
|
|
422
|
+
```
|
|
423
|
+
|
|
424
|
+
:param str resource_name: The name of the resource.
|
|
425
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
426
|
+
:param pulumi.Input[str] comment: Specifies a comment for the streamlit.
|
|
427
|
+
:param pulumi.Input[str] database: The database in which to create the streamlit Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
|
|
428
|
+
:param pulumi.Input[str] directory_location: Specifies the full path to the named stage containing the Streamlit Python files, media files, and the environment.yml file.
|
|
429
|
+
:param pulumi.Input[Sequence[pulumi.Input[str]]] external_access_integrations: External access integrations connected to the Streamlit.
|
|
430
|
+
:param pulumi.Input[str] main_file: Specifies the filename of the Streamlit Python application. This filename is relative to the value of `directory_location`
|
|
431
|
+
:param pulumi.Input[str] name: String that specifies the identifier (i.e. name) for the streamlit; must be unique in your account. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
|
|
432
|
+
:param pulumi.Input[str] query_warehouse: Specifies the warehouse where SQL queries issued by the Streamlit application are run. Due to Snowflake limitations warehouse identifier can consist of only upper-cased letters. For more information about this resource, see docs.
|
|
433
|
+
:param pulumi.Input[str] schema: The schema in which to create the streamlit. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
|
|
434
|
+
:param pulumi.Input[str] stage: The stage in which streamlit files are located. For more information about this resource, see docs.
|
|
435
|
+
:param pulumi.Input[str] title: Specifies a title for the Streamlit app to display in Snowsight.
|
|
436
|
+
"""
|
|
437
|
+
...
|
|
438
|
+
@overload
|
|
439
|
+
def __init__(__self__,
|
|
440
|
+
resource_name: str,
|
|
441
|
+
args: StreamlitArgs,
|
|
442
|
+
opts: Optional[pulumi.ResourceOptions] = None):
|
|
443
|
+
"""
|
|
444
|
+
## Import
|
|
445
|
+
|
|
446
|
+
```sh
|
|
447
|
+
$ pulumi import snowflake:index/streamlit:Streamlit example '"<database_name>"."<schema_name>"."<streamlit_name>"'
|
|
448
|
+
```
|
|
449
|
+
|
|
450
|
+
:param str resource_name: The name of the resource.
|
|
451
|
+
:param StreamlitArgs args: The arguments to use to populate this resource's properties.
|
|
452
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
453
|
+
"""
|
|
454
|
+
...
|
|
455
|
+
def __init__(__self__, resource_name: str, *args, **kwargs):
|
|
456
|
+
resource_args, opts = _utilities.get_resource_args_opts(StreamlitArgs, pulumi.ResourceOptions, *args, **kwargs)
|
|
457
|
+
if resource_args is not None:
|
|
458
|
+
__self__._internal_init(resource_name, opts, **resource_args.__dict__)
|
|
459
|
+
else:
|
|
460
|
+
__self__._internal_init(resource_name, *args, **kwargs)
|
|
461
|
+
|
|
462
|
+
def _internal_init(__self__,
|
|
463
|
+
resource_name: str,
|
|
464
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
|
465
|
+
comment: Optional[pulumi.Input[str]] = None,
|
|
466
|
+
database: Optional[pulumi.Input[str]] = None,
|
|
467
|
+
directory_location: Optional[pulumi.Input[str]] = None,
|
|
468
|
+
external_access_integrations: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
469
|
+
main_file: Optional[pulumi.Input[str]] = None,
|
|
470
|
+
name: Optional[pulumi.Input[str]] = None,
|
|
471
|
+
query_warehouse: Optional[pulumi.Input[str]] = None,
|
|
472
|
+
schema: Optional[pulumi.Input[str]] = None,
|
|
473
|
+
stage: Optional[pulumi.Input[str]] = None,
|
|
474
|
+
title: Optional[pulumi.Input[str]] = None,
|
|
475
|
+
__props__=None):
|
|
476
|
+
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
|
477
|
+
if not isinstance(opts, pulumi.ResourceOptions):
|
|
478
|
+
raise TypeError('Expected resource options to be a ResourceOptions instance')
|
|
479
|
+
if opts.id is None:
|
|
480
|
+
if __props__ is not None:
|
|
481
|
+
raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
|
|
482
|
+
__props__ = StreamlitArgs.__new__(StreamlitArgs)
|
|
483
|
+
|
|
484
|
+
__props__.__dict__["comment"] = comment
|
|
485
|
+
if database is None and not opts.urn:
|
|
486
|
+
raise TypeError("Missing required property 'database'")
|
|
487
|
+
__props__.__dict__["database"] = database
|
|
488
|
+
__props__.__dict__["directory_location"] = directory_location
|
|
489
|
+
__props__.__dict__["external_access_integrations"] = external_access_integrations
|
|
490
|
+
if main_file is None and not opts.urn:
|
|
491
|
+
raise TypeError("Missing required property 'main_file'")
|
|
492
|
+
__props__.__dict__["main_file"] = main_file
|
|
493
|
+
__props__.__dict__["name"] = name
|
|
494
|
+
__props__.__dict__["query_warehouse"] = query_warehouse
|
|
495
|
+
if schema is None and not opts.urn:
|
|
496
|
+
raise TypeError("Missing required property 'schema'")
|
|
497
|
+
__props__.__dict__["schema"] = schema
|
|
498
|
+
if stage is None and not opts.urn:
|
|
499
|
+
raise TypeError("Missing required property 'stage'")
|
|
500
|
+
__props__.__dict__["stage"] = stage
|
|
501
|
+
__props__.__dict__["title"] = title
|
|
502
|
+
__props__.__dict__["describe_outputs"] = None
|
|
503
|
+
__props__.__dict__["fully_qualified_name"] = None
|
|
504
|
+
__props__.__dict__["show_outputs"] = None
|
|
505
|
+
super(Streamlit, __self__).__init__(
|
|
506
|
+
'snowflake:index/streamlit:Streamlit',
|
|
507
|
+
resource_name,
|
|
508
|
+
__props__,
|
|
509
|
+
opts)
|
|
510
|
+
|
|
511
|
+
@staticmethod
|
|
512
|
+
def get(resource_name: str,
|
|
513
|
+
id: pulumi.Input[str],
|
|
514
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
|
515
|
+
comment: Optional[pulumi.Input[str]] = None,
|
|
516
|
+
database: Optional[pulumi.Input[str]] = None,
|
|
517
|
+
describe_outputs: Optional[pulumi.Input[Sequence[pulumi.Input[Union['StreamlitDescribeOutputArgs', 'StreamlitDescribeOutputArgsDict']]]]] = None,
|
|
518
|
+
directory_location: Optional[pulumi.Input[str]] = None,
|
|
519
|
+
external_access_integrations: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
520
|
+
fully_qualified_name: Optional[pulumi.Input[str]] = None,
|
|
521
|
+
main_file: Optional[pulumi.Input[str]] = None,
|
|
522
|
+
name: Optional[pulumi.Input[str]] = None,
|
|
523
|
+
query_warehouse: Optional[pulumi.Input[str]] = None,
|
|
524
|
+
schema: Optional[pulumi.Input[str]] = None,
|
|
525
|
+
show_outputs: Optional[pulumi.Input[Sequence[pulumi.Input[Union['StreamlitShowOutputArgs', 'StreamlitShowOutputArgsDict']]]]] = None,
|
|
526
|
+
stage: Optional[pulumi.Input[str]] = None,
|
|
527
|
+
title: Optional[pulumi.Input[str]] = None) -> 'Streamlit':
|
|
528
|
+
"""
|
|
529
|
+
Get an existing Streamlit resource's state with the given name, id, and optional extra
|
|
530
|
+
properties used to qualify the lookup.
|
|
531
|
+
|
|
532
|
+
:param str resource_name: The unique name of the resulting resource.
|
|
533
|
+
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
534
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
535
|
+
:param pulumi.Input[str] comment: Specifies a comment for the streamlit.
|
|
536
|
+
:param pulumi.Input[str] database: The database in which to create the streamlit Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
|
|
537
|
+
:param pulumi.Input[Sequence[pulumi.Input[Union['StreamlitDescribeOutputArgs', 'StreamlitDescribeOutputArgsDict']]]] describe_outputs: Outputs the result of `DESCRIBE STREAMLIT` for the given streamlit.
|
|
538
|
+
:param pulumi.Input[str] directory_location: Specifies the full path to the named stage containing the Streamlit Python files, media files, and the environment.yml file.
|
|
539
|
+
:param pulumi.Input[Sequence[pulumi.Input[str]]] external_access_integrations: External access integrations connected to the Streamlit.
|
|
540
|
+
:param pulumi.Input[str] fully_qualified_name: Fully qualified name of the resource. For more information, see [object name resolution](https://docs.snowflake.com/en/sql-reference/name-resolution).
|
|
541
|
+
:param pulumi.Input[str] main_file: Specifies the filename of the Streamlit Python application. This filename is relative to the value of `directory_location`
|
|
542
|
+
:param pulumi.Input[str] name: String that specifies the identifier (i.e. name) for the streamlit; must be unique in your account. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
|
|
543
|
+
:param pulumi.Input[str] query_warehouse: Specifies the warehouse where SQL queries issued by the Streamlit application are run. Due to Snowflake limitations warehouse identifier can consist of only upper-cased letters. For more information about this resource, see docs.
|
|
544
|
+
:param pulumi.Input[str] schema: The schema in which to create the streamlit. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
|
|
545
|
+
:param pulumi.Input[Sequence[pulumi.Input[Union['StreamlitShowOutputArgs', 'StreamlitShowOutputArgsDict']]]] show_outputs: Outputs the result of `SHOW STREAMLIT` for the given streamlit.
|
|
546
|
+
:param pulumi.Input[str] stage: The stage in which streamlit files are located. For more information about this resource, see docs.
|
|
547
|
+
:param pulumi.Input[str] title: Specifies a title for the Streamlit app to display in Snowsight.
|
|
548
|
+
"""
|
|
549
|
+
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
550
|
+
|
|
551
|
+
__props__ = _StreamlitState.__new__(_StreamlitState)
|
|
552
|
+
|
|
553
|
+
__props__.__dict__["comment"] = comment
|
|
554
|
+
__props__.__dict__["database"] = database
|
|
555
|
+
__props__.__dict__["describe_outputs"] = describe_outputs
|
|
556
|
+
__props__.__dict__["directory_location"] = directory_location
|
|
557
|
+
__props__.__dict__["external_access_integrations"] = external_access_integrations
|
|
558
|
+
__props__.__dict__["fully_qualified_name"] = fully_qualified_name
|
|
559
|
+
__props__.__dict__["main_file"] = main_file
|
|
560
|
+
__props__.__dict__["name"] = name
|
|
561
|
+
__props__.__dict__["query_warehouse"] = query_warehouse
|
|
562
|
+
__props__.__dict__["schema"] = schema
|
|
563
|
+
__props__.__dict__["show_outputs"] = show_outputs
|
|
564
|
+
__props__.__dict__["stage"] = stage
|
|
565
|
+
__props__.__dict__["title"] = title
|
|
566
|
+
return Streamlit(resource_name, opts=opts, __props__=__props__)
|
|
567
|
+
|
|
568
|
+
@property
|
|
569
|
+
@pulumi.getter
|
|
570
|
+
def comment(self) -> pulumi.Output[Optional[str]]:
|
|
571
|
+
"""
|
|
572
|
+
Specifies a comment for the streamlit.
|
|
573
|
+
"""
|
|
574
|
+
return pulumi.get(self, "comment")
|
|
575
|
+
|
|
576
|
+
@property
|
|
577
|
+
@pulumi.getter
|
|
578
|
+
def database(self) -> pulumi.Output[str]:
|
|
579
|
+
"""
|
|
580
|
+
The database in which to create the streamlit Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
|
|
581
|
+
"""
|
|
582
|
+
return pulumi.get(self, "database")
|
|
583
|
+
|
|
584
|
+
@property
|
|
585
|
+
@pulumi.getter(name="describeOutputs")
|
|
586
|
+
def describe_outputs(self) -> pulumi.Output[Sequence['outputs.StreamlitDescribeOutput']]:
|
|
587
|
+
"""
|
|
588
|
+
Outputs the result of `DESCRIBE STREAMLIT` for the given streamlit.
|
|
589
|
+
"""
|
|
590
|
+
return pulumi.get(self, "describe_outputs")
|
|
591
|
+
|
|
592
|
+
@property
|
|
593
|
+
@pulumi.getter(name="directoryLocation")
|
|
594
|
+
def directory_location(self) -> pulumi.Output[Optional[str]]:
|
|
595
|
+
"""
|
|
596
|
+
Specifies the full path to the named stage containing the Streamlit Python files, media files, and the environment.yml file.
|
|
597
|
+
"""
|
|
598
|
+
return pulumi.get(self, "directory_location")
|
|
599
|
+
|
|
600
|
+
@property
|
|
601
|
+
@pulumi.getter(name="externalAccessIntegrations")
|
|
602
|
+
def external_access_integrations(self) -> pulumi.Output[Optional[Sequence[str]]]:
|
|
603
|
+
"""
|
|
604
|
+
External access integrations connected to the Streamlit.
|
|
605
|
+
"""
|
|
606
|
+
return pulumi.get(self, "external_access_integrations")
|
|
607
|
+
|
|
608
|
+
@property
|
|
609
|
+
@pulumi.getter(name="fullyQualifiedName")
|
|
610
|
+
def fully_qualified_name(self) -> pulumi.Output[str]:
|
|
611
|
+
"""
|
|
612
|
+
Fully qualified name of the resource. For more information, see [object name resolution](https://docs.snowflake.com/en/sql-reference/name-resolution).
|
|
613
|
+
"""
|
|
614
|
+
return pulumi.get(self, "fully_qualified_name")
|
|
615
|
+
|
|
616
|
+
@property
|
|
617
|
+
@pulumi.getter(name="mainFile")
|
|
618
|
+
def main_file(self) -> pulumi.Output[str]:
|
|
619
|
+
"""
|
|
620
|
+
Specifies the filename of the Streamlit Python application. This filename is relative to the value of `directory_location`
|
|
621
|
+
"""
|
|
622
|
+
return pulumi.get(self, "main_file")
|
|
623
|
+
|
|
624
|
+
@property
|
|
625
|
+
@pulumi.getter
|
|
626
|
+
def name(self) -> pulumi.Output[str]:
|
|
627
|
+
"""
|
|
628
|
+
String that specifies the identifier (i.e. name) for the streamlit; must be unique in your account. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
|
|
629
|
+
"""
|
|
630
|
+
return pulumi.get(self, "name")
|
|
631
|
+
|
|
632
|
+
@property
|
|
633
|
+
@pulumi.getter(name="queryWarehouse")
|
|
634
|
+
def query_warehouse(self) -> pulumi.Output[Optional[str]]:
|
|
635
|
+
"""
|
|
636
|
+
Specifies the warehouse where SQL queries issued by the Streamlit application are run. Due to Snowflake limitations warehouse identifier can consist of only upper-cased letters. For more information about this resource, see docs.
|
|
637
|
+
"""
|
|
638
|
+
return pulumi.get(self, "query_warehouse")
|
|
639
|
+
|
|
640
|
+
@property
|
|
641
|
+
@pulumi.getter
|
|
642
|
+
def schema(self) -> pulumi.Output[str]:
|
|
643
|
+
"""
|
|
644
|
+
The schema in which to create the streamlit. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
|
|
645
|
+
"""
|
|
646
|
+
return pulumi.get(self, "schema")
|
|
647
|
+
|
|
648
|
+
@property
|
|
649
|
+
@pulumi.getter(name="showOutputs")
|
|
650
|
+
def show_outputs(self) -> pulumi.Output[Sequence['outputs.StreamlitShowOutput']]:
|
|
651
|
+
"""
|
|
652
|
+
Outputs the result of `SHOW STREAMLIT` for the given streamlit.
|
|
653
|
+
"""
|
|
654
|
+
return pulumi.get(self, "show_outputs")
|
|
655
|
+
|
|
656
|
+
@property
|
|
657
|
+
@pulumi.getter
|
|
658
|
+
def stage(self) -> pulumi.Output[str]:
|
|
659
|
+
"""
|
|
660
|
+
The stage in which streamlit files are located. For more information about this resource, see docs.
|
|
661
|
+
"""
|
|
662
|
+
return pulumi.get(self, "stage")
|
|
663
|
+
|
|
664
|
+
@property
|
|
665
|
+
@pulumi.getter
|
|
666
|
+
def title(self) -> pulumi.Output[Optional[str]]:
|
|
667
|
+
"""
|
|
668
|
+
Specifies a title for the Streamlit app to display in Snowsight.
|
|
669
|
+
"""
|
|
670
|
+
return pulumi.get(self, "title")
|
|
671
|
+
|