pulumi-snowflake 1.2.0a1743575514__py3-none-any.whl → 1.2.0a1744266763__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 +1 -0
- pulumi_snowflake/_inputs.py +12288 -12287
- pulumi_snowflake/account.py +186 -185
- pulumi_snowflake/account_authentication_policy_attachment.py +15 -14
- pulumi_snowflake/account_parameter.py +29 -28
- pulumi_snowflake/account_password_policy_attachment.py +15 -14
- pulumi_snowflake/account_role.py +32 -31
- pulumi_snowflake/alert.py +120 -119
- pulumi_snowflake/api_authentication_integration_with_authorization_code_grant.py +158 -157
- pulumi_snowflake/api_authentication_integration_with_client_credentials.py +144 -143
- pulumi_snowflake/api_authentication_integration_with_jwt_bearer.py +154 -153
- pulumi_snowflake/api_integration.py +203 -202
- pulumi_snowflake/authentication_policy.py +134 -133
- pulumi_snowflake/config/__init__.py +1 -0
- pulumi_snowflake/config/__init__.pyi +1 -0
- pulumi_snowflake/config/outputs.py +16 -15
- pulumi_snowflake/config/vars.py +1 -0
- pulumi_snowflake/cortex_search_service.py +141 -140
- pulumi_snowflake/database.py +288 -287
- pulumi_snowflake/database_role.py +50 -49
- pulumi_snowflake/dynamic_table.py +218 -217
- pulumi_snowflake/email_notification_integration.py +56 -55
- pulumi_snowflake/execute.py +50 -49
- pulumi_snowflake/external_function.py +225 -224
- pulumi_snowflake/external_oauth_integration.py +232 -231
- pulumi_snowflake/external_table.py +197 -196
- pulumi_snowflake/external_volume.py +50 -49
- pulumi_snowflake/failover_group.py +106 -105
- pulumi_snowflake/file_format.py +512 -511
- pulumi_snowflake/function_java.py +249 -248
- pulumi_snowflake/function_javascript.py +193 -192
- pulumi_snowflake/function_python.py +263 -262
- pulumi_snowflake/function_scala.py +249 -248
- pulumi_snowflake/function_sql.py +179 -178
- pulumi_snowflake/get_account_roles.py +12 -11
- pulumi_snowflake/get_accounts.py +12 -11
- pulumi_snowflake/get_alerts.py +17 -16
- pulumi_snowflake/get_connections.py +7 -6
- pulumi_snowflake/get_cortex_search_services.py +12 -11
- pulumi_snowflake/get_current_account.py +5 -4
- pulumi_snowflake/get_current_role.py +3 -2
- pulumi_snowflake/get_database.py +15 -14
- pulumi_snowflake/get_database_role.py +14 -13
- pulumi_snowflake/get_database_roles.py +12 -11
- pulumi_snowflake/get_databases.py +22 -21
- pulumi_snowflake/get_dynamic_tables.py +7 -6
- pulumi_snowflake/get_external_functions.py +12 -11
- pulumi_snowflake/get_external_tables.py +12 -11
- pulumi_snowflake/get_failover_groups.py +7 -6
- pulumi_snowflake/get_file_formats.py +12 -11
- pulumi_snowflake/get_functions.py +12 -11
- pulumi_snowflake/get_grants.py +2 -1
- pulumi_snowflake/get_masking_policies.py +12 -11
- pulumi_snowflake/get_materialized_views.py +12 -11
- pulumi_snowflake/get_network_policies.py +12 -11
- pulumi_snowflake/get_parameters.py +27 -26
- pulumi_snowflake/get_pipes.py +12 -11
- pulumi_snowflake/get_procedures.py +12 -11
- pulumi_snowflake/get_resource_monitors.py +7 -6
- pulumi_snowflake/get_row_access_policies.py +12 -11
- pulumi_snowflake/get_schemas.py +22 -21
- pulumi_snowflake/get_secrets.py +12 -11
- pulumi_snowflake/get_security_integrations.py +12 -11
- pulumi_snowflake/get_sequences.py +12 -11
- pulumi_snowflake/get_shares.py +7 -6
- pulumi_snowflake/get_stages.py +12 -11
- pulumi_snowflake/get_storage_integrations.py +2 -1
- pulumi_snowflake/get_streamlits.py +12 -11
- pulumi_snowflake/get_streams.py +17 -16
- pulumi_snowflake/get_system_generate_scim_access_token.py +8 -7
- pulumi_snowflake/get_system_get_aws_sns_iam_policy.py +8 -7
- pulumi_snowflake/get_system_get_private_link_config.py +11 -10
- pulumi_snowflake/get_system_get_snowflake_platform_info.py +4 -3
- pulumi_snowflake/get_tables.py +12 -11
- pulumi_snowflake/get_tags.py +7 -6
- pulumi_snowflake/get_tasks.py +22 -21
- pulumi_snowflake/get_users.py +22 -21
- pulumi_snowflake/get_views.py +17 -16
- pulumi_snowflake/get_warehouses.py +17 -16
- pulumi_snowflake/grant_account_role.py +43 -42
- pulumi_snowflake/grant_application_role.py +43 -42
- pulumi_snowflake/grant_database_role.py +57 -56
- pulumi_snowflake/grant_ownership.py +43 -42
- pulumi_snowflake/grant_privileges_to_account_role.py +95 -94
- pulumi_snowflake/grant_privileges_to_database_role.py +95 -94
- pulumi_snowflake/grant_privileges_to_share.py +127 -126
- pulumi_snowflake/legacy_service_user.py +1039 -1038
- pulumi_snowflake/managed_account.py +113 -112
- pulumi_snowflake/masking_policy.py +106 -105
- pulumi_snowflake/materialized_view.py +120 -119
- pulumi_snowflake/network_policy.py +92 -91
- pulumi_snowflake/network_policy_attachment.py +43 -42
- pulumi_snowflake/network_rule.py +106 -105
- pulumi_snowflake/notification_integration.py +238 -237
- pulumi_snowflake/oauth_integration_for_custom_clients.py +210 -209
- pulumi_snowflake/oauth_integration_for_partner_applications.py +134 -133
- pulumi_snowflake/object_parameter.py +57 -56
- pulumi_snowflake/outputs.py +9273 -9272
- pulumi_snowflake/password_policy.py +246 -245
- pulumi_snowflake/pipe.py +148 -147
- pulumi_snowflake/primary_connection.py +55 -54
- pulumi_snowflake/procedure_java.py +267 -266
- pulumi_snowflake/procedure_javascript.py +197 -196
- pulumi_snowflake/procedure_python.py +267 -266
- pulumi_snowflake/procedure_scala.py +267 -266
- pulumi_snowflake/procedure_sql.py +197 -196
- pulumi_snowflake/provider.py +303 -302
- pulumi_snowflake/pulumi-plugin.json +1 -1
- pulumi_snowflake/resource_monitor.py +134 -133
- pulumi_snowflake/row_access_policy.py +78 -77
- pulumi_snowflake/saml2_integration.py +246 -245
- pulumi_snowflake/schema.py +316 -315
- pulumi_snowflake/scim_integration.py +106 -105
- pulumi_snowflake/secondary_connection.py +57 -56
- pulumi_snowflake/secondary_database.py +288 -287
- pulumi_snowflake/secret_with_authorization_code_grant.py +109 -108
- pulumi_snowflake/secret_with_basic_authentication.py +95 -94
- pulumi_snowflake/secret_with_client_credentials.py +99 -98
- pulumi_snowflake/secret_with_generic_string.py +81 -80
- pulumi_snowflake/sequence.py +99 -98
- pulumi_snowflake/service_user.py +1015 -1014
- pulumi_snowflake/share.py +50 -49
- pulumi_snowflake/shared_database.py +246 -245
- pulumi_snowflake/stage.py +190 -189
- pulumi_snowflake/storage_integration.py +166 -165
- pulumi_snowflake/stream_on_directory_table.py +100 -99
- pulumi_snowflake/stream_on_external_table.py +114 -113
- pulumi_snowflake/stream_on_table.py +124 -123
- pulumi_snowflake/stream_on_view.py +124 -123
- pulumi_snowflake/streamlit.py +148 -147
- pulumi_snowflake/table.py +113 -112
- pulumi_snowflake/table_column_masking_policy_application.py +43 -42
- pulumi_snowflake/table_constraint.py +155 -154
- pulumi_snowflake/tag.py +92 -91
- pulumi_snowflake/tag_association.py +71 -70
- pulumi_snowflake/task.py +1002 -1001
- pulumi_snowflake/user.py +1101 -1100
- pulumi_snowflake/user_authentication_policy_attachment.py +29 -28
- pulumi_snowflake/user_password_policy_attachment.py +29 -28
- pulumi_snowflake/user_public_keys.py +43 -42
- pulumi_snowflake/view.py +136 -135
- pulumi_snowflake/warehouse.py +232 -231
- {pulumi_snowflake-1.2.0a1743575514.dist-info → pulumi_snowflake-1.2.0a1744266763.dist-info}/METADATA +1 -1
- pulumi_snowflake-1.2.0a1744266763.dist-info/RECORD +148 -0
- pulumi_snowflake-1.2.0a1743575514.dist-info/RECORD +0 -148
- {pulumi_snowflake-1.2.0a1743575514.dist-info → pulumi_snowflake-1.2.0a1744266763.dist-info}/WHEEL +0 -0
- {pulumi_snowflake-1.2.0a1743575514.dist-info → pulumi_snowflake-1.2.0a1744266763.dist-info}/top_level.txt +0 -0
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
|
3
3
|
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
4
|
|
|
5
|
+
import builtins
|
|
5
6
|
import copy
|
|
6
7
|
import warnings
|
|
7
8
|
import sys
|
|
@@ -22,23 +23,23 @@ __all__ = ['MaskingPolicyArgs', 'MaskingPolicy']
|
|
|
22
23
|
class MaskingPolicyArgs:
|
|
23
24
|
def __init__(__self__, *,
|
|
24
25
|
arguments: pulumi.Input[Sequence[pulumi.Input['MaskingPolicyArgumentArgs']]],
|
|
25
|
-
body: pulumi.Input[str],
|
|
26
|
-
database: pulumi.Input[str],
|
|
27
|
-
return_data_type: pulumi.Input[str],
|
|
28
|
-
schema: pulumi.Input[str],
|
|
29
|
-
comment: Optional[pulumi.Input[str]] = None,
|
|
30
|
-
exempt_other_policies: Optional[pulumi.Input[str]] = None,
|
|
31
|
-
name: Optional[pulumi.Input[str]] = None):
|
|
26
|
+
body: pulumi.Input[builtins.str],
|
|
27
|
+
database: pulumi.Input[builtins.str],
|
|
28
|
+
return_data_type: pulumi.Input[builtins.str],
|
|
29
|
+
schema: pulumi.Input[builtins.str],
|
|
30
|
+
comment: Optional[pulumi.Input[builtins.str]] = None,
|
|
31
|
+
exempt_other_policies: Optional[pulumi.Input[builtins.str]] = None,
|
|
32
|
+
name: Optional[pulumi.Input[builtins.str]] = None):
|
|
32
33
|
"""
|
|
33
34
|
The set of arguments for constructing a MaskingPolicy resource.
|
|
34
35
|
: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.
|
|
35
|
-
:param pulumi.Input[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[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[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[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[str] comment: Specifies a comment for the masking policy.
|
|
40
|
-
:param pulumi.Input[str] exempt_other_policies: 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[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: `|`, `.`, `"`.
|
|
36
|
+
: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.
|
|
37
|
+
: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: `|`, `.`, `"`.
|
|
38
|
+
: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).
|
|
39
|
+
: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: `|`, `.`, `"`.
|
|
40
|
+
:param pulumi.Input[builtins.str] comment: Specifies a comment for the masking policy.
|
|
41
|
+
:param pulumi.Input[builtins.str] exempt_other_policies: 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.
|
|
42
|
+
: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: `|`, `.`, `"`.
|
|
42
43
|
"""
|
|
43
44
|
pulumi.set(__self__, "arguments", arguments)
|
|
44
45
|
pulumi.set(__self__, "body", body)
|
|
@@ -66,86 +67,86 @@ class MaskingPolicyArgs:
|
|
|
66
67
|
|
|
67
68
|
@property
|
|
68
69
|
@pulumi.getter
|
|
69
|
-
def body(self) -> pulumi.Input[str]:
|
|
70
|
+
def body(self) -> pulumi.Input[builtins.str]:
|
|
70
71
|
"""
|
|
71
72
|
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.
|
|
72
73
|
"""
|
|
73
74
|
return pulumi.get(self, "body")
|
|
74
75
|
|
|
75
76
|
@body.setter
|
|
76
|
-
def body(self, value: pulumi.Input[str]):
|
|
77
|
+
def body(self, value: pulumi.Input[builtins.str]):
|
|
77
78
|
pulumi.set(self, "body", value)
|
|
78
79
|
|
|
79
80
|
@property
|
|
80
81
|
@pulumi.getter
|
|
81
|
-
def database(self) -> pulumi.Input[str]:
|
|
82
|
+
def database(self) -> pulumi.Input[builtins.str]:
|
|
82
83
|
"""
|
|
83
84
|
The database in which to create the masking policy. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
|
|
84
85
|
"""
|
|
85
86
|
return pulumi.get(self, "database")
|
|
86
87
|
|
|
87
88
|
@database.setter
|
|
88
|
-
def database(self, value: pulumi.Input[str]):
|
|
89
|
+
def database(self, value: pulumi.Input[builtins.str]):
|
|
89
90
|
pulumi.set(self, "database", value)
|
|
90
91
|
|
|
91
92
|
@property
|
|
92
93
|
@pulumi.getter(name="returnDataType")
|
|
93
|
-
def return_data_type(self) -> pulumi.Input[str]:
|
|
94
|
+
def return_data_type(self) -> pulumi.Input[builtins.str]:
|
|
94
95
|
"""
|
|
95
96
|
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).
|
|
96
97
|
"""
|
|
97
98
|
return pulumi.get(self, "return_data_type")
|
|
98
99
|
|
|
99
100
|
@return_data_type.setter
|
|
100
|
-
def return_data_type(self, value: pulumi.Input[str]):
|
|
101
|
+
def return_data_type(self, value: pulumi.Input[builtins.str]):
|
|
101
102
|
pulumi.set(self, "return_data_type", value)
|
|
102
103
|
|
|
103
104
|
@property
|
|
104
105
|
@pulumi.getter
|
|
105
|
-
def schema(self) -> pulumi.Input[str]:
|
|
106
|
+
def schema(self) -> pulumi.Input[builtins.str]:
|
|
106
107
|
"""
|
|
107
108
|
The schema in which to create the masking policy. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
|
|
108
109
|
"""
|
|
109
110
|
return pulumi.get(self, "schema")
|
|
110
111
|
|
|
111
112
|
@schema.setter
|
|
112
|
-
def schema(self, value: pulumi.Input[str]):
|
|
113
|
+
def schema(self, value: pulumi.Input[builtins.str]):
|
|
113
114
|
pulumi.set(self, "schema", value)
|
|
114
115
|
|
|
115
116
|
@property
|
|
116
117
|
@pulumi.getter
|
|
117
|
-
def comment(self) -> Optional[pulumi.Input[str]]:
|
|
118
|
+
def comment(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
118
119
|
"""
|
|
119
120
|
Specifies a comment for the masking policy.
|
|
120
121
|
"""
|
|
121
122
|
return pulumi.get(self, "comment")
|
|
122
123
|
|
|
123
124
|
@comment.setter
|
|
124
|
-
def comment(self, value: Optional[pulumi.Input[str]]):
|
|
125
|
+
def comment(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
125
126
|
pulumi.set(self, "comment", value)
|
|
126
127
|
|
|
127
128
|
@property
|
|
128
129
|
@pulumi.getter(name="exemptOtherPolicies")
|
|
129
|
-
def exempt_other_policies(self) -> Optional[pulumi.Input[str]]:
|
|
130
|
+
def exempt_other_policies(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
130
131
|
"""
|
|
131
132
|
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.
|
|
132
133
|
"""
|
|
133
134
|
return pulumi.get(self, "exempt_other_policies")
|
|
134
135
|
|
|
135
136
|
@exempt_other_policies.setter
|
|
136
|
-
def exempt_other_policies(self, value: Optional[pulumi.Input[str]]):
|
|
137
|
+
def exempt_other_policies(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
137
138
|
pulumi.set(self, "exempt_other_policies", value)
|
|
138
139
|
|
|
139
140
|
@property
|
|
140
141
|
@pulumi.getter
|
|
141
|
-
def name(self) -> Optional[pulumi.Input[str]]:
|
|
142
|
+
def name(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
142
143
|
"""
|
|
143
144
|
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: `|`, `.`, `"`.
|
|
144
145
|
"""
|
|
145
146
|
return pulumi.get(self, "name")
|
|
146
147
|
|
|
147
148
|
@name.setter
|
|
148
|
-
def name(self, value: Optional[pulumi.Input[str]]):
|
|
149
|
+
def name(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
149
150
|
pulumi.set(self, "name", value)
|
|
150
151
|
|
|
151
152
|
|
|
@@ -153,28 +154,28 @@ class MaskingPolicyArgs:
|
|
|
153
154
|
class _MaskingPolicyState:
|
|
154
155
|
def __init__(__self__, *,
|
|
155
156
|
arguments: Optional[pulumi.Input[Sequence[pulumi.Input['MaskingPolicyArgumentArgs']]]] = None,
|
|
156
|
-
body: Optional[pulumi.Input[str]] = None,
|
|
157
|
-
comment: Optional[pulumi.Input[str]] = None,
|
|
158
|
-
database: Optional[pulumi.Input[str]] = None,
|
|
157
|
+
body: Optional[pulumi.Input[builtins.str]] = None,
|
|
158
|
+
comment: Optional[pulumi.Input[builtins.str]] = None,
|
|
159
|
+
database: Optional[pulumi.Input[builtins.str]] = None,
|
|
159
160
|
describe_outputs: Optional[pulumi.Input[Sequence[pulumi.Input['MaskingPolicyDescribeOutputArgs']]]] = None,
|
|
160
|
-
exempt_other_policies: Optional[pulumi.Input[str]] = None,
|
|
161
|
-
fully_qualified_name: Optional[pulumi.Input[str]] = None,
|
|
162
|
-
name: Optional[pulumi.Input[str]] = None,
|
|
163
|
-
return_data_type: Optional[pulumi.Input[str]] = None,
|
|
164
|
-
schema: Optional[pulumi.Input[str]] = None,
|
|
161
|
+
exempt_other_policies: Optional[pulumi.Input[builtins.str]] = None,
|
|
162
|
+
fully_qualified_name: Optional[pulumi.Input[builtins.str]] = None,
|
|
163
|
+
name: Optional[pulumi.Input[builtins.str]] = None,
|
|
164
|
+
return_data_type: Optional[pulumi.Input[builtins.str]] = None,
|
|
165
|
+
schema: Optional[pulumi.Input[builtins.str]] = None,
|
|
165
166
|
show_outputs: Optional[pulumi.Input[Sequence[pulumi.Input['MaskingPolicyShowOutputArgs']]]] = None):
|
|
166
167
|
"""
|
|
167
168
|
Input properties used for looking up and filtering MaskingPolicy resources.
|
|
168
169
|
: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.
|
|
169
|
-
:param pulumi.Input[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[str] comment: Specifies a comment for the masking policy.
|
|
171
|
-
:param pulumi.Input[str] database: The database in which to create the masking policy. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
|
|
170
|
+
: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.
|
|
171
|
+
:param pulumi.Input[builtins.str] comment: Specifies a comment for the masking policy.
|
|
172
|
+
: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: `|`, `.`, `"`.
|
|
172
173
|
:param pulumi.Input[Sequence[pulumi.Input['MaskingPolicyDescribeOutputArgs']]] describe_outputs: Outputs the result of `DESCRIBE MASKING POLICY` for the given masking policy.
|
|
173
|
-
:param pulumi.Input[str] exempt_other_policies: 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[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[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[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[str] schema: The schema in which to create the masking policy. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
|
|
174
|
+
:param pulumi.Input[builtins.str] exempt_other_policies: 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.
|
|
175
|
+
: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).
|
|
176
|
+
: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: `|`, `.`, `"`.
|
|
177
|
+
: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).
|
|
178
|
+
: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: `|`, `.`, `"`.
|
|
178
179
|
:param pulumi.Input[Sequence[pulumi.Input['MaskingPolicyShowOutputArgs']]] show_outputs: Outputs the result of `SHOW MASKING POLICIES` for the given masking policy.
|
|
179
180
|
"""
|
|
180
181
|
if arguments is not None:
|
|
@@ -214,38 +215,38 @@ class _MaskingPolicyState:
|
|
|
214
215
|
|
|
215
216
|
@property
|
|
216
217
|
@pulumi.getter
|
|
217
|
-
def body(self) -> Optional[pulumi.Input[str]]:
|
|
218
|
+
def body(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
218
219
|
"""
|
|
219
220
|
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.
|
|
220
221
|
"""
|
|
221
222
|
return pulumi.get(self, "body")
|
|
222
223
|
|
|
223
224
|
@body.setter
|
|
224
|
-
def body(self, value: Optional[pulumi.Input[str]]):
|
|
225
|
+
def body(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
225
226
|
pulumi.set(self, "body", value)
|
|
226
227
|
|
|
227
228
|
@property
|
|
228
229
|
@pulumi.getter
|
|
229
|
-
def comment(self) -> Optional[pulumi.Input[str]]:
|
|
230
|
+
def comment(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
230
231
|
"""
|
|
231
232
|
Specifies a comment for the masking policy.
|
|
232
233
|
"""
|
|
233
234
|
return pulumi.get(self, "comment")
|
|
234
235
|
|
|
235
236
|
@comment.setter
|
|
236
|
-
def comment(self, value: Optional[pulumi.Input[str]]):
|
|
237
|
+
def comment(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
237
238
|
pulumi.set(self, "comment", value)
|
|
238
239
|
|
|
239
240
|
@property
|
|
240
241
|
@pulumi.getter
|
|
241
|
-
def database(self) -> Optional[pulumi.Input[str]]:
|
|
242
|
+
def database(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
242
243
|
"""
|
|
243
244
|
The database in which to create the masking policy. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
|
|
244
245
|
"""
|
|
245
246
|
return pulumi.get(self, "database")
|
|
246
247
|
|
|
247
248
|
@database.setter
|
|
248
|
-
def database(self, value: Optional[pulumi.Input[str]]):
|
|
249
|
+
def database(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
249
250
|
pulumi.set(self, "database", value)
|
|
250
251
|
|
|
251
252
|
@property
|
|
@@ -262,62 +263,62 @@ class _MaskingPolicyState:
|
|
|
262
263
|
|
|
263
264
|
@property
|
|
264
265
|
@pulumi.getter(name="exemptOtherPolicies")
|
|
265
|
-
def exempt_other_policies(self) -> Optional[pulumi.Input[str]]:
|
|
266
|
+
def exempt_other_policies(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
266
267
|
"""
|
|
267
268
|
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.
|
|
268
269
|
"""
|
|
269
270
|
return pulumi.get(self, "exempt_other_policies")
|
|
270
271
|
|
|
271
272
|
@exempt_other_policies.setter
|
|
272
|
-
def exempt_other_policies(self, value: Optional[pulumi.Input[str]]):
|
|
273
|
+
def exempt_other_policies(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
273
274
|
pulumi.set(self, "exempt_other_policies", value)
|
|
274
275
|
|
|
275
276
|
@property
|
|
276
277
|
@pulumi.getter(name="fullyQualifiedName")
|
|
277
|
-
def fully_qualified_name(self) -> Optional[pulumi.Input[str]]:
|
|
278
|
+
def fully_qualified_name(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
278
279
|
"""
|
|
279
280
|
Fully qualified name of the resource. For more information, see [object name resolution](https://docs.snowflake.com/en/sql-reference/name-resolution).
|
|
280
281
|
"""
|
|
281
282
|
return pulumi.get(self, "fully_qualified_name")
|
|
282
283
|
|
|
283
284
|
@fully_qualified_name.setter
|
|
284
|
-
def fully_qualified_name(self, value: Optional[pulumi.Input[str]]):
|
|
285
|
+
def fully_qualified_name(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
285
286
|
pulumi.set(self, "fully_qualified_name", value)
|
|
286
287
|
|
|
287
288
|
@property
|
|
288
289
|
@pulumi.getter
|
|
289
|
-
def name(self) -> Optional[pulumi.Input[str]]:
|
|
290
|
+
def name(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
290
291
|
"""
|
|
291
292
|
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: `|`, `.`, `"`.
|
|
292
293
|
"""
|
|
293
294
|
return pulumi.get(self, "name")
|
|
294
295
|
|
|
295
296
|
@name.setter
|
|
296
|
-
def name(self, value: Optional[pulumi.Input[str]]):
|
|
297
|
+
def name(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
297
298
|
pulumi.set(self, "name", value)
|
|
298
299
|
|
|
299
300
|
@property
|
|
300
301
|
@pulumi.getter(name="returnDataType")
|
|
301
|
-
def return_data_type(self) -> Optional[pulumi.Input[str]]:
|
|
302
|
+
def return_data_type(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
302
303
|
"""
|
|
303
304
|
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).
|
|
304
305
|
"""
|
|
305
306
|
return pulumi.get(self, "return_data_type")
|
|
306
307
|
|
|
307
308
|
@return_data_type.setter
|
|
308
|
-
def return_data_type(self, value: Optional[pulumi.Input[str]]):
|
|
309
|
+
def return_data_type(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
309
310
|
pulumi.set(self, "return_data_type", value)
|
|
310
311
|
|
|
311
312
|
@property
|
|
312
313
|
@pulumi.getter
|
|
313
|
-
def schema(self) -> Optional[pulumi.Input[str]]:
|
|
314
|
+
def schema(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
314
315
|
"""
|
|
315
316
|
The schema in which to create the masking policy. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
|
|
316
317
|
"""
|
|
317
318
|
return pulumi.get(self, "schema")
|
|
318
319
|
|
|
319
320
|
@schema.setter
|
|
320
|
-
def schema(self, value: Optional[pulumi.Input[str]]):
|
|
321
|
+
def schema(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
321
322
|
pulumi.set(self, "schema", value)
|
|
322
323
|
|
|
323
324
|
@property
|
|
@@ -339,13 +340,13 @@ class MaskingPolicy(pulumi.CustomResource):
|
|
|
339
340
|
resource_name: str,
|
|
340
341
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
341
342
|
arguments: Optional[pulumi.Input[Sequence[pulumi.Input[Union['MaskingPolicyArgumentArgs', 'MaskingPolicyArgumentArgsDict']]]]] = None,
|
|
342
|
-
body: Optional[pulumi.Input[str]] = None,
|
|
343
|
-
comment: Optional[pulumi.Input[str]] = None,
|
|
344
|
-
database: Optional[pulumi.Input[str]] = None,
|
|
345
|
-
exempt_other_policies: Optional[pulumi.Input[str]] = None,
|
|
346
|
-
name: Optional[pulumi.Input[str]] = None,
|
|
347
|
-
return_data_type: Optional[pulumi.Input[str]] = None,
|
|
348
|
-
schema: Optional[pulumi.Input[str]] = None,
|
|
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,
|
|
349
350
|
__props__=None):
|
|
350
351
|
"""
|
|
351
352
|
## Import
|
|
@@ -357,13 +358,13 @@ class MaskingPolicy(pulumi.CustomResource):
|
|
|
357
358
|
:param str resource_name: The name of the resource.
|
|
358
359
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
359
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.
|
|
360
|
-
:param pulumi.Input[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.
|
|
361
|
-
:param pulumi.Input[str] comment: Specifies a comment for the masking policy.
|
|
362
|
-
:param pulumi.Input[str] database: The database in which to create the masking policy. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
|
|
363
|
-
:param pulumi.Input[str] exempt_other_policies: 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.
|
|
364
|
-
:param pulumi.Input[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: `|`, `.`, `"`.
|
|
365
|
-
:param pulumi.Input[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).
|
|
366
|
-
:param pulumi.Input[str] schema: The schema in which to create the masking policy. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
|
|
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: 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: `|`, `.`, `"`.
|
|
367
368
|
"""
|
|
368
369
|
...
|
|
369
370
|
@overload
|
|
@@ -394,13 +395,13 @@ class MaskingPolicy(pulumi.CustomResource):
|
|
|
394
395
|
resource_name: str,
|
|
395
396
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
396
397
|
arguments: Optional[pulumi.Input[Sequence[pulumi.Input[Union['MaskingPolicyArgumentArgs', 'MaskingPolicyArgumentArgsDict']]]]] = None,
|
|
397
|
-
body: Optional[pulumi.Input[str]] = None,
|
|
398
|
-
comment: Optional[pulumi.Input[str]] = None,
|
|
399
|
-
database: Optional[pulumi.Input[str]] = None,
|
|
400
|
-
exempt_other_policies: Optional[pulumi.Input[str]] = None,
|
|
401
|
-
name: Optional[pulumi.Input[str]] = None,
|
|
402
|
-
return_data_type: Optional[pulumi.Input[str]] = None,
|
|
403
|
-
schema: Optional[pulumi.Input[str]] = None,
|
|
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,
|
|
404
405
|
__props__=None):
|
|
405
406
|
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
|
406
407
|
if not isinstance(opts, pulumi.ResourceOptions):
|
|
@@ -442,15 +443,15 @@ class MaskingPolicy(pulumi.CustomResource):
|
|
|
442
443
|
id: pulumi.Input[str],
|
|
443
444
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
444
445
|
arguments: Optional[pulumi.Input[Sequence[pulumi.Input[Union['MaskingPolicyArgumentArgs', 'MaskingPolicyArgumentArgsDict']]]]] = None,
|
|
445
|
-
body: Optional[pulumi.Input[str]] = None,
|
|
446
|
-
comment: Optional[pulumi.Input[str]] = None,
|
|
447
|
-
database: Optional[pulumi.Input[str]] = None,
|
|
446
|
+
body: Optional[pulumi.Input[builtins.str]] = None,
|
|
447
|
+
comment: Optional[pulumi.Input[builtins.str]] = None,
|
|
448
|
+
database: Optional[pulumi.Input[builtins.str]] = None,
|
|
448
449
|
describe_outputs: Optional[pulumi.Input[Sequence[pulumi.Input[Union['MaskingPolicyDescribeOutputArgs', 'MaskingPolicyDescribeOutputArgsDict']]]]] = None,
|
|
449
|
-
exempt_other_policies: Optional[pulumi.Input[str]] = None,
|
|
450
|
-
fully_qualified_name: Optional[pulumi.Input[str]] = None,
|
|
451
|
-
name: Optional[pulumi.Input[str]] = None,
|
|
452
|
-
return_data_type: Optional[pulumi.Input[str]] = None,
|
|
453
|
-
schema: Optional[pulumi.Input[str]] = None,
|
|
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,
|
|
454
455
|
show_outputs: Optional[pulumi.Input[Sequence[pulumi.Input[Union['MaskingPolicyShowOutputArgs', 'MaskingPolicyShowOutputArgsDict']]]]] = None) -> 'MaskingPolicy':
|
|
455
456
|
"""
|
|
456
457
|
Get an existing MaskingPolicy resource's state with the given name, id, and optional extra
|
|
@@ -460,15 +461,15 @@ class MaskingPolicy(pulumi.CustomResource):
|
|
|
460
461
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
461
462
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
462
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.
|
|
463
|
-
:param pulumi.Input[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.
|
|
464
|
-
:param pulumi.Input[str] comment: Specifies a comment for the masking policy.
|
|
465
|
-
:param pulumi.Input[str] database: The database in which to create the masking policy. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
|
|
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: `|`, `.`, `"`.
|
|
466
467
|
:param pulumi.Input[Sequence[pulumi.Input[Union['MaskingPolicyDescribeOutputArgs', 'MaskingPolicyDescribeOutputArgsDict']]]] describe_outputs: Outputs the result of `DESCRIBE MASKING POLICY` for the given masking policy.
|
|
467
|
-
:param pulumi.Input[str] exempt_other_policies: 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.
|
|
468
|
-
: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).
|
|
469
|
-
:param pulumi.Input[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: `|`, `.`, `"`.
|
|
470
|
-
:param pulumi.Input[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).
|
|
471
|
-
:param pulumi.Input[str] schema: The schema in which to create the masking policy. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
|
|
468
|
+
:param pulumi.Input[builtins.str] exempt_other_policies: 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: `|`, `.`, `"`.
|
|
472
473
|
:param pulumi.Input[Sequence[pulumi.Input[Union['MaskingPolicyShowOutputArgs', 'MaskingPolicyShowOutputArgsDict']]]] show_outputs: Outputs the result of `SHOW MASKING POLICIES` for the given masking policy.
|
|
473
474
|
"""
|
|
474
475
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
@@ -498,7 +499,7 @@ class MaskingPolicy(pulumi.CustomResource):
|
|
|
498
499
|
|
|
499
500
|
@property
|
|
500
501
|
@pulumi.getter
|
|
501
|
-
def body(self) -> pulumi.Output[str]:
|
|
502
|
+
def body(self) -> pulumi.Output[builtins.str]:
|
|
502
503
|
"""
|
|
503
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.
|
|
504
505
|
"""
|
|
@@ -506,7 +507,7 @@ class MaskingPolicy(pulumi.CustomResource):
|
|
|
506
507
|
|
|
507
508
|
@property
|
|
508
509
|
@pulumi.getter
|
|
509
|
-
def comment(self) -> pulumi.Output[Optional[str]]:
|
|
510
|
+
def comment(self) -> pulumi.Output[Optional[builtins.str]]:
|
|
510
511
|
"""
|
|
511
512
|
Specifies a comment for the masking policy.
|
|
512
513
|
"""
|
|
@@ -514,7 +515,7 @@ class MaskingPolicy(pulumi.CustomResource):
|
|
|
514
515
|
|
|
515
516
|
@property
|
|
516
517
|
@pulumi.getter
|
|
517
|
-
def database(self) -> pulumi.Output[str]:
|
|
518
|
+
def database(self) -> pulumi.Output[builtins.str]:
|
|
518
519
|
"""
|
|
519
520
|
The database in which to create the masking policy. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
|
|
520
521
|
"""
|
|
@@ -530,7 +531,7 @@ class MaskingPolicy(pulumi.CustomResource):
|
|
|
530
531
|
|
|
531
532
|
@property
|
|
532
533
|
@pulumi.getter(name="exemptOtherPolicies")
|
|
533
|
-
def exempt_other_policies(self) -> pulumi.Output[Optional[str]]:
|
|
534
|
+
def exempt_other_policies(self) -> pulumi.Output[Optional[builtins.str]]:
|
|
534
535
|
"""
|
|
535
536
|
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.
|
|
536
537
|
"""
|
|
@@ -538,7 +539,7 @@ class MaskingPolicy(pulumi.CustomResource):
|
|
|
538
539
|
|
|
539
540
|
@property
|
|
540
541
|
@pulumi.getter(name="fullyQualifiedName")
|
|
541
|
-
def fully_qualified_name(self) -> pulumi.Output[str]:
|
|
542
|
+
def fully_qualified_name(self) -> pulumi.Output[builtins.str]:
|
|
542
543
|
"""
|
|
543
544
|
Fully qualified name of the resource. For more information, see [object name resolution](https://docs.snowflake.com/en/sql-reference/name-resolution).
|
|
544
545
|
"""
|
|
@@ -546,7 +547,7 @@ class MaskingPolicy(pulumi.CustomResource):
|
|
|
546
547
|
|
|
547
548
|
@property
|
|
548
549
|
@pulumi.getter
|
|
549
|
-
def name(self) -> pulumi.Output[str]:
|
|
550
|
+
def name(self) -> pulumi.Output[builtins.str]:
|
|
550
551
|
"""
|
|
551
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: `|`, `.`, `"`.
|
|
552
553
|
"""
|
|
@@ -554,7 +555,7 @@ class MaskingPolicy(pulumi.CustomResource):
|
|
|
554
555
|
|
|
555
556
|
@property
|
|
556
557
|
@pulumi.getter(name="returnDataType")
|
|
557
|
-
def return_data_type(self) -> pulumi.Output[str]:
|
|
558
|
+
def return_data_type(self) -> pulumi.Output[builtins.str]:
|
|
558
559
|
"""
|
|
559
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).
|
|
560
561
|
"""
|
|
@@ -562,7 +563,7 @@ class MaskingPolicy(pulumi.CustomResource):
|
|
|
562
563
|
|
|
563
564
|
@property
|
|
564
565
|
@pulumi.getter
|
|
565
|
-
def schema(self) -> pulumi.Output[str]:
|
|
566
|
+
def schema(self) -> pulumi.Output[builtins.str]:
|
|
566
567
|
"""
|
|
567
568
|
The schema in which to create the masking policy. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
|
|
568
569
|
"""
|