pulumi-snowflake 2.3.0a1753339260__py3-none-any.whl → 2.3.0a1753415140__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 +20 -1
- pulumi_snowflake/_inputs.py +17236 -16797
- pulumi_snowflake/account.py +252 -253
- pulumi_snowflake/account_authentication_policy_attachment.py +18 -19
- pulumi_snowflake/account_parameter.py +35 -36
- pulumi_snowflake/account_password_policy_attachment.py +18 -19
- pulumi_snowflake/account_role.py +42 -43
- pulumi_snowflake/alert.py +149 -150
- pulumi_snowflake/api_authentication_integration_with_authorization_code_grant.py +197 -198
- pulumi_snowflake/api_authentication_integration_with_client_credentials.py +180 -181
- pulumi_snowflake/api_authentication_integration_with_jwt_bearer.py +193 -194
- pulumi_snowflake/api_integration.py +251 -252
- pulumi_snowflake/authentication_policy.py +167 -168
- pulumi_snowflake/compute_pool.py +167 -168
- pulumi_snowflake/config/__init__.py +1 -1
- pulumi_snowflake/config/__init__.pyi +1 -2
- pulumi_snowflake/config/outputs.py +21 -22
- pulumi_snowflake/config/vars.py +43 -44
- pulumi_snowflake/cortex_search_service.py +191 -192
- pulumi_snowflake/current_account.py +2096 -2097
- pulumi_snowflake/current_organization_account.py +5863 -0
- pulumi_snowflake/database.py +353 -354
- pulumi_snowflake/database_role.py +63 -64
- pulumi_snowflake/dynamic_table.py +274 -275
- pulumi_snowflake/email_notification_integration.py +70 -71
- pulumi_snowflake/execute.py +61 -62
- pulumi_snowflake/external_function.py +280 -281
- pulumi_snowflake/external_oauth_integration.py +288 -289
- pulumi_snowflake/external_table.py +246 -247
- pulumi_snowflake/external_volume.py +68 -69
- pulumi_snowflake/failover_group.py +135 -136
- pulumi_snowflake/file_format.py +622 -623
- pulumi_snowflake/function_java.py +320 -321
- pulumi_snowflake/function_javascript.py +243 -244
- pulumi_snowflake/function_python.py +334 -335
- pulumi_snowflake/function_scala.py +320 -321
- pulumi_snowflake/function_sql.py +226 -227
- pulumi_snowflake/get_account_roles.py +16 -17
- pulumi_snowflake/get_accounts.py +16 -17
- pulumi_snowflake/get_alerts.py +22 -23
- pulumi_snowflake/get_compute_pools.py +23 -24
- pulumi_snowflake/get_connections.py +10 -11
- pulumi_snowflake/get_cortex_search_services.py +18 -19
- pulumi_snowflake/get_current_account.py +9 -10
- pulumi_snowflake/get_current_role.py +5 -6
- pulumi_snowflake/get_database.py +25 -26
- pulumi_snowflake/get_database_role.py +19 -20
- pulumi_snowflake/get_database_roles.py +17 -18
- pulumi_snowflake/get_databases.py +29 -30
- pulumi_snowflake/get_dynamic_tables.py +13 -14
- pulumi_snowflake/get_external_functions.py +16 -17
- pulumi_snowflake/get_external_tables.py +16 -17
- pulumi_snowflake/get_failover_groups.py +10 -11
- pulumi_snowflake/get_file_formats.py +16 -17
- pulumi_snowflake/get_functions.py +16 -17
- pulumi_snowflake/get_git_repositories.py +18 -19
- pulumi_snowflake/get_grants.py +9 -10
- pulumi_snowflake/get_image_repositories.py +11 -12
- pulumi_snowflake/get_masking_policies.py +18 -19
- pulumi_snowflake/get_materialized_views.py +16 -17
- pulumi_snowflake/get_network_policies.py +16 -17
- pulumi_snowflake/get_parameters.py +34 -35
- pulumi_snowflake/get_pipes.py +16 -17
- pulumi_snowflake/get_procedures.py +16 -17
- pulumi_snowflake/get_resource_monitors.py +10 -11
- pulumi_snowflake/get_row_access_policies.py +18 -19
- pulumi_snowflake/get_schemas.py +30 -31
- pulumi_snowflake/get_secrets.py +17 -18
- pulumi_snowflake/get_security_integrations.py +16 -17
- pulumi_snowflake/get_sequences.py +16 -17
- pulumi_snowflake/get_services.py +30 -31
- pulumi_snowflake/get_shares.py +10 -11
- pulumi_snowflake/get_stages.py +16 -17
- pulumi_snowflake/get_storage_integrations.py +4 -5
- pulumi_snowflake/get_streamlits.py +18 -19
- pulumi_snowflake/get_streams.py +24 -25
- pulumi_snowflake/get_system_generate_scim_access_token.py +11 -12
- pulumi_snowflake/get_system_get_aws_sns_iam_policy.py +11 -12
- pulumi_snowflake/get_system_get_private_link_config.py +21 -22
- pulumi_snowflake/get_system_get_snowflake_platform_info.py +7 -8
- pulumi_snowflake/get_tables.py +24 -25
- pulumi_snowflake/get_tags.py +11 -12
- pulumi_snowflake/get_tasks.py +30 -31
- pulumi_snowflake/get_user_programmatic_access_tokens.py +113 -0
- pulumi_snowflake/get_users.py +29 -30
- pulumi_snowflake/get_views.py +24 -25
- pulumi_snowflake/get_warehouses.py +22 -23
- pulumi_snowflake/git_repository.py +133 -134
- pulumi_snowflake/grant_account_role.py +52 -53
- pulumi_snowflake/grant_application_role.py +52 -53
- pulumi_snowflake/grant_database_role.py +69 -70
- pulumi_snowflake/grant_ownership.py +55 -56
- pulumi_snowflake/grant_privileges_to_account_role.py +125 -126
- pulumi_snowflake/grant_privileges_to_database_role.py +122 -123
- pulumi_snowflake/grant_privileges_to_share.py +154 -155
- pulumi_snowflake/image_repository.py +80 -81
- pulumi_snowflake/job_service.py +148 -149
- pulumi_snowflake/legacy_service_user.py +1269 -1270
- pulumi_snowflake/managed_account.py +140 -141
- pulumi_snowflake/masking_policy.py +136 -137
- pulumi_snowflake/materialized_view.py +149 -150
- pulumi_snowflake/network_policy.py +116 -117
- pulumi_snowflake/network_policy_attachment.py +52 -53
- pulumi_snowflake/network_rule.py +129 -130
- pulumi_snowflake/notification_integration.py +298 -299
- pulumi_snowflake/oauth_integration_for_custom_clients.py +263 -264
- pulumi_snowflake/oauth_integration_for_partner_applications.py +169 -170
- pulumi_snowflake/object_parameter.py +72 -73
- pulumi_snowflake/outputs.py +15957 -15511
- pulumi_snowflake/password_policy.py +299 -300
- pulumi_snowflake/pipe.py +181 -182
- pulumi_snowflake/primary_connection.py +70 -71
- pulumi_snowflake/procedure_java.py +341 -342
- pulumi_snowflake/procedure_javascript.py +247 -248
- pulumi_snowflake/procedure_python.py +338 -339
- pulumi_snowflake/procedure_scala.py +341 -342
- pulumi_snowflake/procedure_sql.py +247 -248
- pulumi_snowflake/provider.py +377 -378
- pulumi_snowflake/pulumi-plugin.json +1 -1
- pulumi_snowflake/resource_monitor.py +165 -166
- pulumi_snowflake/row_access_policy.py +102 -103
- pulumi_snowflake/saml2_integration.py +303 -304
- pulumi_snowflake/schema.py +390 -391
- pulumi_snowflake/scim_integration.py +133 -134
- pulumi_snowflake/secondary_connection.py +72 -73
- pulumi_snowflake/secondary_database.py +350 -351
- pulumi_snowflake/secret_with_authorization_code_grant.py +138 -139
- pulumi_snowflake/secret_with_basic_authentication.py +121 -122
- pulumi_snowflake/secret_with_client_credentials.py +125 -126
- pulumi_snowflake/secret_with_generic_string.py +104 -105
- pulumi_snowflake/sequence.py +121 -122
- pulumi_snowflake/service.py +233 -234
- pulumi_snowflake/service_user.py +1239 -1240
- pulumi_snowflake/share.py +61 -62
- pulumi_snowflake/shared_database.py +299 -300
- pulumi_snowflake/stage.py +234 -235
- pulumi_snowflake/storage_integration.py +230 -231
- pulumi_snowflake/stream_on_directory_table.py +128 -129
- pulumi_snowflake/stream_on_external_table.py +151 -152
- pulumi_snowflake/stream_on_table.py +164 -165
- pulumi_snowflake/stream_on_view.py +164 -165
- pulumi_snowflake/streamlit.py +184 -185
- pulumi_snowflake/table.py +147 -148
- pulumi_snowflake/table_column_masking_policy_application.py +52 -53
- pulumi_snowflake/table_constraint.py +191 -192
- pulumi_snowflake/tag.py +114 -115
- pulumi_snowflake/tag_association.py +86 -87
- pulumi_snowflake/task.py +1224 -1225
- pulumi_snowflake/user.py +1346 -1347
- pulumi_snowflake/user_authentication_policy_attachment.py +35 -36
- pulumi_snowflake/user_password_policy_attachment.py +35 -36
- pulumi_snowflake/user_programmatic_access_token.py +598 -0
- pulumi_snowflake/user_public_keys.py +52 -53
- pulumi_snowflake/view.py +187 -188
- pulumi_snowflake/warehouse.py +286 -287
- {pulumi_snowflake-2.3.0a1753339260.dist-info → pulumi_snowflake-2.3.0a1753415140.dist-info}/METADATA +1 -1
- pulumi_snowflake-2.3.0a1753415140.dist-info/RECORD +161 -0
- pulumi_snowflake-2.3.0a1753339260.dist-info/RECORD +0 -158
- {pulumi_snowflake-2.3.0a1753339260.dist-info → pulumi_snowflake-2.3.0a1753415140.dist-info}/WHEEL +0 -0
- {pulumi_snowflake-2.3.0a1753339260.dist-info → pulumi_snowflake-2.3.0a1753415140.dist-info}/top_level.txt +0 -0
|
@@ -2,8 +2,7 @@
|
|
|
2
2
|
# *** WARNING: this file was generated by pulumi-language-python. ***
|
|
3
3
|
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
4
|
|
|
5
|
-
import builtins
|
|
6
|
-
import copy
|
|
5
|
+
import builtins as _builtins
|
|
7
6
|
import warnings
|
|
8
7
|
import sys
|
|
9
8
|
import pulumi
|
|
@@ -23,23 +22,23 @@ __all__ = ['MaskingPolicyArgs', 'MaskingPolicy']
|
|
|
23
22
|
class MaskingPolicyArgs:
|
|
24
23
|
def __init__(__self__, *,
|
|
25
24
|
arguments: pulumi.Input[Sequence[pulumi.Input['MaskingPolicyArgumentArgs']]],
|
|
26
|
-
body: pulumi.Input[
|
|
27
|
-
database: pulumi.Input[
|
|
28
|
-
return_data_type: pulumi.Input[
|
|
29
|
-
schema: pulumi.Input[
|
|
30
|
-
comment: Optional[pulumi.Input[
|
|
31
|
-
exempt_other_policies: Optional[pulumi.Input[
|
|
32
|
-
name: Optional[pulumi.Input[
|
|
25
|
+
body: pulumi.Input[_builtins.str],
|
|
26
|
+
database: pulumi.Input[_builtins.str],
|
|
27
|
+
return_data_type: pulumi.Input[_builtins.str],
|
|
28
|
+
schema: pulumi.Input[_builtins.str],
|
|
29
|
+
comment: Optional[pulumi.Input[_builtins.str]] = None,
|
|
30
|
+
exempt_other_policies: Optional[pulumi.Input[_builtins.str]] = None,
|
|
31
|
+
name: Optional[pulumi.Input[_builtins.str]] = None):
|
|
33
32
|
"""
|
|
34
33
|
The set of arguments for constructing a MaskingPolicy resource.
|
|
35
34
|
:param pulumi.Input[Sequence[pulumi.Input['MaskingPolicyArgumentArgs']]] arguments: List of the arguments for the masking policy. The first column and its data type always indicate the column data type values to mask or tokenize in the subsequent policy conditions. Note that you can not specify a virtual column as the first column argument in a conditional masking policy.
|
|
36
|
-
:param pulumi.Input[
|
|
37
|
-
:param pulumi.Input[
|
|
38
|
-
:param pulumi.Input[
|
|
39
|
-
:param pulumi.Input[
|
|
40
|
-
:param pulumi.Input[
|
|
41
|
-
:param pulumi.Input[
|
|
42
|
-
:param pulumi.Input[
|
|
35
|
+
:param pulumi.Input[_builtins.str] body: Specifies the SQL expression that transforms the data. To mitigate permadiff on this field, the provider replaces blank characters with a space. This can lead to false positives in cases where a change in case or run of whitespace is semantically significant.
|
|
36
|
+
:param pulumi.Input[_builtins.str] database: The database in which to create the masking policy. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
|
|
37
|
+
:param pulumi.Input[_builtins.str] return_data_type: The return data type must match the input data type of the first column that is specified as an input column. For more information about data types, check [Snowflake docs](https://docs.snowflake.com/en/sql-reference/intro-summary-data-types).
|
|
38
|
+
:param pulumi.Input[_builtins.str] schema: The schema in which to create the masking policy. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
|
|
39
|
+
:param pulumi.Input[_builtins.str] comment: Specifies a comment for the masking policy.
|
|
40
|
+
:param pulumi.Input[_builtins.str] exempt_other_policies: (Default: fallback to Snowflake default - uses special value that cannot be set in the configuration manually (`default`)) Specifies whether the row access policy or conditional masking policy can reference a column that is already protected by a masking policy. Due to Snowflake limitations, when value is changed, the resource is recreated. 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.
|
|
41
|
+
:param pulumi.Input[_builtins.str] name: Specifies the identifier for the masking policy; must be unique for the database and schema in which the masking policy is created. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
|
|
43
42
|
"""
|
|
44
43
|
pulumi.set(__self__, "arguments", arguments)
|
|
45
44
|
pulumi.set(__self__, "body", body)
|
|
@@ -53,7 +52,7 @@ class MaskingPolicyArgs:
|
|
|
53
52
|
if name is not None:
|
|
54
53
|
pulumi.set(__self__, "name", name)
|
|
55
54
|
|
|
56
|
-
@property
|
|
55
|
+
@_builtins.property
|
|
57
56
|
@pulumi.getter
|
|
58
57
|
def arguments(self) -> pulumi.Input[Sequence[pulumi.Input['MaskingPolicyArgumentArgs']]]:
|
|
59
58
|
"""
|
|
@@ -65,88 +64,88 @@ class MaskingPolicyArgs:
|
|
|
65
64
|
def arguments(self, value: pulumi.Input[Sequence[pulumi.Input['MaskingPolicyArgumentArgs']]]):
|
|
66
65
|
pulumi.set(self, "arguments", value)
|
|
67
66
|
|
|
68
|
-
@property
|
|
67
|
+
@_builtins.property
|
|
69
68
|
@pulumi.getter
|
|
70
|
-
def body(self) -> pulumi.Input[
|
|
69
|
+
def body(self) -> pulumi.Input[_builtins.str]:
|
|
71
70
|
"""
|
|
72
71
|
Specifies the SQL expression that transforms the data. To mitigate permadiff on this field, the provider replaces blank characters with a space. This can lead to false positives in cases where a change in case or run of whitespace is semantically significant.
|
|
73
72
|
"""
|
|
74
73
|
return pulumi.get(self, "body")
|
|
75
74
|
|
|
76
75
|
@body.setter
|
|
77
|
-
def body(self, value: pulumi.Input[
|
|
76
|
+
def body(self, value: pulumi.Input[_builtins.str]):
|
|
78
77
|
pulumi.set(self, "body", value)
|
|
79
78
|
|
|
80
|
-
@property
|
|
79
|
+
@_builtins.property
|
|
81
80
|
@pulumi.getter
|
|
82
|
-
def database(self) -> pulumi.Input[
|
|
81
|
+
def database(self) -> pulumi.Input[_builtins.str]:
|
|
83
82
|
"""
|
|
84
83
|
The database in which to create the masking policy. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
|
|
85
84
|
"""
|
|
86
85
|
return pulumi.get(self, "database")
|
|
87
86
|
|
|
88
87
|
@database.setter
|
|
89
|
-
def database(self, value: pulumi.Input[
|
|
88
|
+
def database(self, value: pulumi.Input[_builtins.str]):
|
|
90
89
|
pulumi.set(self, "database", value)
|
|
91
90
|
|
|
92
|
-
@property
|
|
91
|
+
@_builtins.property
|
|
93
92
|
@pulumi.getter(name="returnDataType")
|
|
94
|
-
def return_data_type(self) -> pulumi.Input[
|
|
93
|
+
def return_data_type(self) -> pulumi.Input[_builtins.str]:
|
|
95
94
|
"""
|
|
96
95
|
The return data type must match the input data type of the first column that is specified as an input column. For more information about data types, check [Snowflake docs](https://docs.snowflake.com/en/sql-reference/intro-summary-data-types).
|
|
97
96
|
"""
|
|
98
97
|
return pulumi.get(self, "return_data_type")
|
|
99
98
|
|
|
100
99
|
@return_data_type.setter
|
|
101
|
-
def return_data_type(self, value: pulumi.Input[
|
|
100
|
+
def return_data_type(self, value: pulumi.Input[_builtins.str]):
|
|
102
101
|
pulumi.set(self, "return_data_type", value)
|
|
103
102
|
|
|
104
|
-
@property
|
|
103
|
+
@_builtins.property
|
|
105
104
|
@pulumi.getter
|
|
106
|
-
def schema(self) -> pulumi.Input[
|
|
105
|
+
def schema(self) -> pulumi.Input[_builtins.str]:
|
|
107
106
|
"""
|
|
108
107
|
The schema in which to create the masking policy. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
|
|
109
108
|
"""
|
|
110
109
|
return pulumi.get(self, "schema")
|
|
111
110
|
|
|
112
111
|
@schema.setter
|
|
113
|
-
def schema(self, value: pulumi.Input[
|
|
112
|
+
def schema(self, value: pulumi.Input[_builtins.str]):
|
|
114
113
|
pulumi.set(self, "schema", value)
|
|
115
114
|
|
|
116
|
-
@property
|
|
115
|
+
@_builtins.property
|
|
117
116
|
@pulumi.getter
|
|
118
|
-
def comment(self) -> Optional[pulumi.Input[
|
|
117
|
+
def comment(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
119
118
|
"""
|
|
120
119
|
Specifies a comment for the masking policy.
|
|
121
120
|
"""
|
|
122
121
|
return pulumi.get(self, "comment")
|
|
123
122
|
|
|
124
123
|
@comment.setter
|
|
125
|
-
def comment(self, value: Optional[pulumi.Input[
|
|
124
|
+
def comment(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
126
125
|
pulumi.set(self, "comment", value)
|
|
127
126
|
|
|
128
|
-
@property
|
|
127
|
+
@_builtins.property
|
|
129
128
|
@pulumi.getter(name="exemptOtherPolicies")
|
|
130
|
-
def exempt_other_policies(self) -> Optional[pulumi.Input[
|
|
129
|
+
def exempt_other_policies(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
131
130
|
"""
|
|
132
131
|
(Default: fallback to Snowflake default - uses special value that cannot be set in the configuration manually (`default`)) Specifies whether the row access policy or conditional masking policy can reference a column that is already protected by a masking policy. Due to Snowflake limitations, when value is changed, the resource is recreated. 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.
|
|
133
132
|
"""
|
|
134
133
|
return pulumi.get(self, "exempt_other_policies")
|
|
135
134
|
|
|
136
135
|
@exempt_other_policies.setter
|
|
137
|
-
def exempt_other_policies(self, value: Optional[pulumi.Input[
|
|
136
|
+
def exempt_other_policies(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
138
137
|
pulumi.set(self, "exempt_other_policies", value)
|
|
139
138
|
|
|
140
|
-
@property
|
|
139
|
+
@_builtins.property
|
|
141
140
|
@pulumi.getter
|
|
142
|
-
def name(self) -> Optional[pulumi.Input[
|
|
141
|
+
def name(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
143
142
|
"""
|
|
144
143
|
Specifies the identifier for the masking policy; must be unique for the database and schema in which the masking policy is created. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
|
|
145
144
|
"""
|
|
146
145
|
return pulumi.get(self, "name")
|
|
147
146
|
|
|
148
147
|
@name.setter
|
|
149
|
-
def name(self, value: Optional[pulumi.Input[
|
|
148
|
+
def name(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
150
149
|
pulumi.set(self, "name", value)
|
|
151
150
|
|
|
152
151
|
|
|
@@ -154,28 +153,28 @@ class MaskingPolicyArgs:
|
|
|
154
153
|
class _MaskingPolicyState:
|
|
155
154
|
def __init__(__self__, *,
|
|
156
155
|
arguments: Optional[pulumi.Input[Sequence[pulumi.Input['MaskingPolicyArgumentArgs']]]] = None,
|
|
157
|
-
body: Optional[pulumi.Input[
|
|
158
|
-
comment: Optional[pulumi.Input[
|
|
159
|
-
database: Optional[pulumi.Input[
|
|
156
|
+
body: Optional[pulumi.Input[_builtins.str]] = None,
|
|
157
|
+
comment: Optional[pulumi.Input[_builtins.str]] = None,
|
|
158
|
+
database: Optional[pulumi.Input[_builtins.str]] = None,
|
|
160
159
|
describe_outputs: Optional[pulumi.Input[Sequence[pulumi.Input['MaskingPolicyDescribeOutputArgs']]]] = None,
|
|
161
|
-
exempt_other_policies: Optional[pulumi.Input[
|
|
162
|
-
fully_qualified_name: Optional[pulumi.Input[
|
|
163
|
-
name: Optional[pulumi.Input[
|
|
164
|
-
return_data_type: Optional[pulumi.Input[
|
|
165
|
-
schema: Optional[pulumi.Input[
|
|
160
|
+
exempt_other_policies: Optional[pulumi.Input[_builtins.str]] = None,
|
|
161
|
+
fully_qualified_name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
162
|
+
name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
163
|
+
return_data_type: Optional[pulumi.Input[_builtins.str]] = None,
|
|
164
|
+
schema: Optional[pulumi.Input[_builtins.str]] = None,
|
|
166
165
|
show_outputs: Optional[pulumi.Input[Sequence[pulumi.Input['MaskingPolicyShowOutputArgs']]]] = None):
|
|
167
166
|
"""
|
|
168
167
|
Input properties used for looking up and filtering MaskingPolicy resources.
|
|
169
168
|
:param pulumi.Input[Sequence[pulumi.Input['MaskingPolicyArgumentArgs']]] arguments: List of the arguments for the masking policy. The first column and its data type always indicate the column data type values to mask or tokenize in the subsequent policy conditions. Note that you can not specify a virtual column as the first column argument in a conditional masking policy.
|
|
170
|
-
:param pulumi.Input[
|
|
171
|
-
:param pulumi.Input[
|
|
172
|
-
:param pulumi.Input[
|
|
169
|
+
:param pulumi.Input[_builtins.str] body: Specifies the SQL expression that transforms the data. To mitigate permadiff on this field, the provider replaces blank characters with a space. This can lead to false positives in cases where a change in case or run of whitespace is semantically significant.
|
|
170
|
+
:param pulumi.Input[_builtins.str] comment: Specifies a comment for the masking policy.
|
|
171
|
+
:param pulumi.Input[_builtins.str] database: The database in which to create the masking policy. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
|
|
173
172
|
:param pulumi.Input[Sequence[pulumi.Input['MaskingPolicyDescribeOutputArgs']]] describe_outputs: Outputs the result of `DESCRIBE MASKING POLICY` for the given masking policy.
|
|
174
|
-
:param pulumi.Input[
|
|
175
|
-
:param pulumi.Input[
|
|
176
|
-
:param pulumi.Input[
|
|
177
|
-
:param pulumi.Input[
|
|
178
|
-
:param pulumi.Input[
|
|
173
|
+
:param pulumi.Input[_builtins.str] exempt_other_policies: (Default: fallback to Snowflake default - uses special value that cannot be set in the configuration manually (`default`)) Specifies whether the row access policy or conditional masking policy can reference a column that is already protected by a masking policy. Due to Snowflake limitations, when value is changed, the resource is recreated. 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.
|
|
174
|
+
:param pulumi.Input[_builtins.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).
|
|
175
|
+
:param pulumi.Input[_builtins.str] name: Specifies the identifier for the masking policy; must be unique for the database and schema in which the masking policy is created. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
|
|
176
|
+
:param pulumi.Input[_builtins.str] return_data_type: The return data type must match the input data type of the first column that is specified as an input column. For more information about data types, check [Snowflake docs](https://docs.snowflake.com/en/sql-reference/intro-summary-data-types).
|
|
177
|
+
:param pulumi.Input[_builtins.str] schema: The schema in which to create the masking policy. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
|
|
179
178
|
:param pulumi.Input[Sequence[pulumi.Input['MaskingPolicyShowOutputArgs']]] show_outputs: Outputs the result of `SHOW MASKING POLICIES` for the given masking policy.
|
|
180
179
|
"""
|
|
181
180
|
if arguments is not None:
|
|
@@ -201,7 +200,7 @@ class _MaskingPolicyState:
|
|
|
201
200
|
if show_outputs is not None:
|
|
202
201
|
pulumi.set(__self__, "show_outputs", show_outputs)
|
|
203
202
|
|
|
204
|
-
@property
|
|
203
|
+
@_builtins.property
|
|
205
204
|
@pulumi.getter
|
|
206
205
|
def arguments(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['MaskingPolicyArgumentArgs']]]]:
|
|
207
206
|
"""
|
|
@@ -213,43 +212,43 @@ class _MaskingPolicyState:
|
|
|
213
212
|
def arguments(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['MaskingPolicyArgumentArgs']]]]):
|
|
214
213
|
pulumi.set(self, "arguments", value)
|
|
215
214
|
|
|
216
|
-
@property
|
|
215
|
+
@_builtins.property
|
|
217
216
|
@pulumi.getter
|
|
218
|
-
def body(self) -> Optional[pulumi.Input[
|
|
217
|
+
def body(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
219
218
|
"""
|
|
220
219
|
Specifies the SQL expression that transforms the data. To mitigate permadiff on this field, the provider replaces blank characters with a space. This can lead to false positives in cases where a change in case or run of whitespace is semantically significant.
|
|
221
220
|
"""
|
|
222
221
|
return pulumi.get(self, "body")
|
|
223
222
|
|
|
224
223
|
@body.setter
|
|
225
|
-
def body(self, value: Optional[pulumi.Input[
|
|
224
|
+
def body(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
226
225
|
pulumi.set(self, "body", value)
|
|
227
226
|
|
|
228
|
-
@property
|
|
227
|
+
@_builtins.property
|
|
229
228
|
@pulumi.getter
|
|
230
|
-
def comment(self) -> Optional[pulumi.Input[
|
|
229
|
+
def comment(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
231
230
|
"""
|
|
232
231
|
Specifies a comment for the masking policy.
|
|
233
232
|
"""
|
|
234
233
|
return pulumi.get(self, "comment")
|
|
235
234
|
|
|
236
235
|
@comment.setter
|
|
237
|
-
def comment(self, value: Optional[pulumi.Input[
|
|
236
|
+
def comment(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
238
237
|
pulumi.set(self, "comment", value)
|
|
239
238
|
|
|
240
|
-
@property
|
|
239
|
+
@_builtins.property
|
|
241
240
|
@pulumi.getter
|
|
242
|
-
def database(self) -> Optional[pulumi.Input[
|
|
241
|
+
def database(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
243
242
|
"""
|
|
244
243
|
The database in which to create the masking policy. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
|
|
245
244
|
"""
|
|
246
245
|
return pulumi.get(self, "database")
|
|
247
246
|
|
|
248
247
|
@database.setter
|
|
249
|
-
def database(self, value: Optional[pulumi.Input[
|
|
248
|
+
def database(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
250
249
|
pulumi.set(self, "database", value)
|
|
251
250
|
|
|
252
|
-
@property
|
|
251
|
+
@_builtins.property
|
|
253
252
|
@pulumi.getter(name="describeOutputs")
|
|
254
253
|
def describe_outputs(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['MaskingPolicyDescribeOutputArgs']]]]:
|
|
255
254
|
"""
|
|
@@ -261,67 +260,67 @@ class _MaskingPolicyState:
|
|
|
261
260
|
def describe_outputs(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['MaskingPolicyDescribeOutputArgs']]]]):
|
|
262
261
|
pulumi.set(self, "describe_outputs", value)
|
|
263
262
|
|
|
264
|
-
@property
|
|
263
|
+
@_builtins.property
|
|
265
264
|
@pulumi.getter(name="exemptOtherPolicies")
|
|
266
|
-
def exempt_other_policies(self) -> Optional[pulumi.Input[
|
|
265
|
+
def exempt_other_policies(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
267
266
|
"""
|
|
268
267
|
(Default: fallback to Snowflake default - uses special value that cannot be set in the configuration manually (`default`)) Specifies whether the row access policy or conditional masking policy can reference a column that is already protected by a masking policy. Due to Snowflake limitations, when value is changed, the resource is recreated. 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.
|
|
269
268
|
"""
|
|
270
269
|
return pulumi.get(self, "exempt_other_policies")
|
|
271
270
|
|
|
272
271
|
@exempt_other_policies.setter
|
|
273
|
-
def exempt_other_policies(self, value: Optional[pulumi.Input[
|
|
272
|
+
def exempt_other_policies(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
274
273
|
pulumi.set(self, "exempt_other_policies", value)
|
|
275
274
|
|
|
276
|
-
@property
|
|
275
|
+
@_builtins.property
|
|
277
276
|
@pulumi.getter(name="fullyQualifiedName")
|
|
278
|
-
def fully_qualified_name(self) -> Optional[pulumi.Input[
|
|
277
|
+
def fully_qualified_name(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
279
278
|
"""
|
|
280
279
|
Fully qualified name of the resource. For more information, see [object name resolution](https://docs.snowflake.com/en/sql-reference/name-resolution).
|
|
281
280
|
"""
|
|
282
281
|
return pulumi.get(self, "fully_qualified_name")
|
|
283
282
|
|
|
284
283
|
@fully_qualified_name.setter
|
|
285
|
-
def fully_qualified_name(self, value: Optional[pulumi.Input[
|
|
284
|
+
def fully_qualified_name(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
286
285
|
pulumi.set(self, "fully_qualified_name", value)
|
|
287
286
|
|
|
288
|
-
@property
|
|
287
|
+
@_builtins.property
|
|
289
288
|
@pulumi.getter
|
|
290
|
-
def name(self) -> Optional[pulumi.Input[
|
|
289
|
+
def name(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
291
290
|
"""
|
|
292
291
|
Specifies the identifier for the masking policy; must be unique for the database and schema in which the masking policy is created. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
|
|
293
292
|
"""
|
|
294
293
|
return pulumi.get(self, "name")
|
|
295
294
|
|
|
296
295
|
@name.setter
|
|
297
|
-
def name(self, value: Optional[pulumi.Input[
|
|
296
|
+
def name(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
298
297
|
pulumi.set(self, "name", value)
|
|
299
298
|
|
|
300
|
-
@property
|
|
299
|
+
@_builtins.property
|
|
301
300
|
@pulumi.getter(name="returnDataType")
|
|
302
|
-
def return_data_type(self) -> Optional[pulumi.Input[
|
|
301
|
+
def return_data_type(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
303
302
|
"""
|
|
304
303
|
The return data type must match the input data type of the first column that is specified as an input column. For more information about data types, check [Snowflake docs](https://docs.snowflake.com/en/sql-reference/intro-summary-data-types).
|
|
305
304
|
"""
|
|
306
305
|
return pulumi.get(self, "return_data_type")
|
|
307
306
|
|
|
308
307
|
@return_data_type.setter
|
|
309
|
-
def return_data_type(self, value: Optional[pulumi.Input[
|
|
308
|
+
def return_data_type(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
310
309
|
pulumi.set(self, "return_data_type", value)
|
|
311
310
|
|
|
312
|
-
@property
|
|
311
|
+
@_builtins.property
|
|
313
312
|
@pulumi.getter
|
|
314
|
-
def schema(self) -> Optional[pulumi.Input[
|
|
313
|
+
def schema(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
315
314
|
"""
|
|
316
315
|
The schema in which to create the masking policy. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
|
|
317
316
|
"""
|
|
318
317
|
return pulumi.get(self, "schema")
|
|
319
318
|
|
|
320
319
|
@schema.setter
|
|
321
|
-
def schema(self, value: Optional[pulumi.Input[
|
|
320
|
+
def schema(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
322
321
|
pulumi.set(self, "schema", value)
|
|
323
322
|
|
|
324
|
-
@property
|
|
323
|
+
@_builtins.property
|
|
325
324
|
@pulumi.getter(name="showOutputs")
|
|
326
325
|
def show_outputs(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['MaskingPolicyShowOutputArgs']]]]:
|
|
327
326
|
"""
|
|
@@ -341,13 +340,13 @@ class MaskingPolicy(pulumi.CustomResource):
|
|
|
341
340
|
resource_name: str,
|
|
342
341
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
343
342
|
arguments: Optional[pulumi.Input[Sequence[pulumi.Input[Union['MaskingPolicyArgumentArgs', 'MaskingPolicyArgumentArgsDict']]]]] = None,
|
|
344
|
-
body: Optional[pulumi.Input[
|
|
345
|
-
comment: Optional[pulumi.Input[
|
|
346
|
-
database: Optional[pulumi.Input[
|
|
347
|
-
exempt_other_policies: Optional[pulumi.Input[
|
|
348
|
-
name: Optional[pulumi.Input[
|
|
349
|
-
return_data_type: Optional[pulumi.Input[
|
|
350
|
-
schema: Optional[pulumi.Input[
|
|
343
|
+
body: Optional[pulumi.Input[_builtins.str]] = None,
|
|
344
|
+
comment: Optional[pulumi.Input[_builtins.str]] = None,
|
|
345
|
+
database: Optional[pulumi.Input[_builtins.str]] = None,
|
|
346
|
+
exempt_other_policies: Optional[pulumi.Input[_builtins.str]] = None,
|
|
347
|
+
name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
348
|
+
return_data_type: Optional[pulumi.Input[_builtins.str]] = None,
|
|
349
|
+
schema: Optional[pulumi.Input[_builtins.str]] = None,
|
|
351
350
|
__props__=None):
|
|
352
351
|
"""
|
|
353
352
|
## Import
|
|
@@ -359,13 +358,13 @@ class MaskingPolicy(pulumi.CustomResource):
|
|
|
359
358
|
:param str resource_name: The name of the resource.
|
|
360
359
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
361
360
|
:param pulumi.Input[Sequence[pulumi.Input[Union['MaskingPolicyArgumentArgs', 'MaskingPolicyArgumentArgsDict']]]] arguments: List of the arguments for the masking policy. The first column and its data type always indicate the column data type values to mask or tokenize in the subsequent policy conditions. Note that you can not specify a virtual column as the first column argument in a conditional masking policy.
|
|
362
|
-
:param pulumi.Input[
|
|
363
|
-
:param pulumi.Input[
|
|
364
|
-
:param pulumi.Input[
|
|
365
|
-
:param pulumi.Input[
|
|
366
|
-
:param pulumi.Input[
|
|
367
|
-
:param pulumi.Input[
|
|
368
|
-
:param pulumi.Input[
|
|
361
|
+
:param pulumi.Input[_builtins.str] body: Specifies the SQL expression that transforms the data. To mitigate permadiff on this field, the provider replaces blank characters with a space. This can lead to false positives in cases where a change in case or run of whitespace is semantically significant.
|
|
362
|
+
:param pulumi.Input[_builtins.str] comment: Specifies a comment for the masking policy.
|
|
363
|
+
:param pulumi.Input[_builtins.str] database: The database in which to create the masking policy. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
|
|
364
|
+
:param pulumi.Input[_builtins.str] exempt_other_policies: (Default: fallback to Snowflake default - uses special value that cannot be set in the configuration manually (`default`)) Specifies whether the row access policy or conditional masking policy can reference a column that is already protected by a masking policy. Due to Snowflake limitations, when value is changed, the resource is recreated. 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.
|
|
365
|
+
:param pulumi.Input[_builtins.str] name: Specifies the identifier for the masking policy; must be unique for the database and schema in which the masking policy is created. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
|
|
366
|
+
:param pulumi.Input[_builtins.str] return_data_type: The return data type must match the input data type of the first column that is specified as an input column. For more information about data types, check [Snowflake docs](https://docs.snowflake.com/en/sql-reference/intro-summary-data-types).
|
|
367
|
+
:param pulumi.Input[_builtins.str] schema: The schema in which to create the masking policy. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
|
|
369
368
|
"""
|
|
370
369
|
...
|
|
371
370
|
@overload
|
|
@@ -396,13 +395,13 @@ class MaskingPolicy(pulumi.CustomResource):
|
|
|
396
395
|
resource_name: str,
|
|
397
396
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
398
397
|
arguments: Optional[pulumi.Input[Sequence[pulumi.Input[Union['MaskingPolicyArgumentArgs', 'MaskingPolicyArgumentArgsDict']]]]] = None,
|
|
399
|
-
body: Optional[pulumi.Input[
|
|
400
|
-
comment: Optional[pulumi.Input[
|
|
401
|
-
database: Optional[pulumi.Input[
|
|
402
|
-
exempt_other_policies: Optional[pulumi.Input[
|
|
403
|
-
name: Optional[pulumi.Input[
|
|
404
|
-
return_data_type: Optional[pulumi.Input[
|
|
405
|
-
schema: Optional[pulumi.Input[
|
|
398
|
+
body: Optional[pulumi.Input[_builtins.str]] = None,
|
|
399
|
+
comment: Optional[pulumi.Input[_builtins.str]] = None,
|
|
400
|
+
database: Optional[pulumi.Input[_builtins.str]] = None,
|
|
401
|
+
exempt_other_policies: Optional[pulumi.Input[_builtins.str]] = None,
|
|
402
|
+
name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
403
|
+
return_data_type: Optional[pulumi.Input[_builtins.str]] = None,
|
|
404
|
+
schema: Optional[pulumi.Input[_builtins.str]] = None,
|
|
406
405
|
__props__=None):
|
|
407
406
|
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
|
408
407
|
if not isinstance(opts, pulumi.ResourceOptions):
|
|
@@ -444,15 +443,15 @@ class MaskingPolicy(pulumi.CustomResource):
|
|
|
444
443
|
id: pulumi.Input[str],
|
|
445
444
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
446
445
|
arguments: Optional[pulumi.Input[Sequence[pulumi.Input[Union['MaskingPolicyArgumentArgs', 'MaskingPolicyArgumentArgsDict']]]]] = None,
|
|
447
|
-
body: Optional[pulumi.Input[
|
|
448
|
-
comment: Optional[pulumi.Input[
|
|
449
|
-
database: Optional[pulumi.Input[
|
|
446
|
+
body: Optional[pulumi.Input[_builtins.str]] = None,
|
|
447
|
+
comment: Optional[pulumi.Input[_builtins.str]] = None,
|
|
448
|
+
database: Optional[pulumi.Input[_builtins.str]] = None,
|
|
450
449
|
describe_outputs: Optional[pulumi.Input[Sequence[pulumi.Input[Union['MaskingPolicyDescribeOutputArgs', 'MaskingPolicyDescribeOutputArgsDict']]]]] = None,
|
|
451
|
-
exempt_other_policies: Optional[pulumi.Input[
|
|
452
|
-
fully_qualified_name: Optional[pulumi.Input[
|
|
453
|
-
name: Optional[pulumi.Input[
|
|
454
|
-
return_data_type: Optional[pulumi.Input[
|
|
455
|
-
schema: Optional[pulumi.Input[
|
|
450
|
+
exempt_other_policies: Optional[pulumi.Input[_builtins.str]] = None,
|
|
451
|
+
fully_qualified_name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
452
|
+
name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
453
|
+
return_data_type: Optional[pulumi.Input[_builtins.str]] = None,
|
|
454
|
+
schema: Optional[pulumi.Input[_builtins.str]] = None,
|
|
456
455
|
show_outputs: Optional[pulumi.Input[Sequence[pulumi.Input[Union['MaskingPolicyShowOutputArgs', 'MaskingPolicyShowOutputArgsDict']]]]] = None) -> 'MaskingPolicy':
|
|
457
456
|
"""
|
|
458
457
|
Get an existing MaskingPolicy resource's state with the given name, id, and optional extra
|
|
@@ -462,15 +461,15 @@ class MaskingPolicy(pulumi.CustomResource):
|
|
|
462
461
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
463
462
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
464
463
|
:param pulumi.Input[Sequence[pulumi.Input[Union['MaskingPolicyArgumentArgs', 'MaskingPolicyArgumentArgsDict']]]] arguments: List of the arguments for the masking policy. The first column and its data type always indicate the column data type values to mask or tokenize in the subsequent policy conditions. Note that you can not specify a virtual column as the first column argument in a conditional masking policy.
|
|
465
|
-
:param pulumi.Input[
|
|
466
|
-
:param pulumi.Input[
|
|
467
|
-
:param pulumi.Input[
|
|
464
|
+
:param pulumi.Input[_builtins.str] body: Specifies the SQL expression that transforms the data. To mitigate permadiff on this field, the provider replaces blank characters with a space. This can lead to false positives in cases where a change in case or run of whitespace is semantically significant.
|
|
465
|
+
:param pulumi.Input[_builtins.str] comment: Specifies a comment for the masking policy.
|
|
466
|
+
:param pulumi.Input[_builtins.str] database: The database in which to create the masking policy. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
|
|
468
467
|
:param pulumi.Input[Sequence[pulumi.Input[Union['MaskingPolicyDescribeOutputArgs', 'MaskingPolicyDescribeOutputArgsDict']]]] describe_outputs: Outputs the result of `DESCRIBE MASKING POLICY` for the given masking policy.
|
|
469
|
-
:param pulumi.Input[
|
|
470
|
-
:param pulumi.Input[
|
|
471
|
-
:param pulumi.Input[
|
|
472
|
-
:param pulumi.Input[
|
|
473
|
-
:param pulumi.Input[
|
|
468
|
+
:param pulumi.Input[_builtins.str] exempt_other_policies: (Default: fallback to Snowflake default - uses special value that cannot be set in the configuration manually (`default`)) Specifies whether the row access policy or conditional masking policy can reference a column that is already protected by a masking policy. Due to Snowflake limitations, when value is changed, the resource is recreated. 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.
|
|
469
|
+
:param pulumi.Input[_builtins.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).
|
|
470
|
+
:param pulumi.Input[_builtins.str] name: Specifies the identifier for the masking policy; must be unique for the database and schema in which the masking policy is created. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
|
|
471
|
+
:param pulumi.Input[_builtins.str] return_data_type: The return data type must match the input data type of the first column that is specified as an input column. For more information about data types, check [Snowflake docs](https://docs.snowflake.com/en/sql-reference/intro-summary-data-types).
|
|
472
|
+
:param pulumi.Input[_builtins.str] schema: The schema in which to create the masking policy. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
|
|
474
473
|
:param pulumi.Input[Sequence[pulumi.Input[Union['MaskingPolicyShowOutputArgs', 'MaskingPolicyShowOutputArgsDict']]]] show_outputs: Outputs the result of `SHOW MASKING POLICIES` for the given masking policy.
|
|
475
474
|
"""
|
|
476
475
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
@@ -490,7 +489,7 @@ class MaskingPolicy(pulumi.CustomResource):
|
|
|
490
489
|
__props__.__dict__["show_outputs"] = show_outputs
|
|
491
490
|
return MaskingPolicy(resource_name, opts=opts, __props__=__props__)
|
|
492
491
|
|
|
493
|
-
@property
|
|
492
|
+
@_builtins.property
|
|
494
493
|
@pulumi.getter
|
|
495
494
|
def arguments(self) -> pulumi.Output[Sequence['outputs.MaskingPolicyArgument']]:
|
|
496
495
|
"""
|
|
@@ -498,31 +497,31 @@ class MaskingPolicy(pulumi.CustomResource):
|
|
|
498
497
|
"""
|
|
499
498
|
return pulumi.get(self, "arguments")
|
|
500
499
|
|
|
501
|
-
@property
|
|
500
|
+
@_builtins.property
|
|
502
501
|
@pulumi.getter
|
|
503
|
-
def body(self) -> pulumi.Output[
|
|
502
|
+
def body(self) -> pulumi.Output[_builtins.str]:
|
|
504
503
|
"""
|
|
505
504
|
Specifies the SQL expression that transforms the data. To mitigate permadiff on this field, the provider replaces blank characters with a space. This can lead to false positives in cases where a change in case or run of whitespace is semantically significant.
|
|
506
505
|
"""
|
|
507
506
|
return pulumi.get(self, "body")
|
|
508
507
|
|
|
509
|
-
@property
|
|
508
|
+
@_builtins.property
|
|
510
509
|
@pulumi.getter
|
|
511
|
-
def comment(self) -> pulumi.Output[Optional[
|
|
510
|
+
def comment(self) -> pulumi.Output[Optional[_builtins.str]]:
|
|
512
511
|
"""
|
|
513
512
|
Specifies a comment for the masking policy.
|
|
514
513
|
"""
|
|
515
514
|
return pulumi.get(self, "comment")
|
|
516
515
|
|
|
517
|
-
@property
|
|
516
|
+
@_builtins.property
|
|
518
517
|
@pulumi.getter
|
|
519
|
-
def database(self) -> pulumi.Output[
|
|
518
|
+
def database(self) -> pulumi.Output[_builtins.str]:
|
|
520
519
|
"""
|
|
521
520
|
The database in which to create the masking policy. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
|
|
522
521
|
"""
|
|
523
522
|
return pulumi.get(self, "database")
|
|
524
523
|
|
|
525
|
-
@property
|
|
524
|
+
@_builtins.property
|
|
526
525
|
@pulumi.getter(name="describeOutputs")
|
|
527
526
|
def describe_outputs(self) -> pulumi.Output[Sequence['outputs.MaskingPolicyDescribeOutput']]:
|
|
528
527
|
"""
|
|
@@ -530,47 +529,47 @@ class MaskingPolicy(pulumi.CustomResource):
|
|
|
530
529
|
"""
|
|
531
530
|
return pulumi.get(self, "describe_outputs")
|
|
532
531
|
|
|
533
|
-
@property
|
|
532
|
+
@_builtins.property
|
|
534
533
|
@pulumi.getter(name="exemptOtherPolicies")
|
|
535
|
-
def exempt_other_policies(self) -> pulumi.Output[Optional[
|
|
534
|
+
def exempt_other_policies(self) -> pulumi.Output[Optional[_builtins.str]]:
|
|
536
535
|
"""
|
|
537
536
|
(Default: fallback to Snowflake default - uses special value that cannot be set in the configuration manually (`default`)) Specifies whether the row access policy or conditional masking policy can reference a column that is already protected by a masking policy. Due to Snowflake limitations, when value is changed, the resource is recreated. 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.
|
|
538
537
|
"""
|
|
539
538
|
return pulumi.get(self, "exempt_other_policies")
|
|
540
539
|
|
|
541
|
-
@property
|
|
540
|
+
@_builtins.property
|
|
542
541
|
@pulumi.getter(name="fullyQualifiedName")
|
|
543
|
-
def fully_qualified_name(self) -> pulumi.Output[
|
|
542
|
+
def fully_qualified_name(self) -> pulumi.Output[_builtins.str]:
|
|
544
543
|
"""
|
|
545
544
|
Fully qualified name of the resource. For more information, see [object name resolution](https://docs.snowflake.com/en/sql-reference/name-resolution).
|
|
546
545
|
"""
|
|
547
546
|
return pulumi.get(self, "fully_qualified_name")
|
|
548
547
|
|
|
549
|
-
@property
|
|
548
|
+
@_builtins.property
|
|
550
549
|
@pulumi.getter
|
|
551
|
-
def name(self) -> pulumi.Output[
|
|
550
|
+
def name(self) -> pulumi.Output[_builtins.str]:
|
|
552
551
|
"""
|
|
553
552
|
Specifies the identifier for the masking policy; must be unique for the database and schema in which the masking policy is created. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
|
|
554
553
|
"""
|
|
555
554
|
return pulumi.get(self, "name")
|
|
556
555
|
|
|
557
|
-
@property
|
|
556
|
+
@_builtins.property
|
|
558
557
|
@pulumi.getter(name="returnDataType")
|
|
559
|
-
def return_data_type(self) -> pulumi.Output[
|
|
558
|
+
def return_data_type(self) -> pulumi.Output[_builtins.str]:
|
|
560
559
|
"""
|
|
561
560
|
The return data type must match the input data type of the first column that is specified as an input column. For more information about data types, check [Snowflake docs](https://docs.snowflake.com/en/sql-reference/intro-summary-data-types).
|
|
562
561
|
"""
|
|
563
562
|
return pulumi.get(self, "return_data_type")
|
|
564
563
|
|
|
565
|
-
@property
|
|
564
|
+
@_builtins.property
|
|
566
565
|
@pulumi.getter
|
|
567
|
-
def schema(self) -> pulumi.Output[
|
|
566
|
+
def schema(self) -> pulumi.Output[_builtins.str]:
|
|
568
567
|
"""
|
|
569
568
|
The schema in which to create the masking policy. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
|
|
570
569
|
"""
|
|
571
570
|
return pulumi.get(self, "schema")
|
|
572
571
|
|
|
573
|
-
@property
|
|
572
|
+
@_builtins.property
|
|
574
573
|
@pulumi.getter(name="showOutputs")
|
|
575
574
|
def show_outputs(self) -> pulumi.Output[Sequence['outputs.MaskingPolicyShowOutput']]:
|
|
576
575
|
"""
|