pulumi-snowflake 2.3.0a1753339260__py3-none-any.whl → 2.3.0a1753398370__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.

Files changed (157) hide show
  1. pulumi_snowflake/__init__.py +1 -1
  2. pulumi_snowflake/_inputs.py +16796 -16797
  3. pulumi_snowflake/account.py +252 -253
  4. pulumi_snowflake/account_authentication_policy_attachment.py +18 -19
  5. pulumi_snowflake/account_parameter.py +35 -36
  6. pulumi_snowflake/account_password_policy_attachment.py +18 -19
  7. pulumi_snowflake/account_role.py +42 -43
  8. pulumi_snowflake/alert.py +149 -150
  9. pulumi_snowflake/api_authentication_integration_with_authorization_code_grant.py +197 -198
  10. pulumi_snowflake/api_authentication_integration_with_client_credentials.py +180 -181
  11. pulumi_snowflake/api_authentication_integration_with_jwt_bearer.py +193 -194
  12. pulumi_snowflake/api_integration.py +251 -252
  13. pulumi_snowflake/authentication_policy.py +167 -168
  14. pulumi_snowflake/compute_pool.py +167 -168
  15. pulumi_snowflake/config/__init__.py +1 -1
  16. pulumi_snowflake/config/__init__.pyi +1 -2
  17. pulumi_snowflake/config/outputs.py +21 -22
  18. pulumi_snowflake/config/vars.py +43 -44
  19. pulumi_snowflake/cortex_search_service.py +191 -192
  20. pulumi_snowflake/current_account.py +2088 -2089
  21. pulumi_snowflake/database.py +353 -354
  22. pulumi_snowflake/database_role.py +63 -64
  23. pulumi_snowflake/dynamic_table.py +274 -275
  24. pulumi_snowflake/email_notification_integration.py +70 -71
  25. pulumi_snowflake/execute.py +61 -62
  26. pulumi_snowflake/external_function.py +280 -281
  27. pulumi_snowflake/external_oauth_integration.py +288 -289
  28. pulumi_snowflake/external_table.py +246 -247
  29. pulumi_snowflake/external_volume.py +68 -69
  30. pulumi_snowflake/failover_group.py +135 -136
  31. pulumi_snowflake/file_format.py +622 -623
  32. pulumi_snowflake/function_java.py +320 -321
  33. pulumi_snowflake/function_javascript.py +243 -244
  34. pulumi_snowflake/function_python.py +334 -335
  35. pulumi_snowflake/function_scala.py +320 -321
  36. pulumi_snowflake/function_sql.py +226 -227
  37. pulumi_snowflake/get_account_roles.py +16 -17
  38. pulumi_snowflake/get_accounts.py +16 -17
  39. pulumi_snowflake/get_alerts.py +22 -23
  40. pulumi_snowflake/get_compute_pools.py +23 -24
  41. pulumi_snowflake/get_connections.py +10 -11
  42. pulumi_snowflake/get_cortex_search_services.py +18 -19
  43. pulumi_snowflake/get_current_account.py +9 -10
  44. pulumi_snowflake/get_current_role.py +5 -6
  45. pulumi_snowflake/get_database.py +25 -26
  46. pulumi_snowflake/get_database_role.py +19 -20
  47. pulumi_snowflake/get_database_roles.py +17 -18
  48. pulumi_snowflake/get_databases.py +29 -30
  49. pulumi_snowflake/get_dynamic_tables.py +13 -14
  50. pulumi_snowflake/get_external_functions.py +16 -17
  51. pulumi_snowflake/get_external_tables.py +16 -17
  52. pulumi_snowflake/get_failover_groups.py +10 -11
  53. pulumi_snowflake/get_file_formats.py +16 -17
  54. pulumi_snowflake/get_functions.py +16 -17
  55. pulumi_snowflake/get_git_repositories.py +18 -19
  56. pulumi_snowflake/get_grants.py +9 -10
  57. pulumi_snowflake/get_image_repositories.py +11 -12
  58. pulumi_snowflake/get_masking_policies.py +18 -19
  59. pulumi_snowflake/get_materialized_views.py +16 -17
  60. pulumi_snowflake/get_network_policies.py +16 -17
  61. pulumi_snowflake/get_parameters.py +34 -35
  62. pulumi_snowflake/get_pipes.py +16 -17
  63. pulumi_snowflake/get_procedures.py +16 -17
  64. pulumi_snowflake/get_resource_monitors.py +10 -11
  65. pulumi_snowflake/get_row_access_policies.py +18 -19
  66. pulumi_snowflake/get_schemas.py +30 -31
  67. pulumi_snowflake/get_secrets.py +17 -18
  68. pulumi_snowflake/get_security_integrations.py +16 -17
  69. pulumi_snowflake/get_sequences.py +16 -17
  70. pulumi_snowflake/get_services.py +30 -31
  71. pulumi_snowflake/get_shares.py +10 -11
  72. pulumi_snowflake/get_stages.py +16 -17
  73. pulumi_snowflake/get_storage_integrations.py +4 -5
  74. pulumi_snowflake/get_streamlits.py +18 -19
  75. pulumi_snowflake/get_streams.py +24 -25
  76. pulumi_snowflake/get_system_generate_scim_access_token.py +11 -12
  77. pulumi_snowflake/get_system_get_aws_sns_iam_policy.py +11 -12
  78. pulumi_snowflake/get_system_get_private_link_config.py +21 -22
  79. pulumi_snowflake/get_system_get_snowflake_platform_info.py +7 -8
  80. pulumi_snowflake/get_tables.py +24 -25
  81. pulumi_snowflake/get_tags.py +11 -12
  82. pulumi_snowflake/get_tasks.py +30 -31
  83. pulumi_snowflake/get_users.py +29 -30
  84. pulumi_snowflake/get_views.py +24 -25
  85. pulumi_snowflake/get_warehouses.py +22 -23
  86. pulumi_snowflake/git_repository.py +133 -134
  87. pulumi_snowflake/grant_account_role.py +52 -53
  88. pulumi_snowflake/grant_application_role.py +52 -53
  89. pulumi_snowflake/grant_database_role.py +69 -70
  90. pulumi_snowflake/grant_ownership.py +55 -56
  91. pulumi_snowflake/grant_privileges_to_account_role.py +125 -126
  92. pulumi_snowflake/grant_privileges_to_database_role.py +122 -123
  93. pulumi_snowflake/grant_privileges_to_share.py +154 -155
  94. pulumi_snowflake/image_repository.py +80 -81
  95. pulumi_snowflake/job_service.py +148 -149
  96. pulumi_snowflake/legacy_service_user.py +1269 -1270
  97. pulumi_snowflake/managed_account.py +140 -141
  98. pulumi_snowflake/masking_policy.py +136 -137
  99. pulumi_snowflake/materialized_view.py +149 -150
  100. pulumi_snowflake/network_policy.py +116 -117
  101. pulumi_snowflake/network_policy_attachment.py +52 -53
  102. pulumi_snowflake/network_rule.py +129 -130
  103. pulumi_snowflake/notification_integration.py +298 -299
  104. pulumi_snowflake/oauth_integration_for_custom_clients.py +263 -264
  105. pulumi_snowflake/oauth_integration_for_partner_applications.py +169 -170
  106. pulumi_snowflake/object_parameter.py +72 -73
  107. pulumi_snowflake/outputs.py +15510 -15511
  108. pulumi_snowflake/password_policy.py +299 -300
  109. pulumi_snowflake/pipe.py +181 -182
  110. pulumi_snowflake/primary_connection.py +70 -71
  111. pulumi_snowflake/procedure_java.py +341 -342
  112. pulumi_snowflake/procedure_javascript.py +247 -248
  113. pulumi_snowflake/procedure_python.py +338 -339
  114. pulumi_snowflake/procedure_scala.py +341 -342
  115. pulumi_snowflake/procedure_sql.py +247 -248
  116. pulumi_snowflake/provider.py +377 -378
  117. pulumi_snowflake/pulumi-plugin.json +1 -1
  118. pulumi_snowflake/resource_monitor.py +165 -166
  119. pulumi_snowflake/row_access_policy.py +102 -103
  120. pulumi_snowflake/saml2_integration.py +303 -304
  121. pulumi_snowflake/schema.py +390 -391
  122. pulumi_snowflake/scim_integration.py +133 -134
  123. pulumi_snowflake/secondary_connection.py +72 -73
  124. pulumi_snowflake/secondary_database.py +350 -351
  125. pulumi_snowflake/secret_with_authorization_code_grant.py +138 -139
  126. pulumi_snowflake/secret_with_basic_authentication.py +121 -122
  127. pulumi_snowflake/secret_with_client_credentials.py +125 -126
  128. pulumi_snowflake/secret_with_generic_string.py +104 -105
  129. pulumi_snowflake/sequence.py +121 -122
  130. pulumi_snowflake/service.py +233 -234
  131. pulumi_snowflake/service_user.py +1239 -1240
  132. pulumi_snowflake/share.py +61 -62
  133. pulumi_snowflake/shared_database.py +299 -300
  134. pulumi_snowflake/stage.py +234 -235
  135. pulumi_snowflake/storage_integration.py +230 -231
  136. pulumi_snowflake/stream_on_directory_table.py +128 -129
  137. pulumi_snowflake/stream_on_external_table.py +151 -152
  138. pulumi_snowflake/stream_on_table.py +164 -165
  139. pulumi_snowflake/stream_on_view.py +164 -165
  140. pulumi_snowflake/streamlit.py +184 -185
  141. pulumi_snowflake/table.py +147 -148
  142. pulumi_snowflake/table_column_masking_policy_application.py +52 -53
  143. pulumi_snowflake/table_constraint.py +191 -192
  144. pulumi_snowflake/tag.py +114 -115
  145. pulumi_snowflake/tag_association.py +86 -87
  146. pulumi_snowflake/task.py +1224 -1225
  147. pulumi_snowflake/user.py +1346 -1347
  148. pulumi_snowflake/user_authentication_policy_attachment.py +35 -36
  149. pulumi_snowflake/user_password_policy_attachment.py +35 -36
  150. pulumi_snowflake/user_public_keys.py +52 -53
  151. pulumi_snowflake/view.py +187 -188
  152. pulumi_snowflake/warehouse.py +286 -287
  153. {pulumi_snowflake-2.3.0a1753339260.dist-info → pulumi_snowflake-2.3.0a1753398370.dist-info}/METADATA +1 -1
  154. pulumi_snowflake-2.3.0a1753398370.dist-info/RECORD +158 -0
  155. pulumi_snowflake-2.3.0a1753339260.dist-info/RECORD +0 -158
  156. {pulumi_snowflake-2.3.0a1753339260.dist-info → pulumi_snowflake-2.3.0a1753398370.dist-info}/WHEEL +0 -0
  157. {pulumi_snowflake-2.3.0a1753339260.dist-info → pulumi_snowflake-2.3.0a1753398370.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
@@ -20,42 +19,42 @@ __all__ = ['PasswordPolicyArgs', 'PasswordPolicy']
20
19
  @pulumi.input_type
21
20
  class PasswordPolicyArgs:
22
21
  def __init__(__self__, *,
23
- database: pulumi.Input[builtins.str],
24
- schema: pulumi.Input[builtins.str],
25
- comment: Optional[pulumi.Input[builtins.str]] = None,
26
- history: Optional[pulumi.Input[builtins.int]] = None,
27
- if_not_exists: Optional[pulumi.Input[builtins.bool]] = None,
28
- lockout_time_mins: Optional[pulumi.Input[builtins.int]] = None,
29
- max_age_days: Optional[pulumi.Input[builtins.int]] = None,
30
- max_length: Optional[pulumi.Input[builtins.int]] = None,
31
- max_retries: Optional[pulumi.Input[builtins.int]] = None,
32
- min_age_days: Optional[pulumi.Input[builtins.int]] = None,
33
- min_length: Optional[pulumi.Input[builtins.int]] = None,
34
- min_lower_case_chars: Optional[pulumi.Input[builtins.int]] = None,
35
- min_numeric_chars: Optional[pulumi.Input[builtins.int]] = None,
36
- min_special_chars: Optional[pulumi.Input[builtins.int]] = None,
37
- min_upper_case_chars: Optional[pulumi.Input[builtins.int]] = None,
38
- name: Optional[pulumi.Input[builtins.str]] = None,
39
- or_replace: Optional[pulumi.Input[builtins.bool]] = None):
22
+ database: pulumi.Input[_builtins.str],
23
+ schema: pulumi.Input[_builtins.str],
24
+ comment: Optional[pulumi.Input[_builtins.str]] = None,
25
+ history: Optional[pulumi.Input[_builtins.int]] = None,
26
+ if_not_exists: Optional[pulumi.Input[_builtins.bool]] = None,
27
+ lockout_time_mins: Optional[pulumi.Input[_builtins.int]] = None,
28
+ max_age_days: Optional[pulumi.Input[_builtins.int]] = None,
29
+ max_length: Optional[pulumi.Input[_builtins.int]] = None,
30
+ max_retries: Optional[pulumi.Input[_builtins.int]] = None,
31
+ min_age_days: Optional[pulumi.Input[_builtins.int]] = None,
32
+ min_length: Optional[pulumi.Input[_builtins.int]] = None,
33
+ min_lower_case_chars: Optional[pulumi.Input[_builtins.int]] = None,
34
+ min_numeric_chars: Optional[pulumi.Input[_builtins.int]] = None,
35
+ min_special_chars: Optional[pulumi.Input[_builtins.int]] = None,
36
+ min_upper_case_chars: Optional[pulumi.Input[_builtins.int]] = None,
37
+ name: Optional[pulumi.Input[_builtins.str]] = None,
38
+ or_replace: Optional[pulumi.Input[_builtins.bool]] = None):
40
39
  """
41
40
  The set of arguments for constructing a PasswordPolicy resource.
42
- :param pulumi.Input[builtins.str] database: The database this password policy belongs to.
43
- :param pulumi.Input[builtins.str] schema: The schema this password policy belongs to.
44
- :param pulumi.Input[builtins.str] comment: Adds a comment or overwrites an existing comment for the password policy.
45
- :param pulumi.Input[builtins.int] history: (Default: `0`) Specifies the number of the most recent passwords that Snowflake stores. These stored passwords cannot be repeated when a user updates their password value. The current password value does not count towards the history. When you increase the history value, Snowflake saves the previous values. When you decrease the value, Snowflake saves the stored values up to that value that is set. For example, if the history value is 8 and you change the history value to 3, Snowflake stores the most recent 3 passwords and deletes the 5 older password values from the history. Default: 0 Max: 24
46
- :param pulumi.Input[builtins.bool] if_not_exists: (Default: `false`) Prevent overwriting a previous password policy with the same name.
47
- :param pulumi.Input[builtins.int] lockout_time_mins: (Default: `15`) Specifies the number of minutes the user account will be locked after exhausting the designated number of password retries (i.e. PASSWORD*MAX*RETRIES). Supported range: 1 to 999, inclusive. Default: 15
48
- :param pulumi.Input[builtins.int] max_age_days: (Default: `90`) Specifies the maximum number of days before the password must be changed. Supported range: 0 to 999, inclusive. A value of zero (i.e. 0) indicates that the password does not need to be changed. Snowflake does not recommend choosing this value for a default account-level password policy or for any user-level policy. Instead, choose a value that meets your internal security guidelines. Default: 90, which means the password must be changed every 90 days.
49
- :param pulumi.Input[builtins.int] max_length: (Default: `256`) Specifies the maximum number of characters the password must contain. This number must be greater than or equal to the sum of PASSWORD*MIN*LENGTH, PASSWORD*MIN*UPPER*CASE*CHARS, and PASSWORD*MIN*LOWER*CASE*CHARS. Supported range: 8 to 256, inclusive. Default: 256
50
- :param pulumi.Input[builtins.int] max_retries: (Default: `5`) Specifies the maximum number of attempts to enter a password before being locked out. Supported range: 1 to 10, inclusive. Default: 5
51
- :param pulumi.Input[builtins.int] min_age_days: (Default: `0`) Specifies the number of days the user must wait before a recently changed password can be changed again. Supported range: 0 to 999, inclusive. Default: 0
52
- :param pulumi.Input[builtins.int] min_length: (Default: `8`) Specifies the minimum number of characters the password must contain. Supported range: 8 to 256, inclusive. Default: 8
53
- :param pulumi.Input[builtins.int] min_lower_case_chars: (Default: `1`) Specifies the minimum number of lowercase characters the password must contain. Supported range: 0 to 256, inclusive. Default: 1
54
- :param pulumi.Input[builtins.int] min_numeric_chars: (Default: `1`) Specifies the minimum number of numeric characters the password must contain. Supported range: 0 to 256, inclusive. Default: 1
55
- :param pulumi.Input[builtins.int] min_special_chars: (Default: `1`) Specifies the minimum number of special characters the password must contain. Supported range: 0 to 256, inclusive. Default: 1
56
- :param pulumi.Input[builtins.int] min_upper_case_chars: (Default: `1`) Specifies the minimum number of uppercase characters the password must contain. Supported range: 0 to 256, inclusive. Default: 1
57
- :param pulumi.Input[builtins.str] name: Identifier for the password policy; must be unique for your account.
58
- :param pulumi.Input[builtins.bool] or_replace: (Default: `false`) Whether to override a previous password policy with the same name.
41
+ :param pulumi.Input[_builtins.str] database: The database this password policy belongs to.
42
+ :param pulumi.Input[_builtins.str] schema: The schema this password policy belongs to.
43
+ :param pulumi.Input[_builtins.str] comment: Adds a comment or overwrites an existing comment for the password policy.
44
+ :param pulumi.Input[_builtins.int] history: (Default: `0`) Specifies the number of the most recent passwords that Snowflake stores. These stored passwords cannot be repeated when a user updates their password value. The current password value does not count towards the history. When you increase the history value, Snowflake saves the previous values. When you decrease the value, Snowflake saves the stored values up to that value that is set. For example, if the history value is 8 and you change the history value to 3, Snowflake stores the most recent 3 passwords and deletes the 5 older password values from the history. Default: 0 Max: 24
45
+ :param pulumi.Input[_builtins.bool] if_not_exists: (Default: `false`) Prevent overwriting a previous password policy with the same name.
46
+ :param pulumi.Input[_builtins.int] lockout_time_mins: (Default: `15`) Specifies the number of minutes the user account will be locked after exhausting the designated number of password retries (i.e. PASSWORD*MAX*RETRIES). Supported range: 1 to 999, inclusive. Default: 15
47
+ :param pulumi.Input[_builtins.int] max_age_days: (Default: `90`) Specifies the maximum number of days before the password must be changed. Supported range: 0 to 999, inclusive. A value of zero (i.e. 0) indicates that the password does not need to be changed. Snowflake does not recommend choosing this value for a default account-level password policy or for any user-level policy. Instead, choose a value that meets your internal security guidelines. Default: 90, which means the password must be changed every 90 days.
48
+ :param pulumi.Input[_builtins.int] max_length: (Default: `256`) Specifies the maximum number of characters the password must contain. This number must be greater than or equal to the sum of PASSWORD*MIN*LENGTH, PASSWORD*MIN*UPPER*CASE*CHARS, and PASSWORD*MIN*LOWER*CASE*CHARS. Supported range: 8 to 256, inclusive. Default: 256
49
+ :param pulumi.Input[_builtins.int] max_retries: (Default: `5`) Specifies the maximum number of attempts to enter a password before being locked out. Supported range: 1 to 10, inclusive. Default: 5
50
+ :param pulumi.Input[_builtins.int] min_age_days: (Default: `0`) Specifies the number of days the user must wait before a recently changed password can be changed again. Supported range: 0 to 999, inclusive. Default: 0
51
+ :param pulumi.Input[_builtins.int] min_length: (Default: `8`) Specifies the minimum number of characters the password must contain. Supported range: 8 to 256, inclusive. Default: 8
52
+ :param pulumi.Input[_builtins.int] min_lower_case_chars: (Default: `1`) Specifies the minimum number of lowercase characters the password must contain. Supported range: 0 to 256, inclusive. Default: 1
53
+ :param pulumi.Input[_builtins.int] min_numeric_chars: (Default: `1`) Specifies the minimum number of numeric characters the password must contain. Supported range: 0 to 256, inclusive. Default: 1
54
+ :param pulumi.Input[_builtins.int] min_special_chars: (Default: `1`) Specifies the minimum number of special characters the password must contain. Supported range: 0 to 256, inclusive. Default: 1
55
+ :param pulumi.Input[_builtins.int] min_upper_case_chars: (Default: `1`) Specifies the minimum number of uppercase characters the password must contain. Supported range: 0 to 256, inclusive. Default: 1
56
+ :param pulumi.Input[_builtins.str] name: Identifier for the password policy; must be unique for your account.
57
+ :param pulumi.Input[_builtins.bool] or_replace: (Default: `false`) Whether to override a previous password policy with the same name.
59
58
  """
60
59
  pulumi.set(__self__, "database", database)
61
60
  pulumi.set(__self__, "schema", schema)
@@ -90,252 +89,252 @@ class PasswordPolicyArgs:
90
89
  if or_replace is not None:
91
90
  pulumi.set(__self__, "or_replace", or_replace)
92
91
 
93
- @property
92
+ @_builtins.property
94
93
  @pulumi.getter
95
- def database(self) -> pulumi.Input[builtins.str]:
94
+ def database(self) -> pulumi.Input[_builtins.str]:
96
95
  """
97
96
  The database this password policy belongs to.
98
97
  """
99
98
  return pulumi.get(self, "database")
100
99
 
101
100
  @database.setter
102
- def database(self, value: pulumi.Input[builtins.str]):
101
+ def database(self, value: pulumi.Input[_builtins.str]):
103
102
  pulumi.set(self, "database", value)
104
103
 
105
- @property
104
+ @_builtins.property
106
105
  @pulumi.getter
107
- def schema(self) -> pulumi.Input[builtins.str]:
106
+ def schema(self) -> pulumi.Input[_builtins.str]:
108
107
  """
109
108
  The schema this password policy belongs to.
110
109
  """
111
110
  return pulumi.get(self, "schema")
112
111
 
113
112
  @schema.setter
114
- def schema(self, value: pulumi.Input[builtins.str]):
113
+ def schema(self, value: pulumi.Input[_builtins.str]):
115
114
  pulumi.set(self, "schema", value)
116
115
 
117
- @property
116
+ @_builtins.property
118
117
  @pulumi.getter
119
- def comment(self) -> Optional[pulumi.Input[builtins.str]]:
118
+ def comment(self) -> Optional[pulumi.Input[_builtins.str]]:
120
119
  """
121
120
  Adds a comment or overwrites an existing comment for the password policy.
122
121
  """
123
122
  return pulumi.get(self, "comment")
124
123
 
125
124
  @comment.setter
126
- def comment(self, value: Optional[pulumi.Input[builtins.str]]):
125
+ def comment(self, value: Optional[pulumi.Input[_builtins.str]]):
127
126
  pulumi.set(self, "comment", value)
128
127
 
129
- @property
128
+ @_builtins.property
130
129
  @pulumi.getter
131
- def history(self) -> Optional[pulumi.Input[builtins.int]]:
130
+ def history(self) -> Optional[pulumi.Input[_builtins.int]]:
132
131
  """
133
132
  (Default: `0`) Specifies the number of the most recent passwords that Snowflake stores. These stored passwords cannot be repeated when a user updates their password value. The current password value does not count towards the history. When you increase the history value, Snowflake saves the previous values. When you decrease the value, Snowflake saves the stored values up to that value that is set. For example, if the history value is 8 and you change the history value to 3, Snowflake stores the most recent 3 passwords and deletes the 5 older password values from the history. Default: 0 Max: 24
134
133
  """
135
134
  return pulumi.get(self, "history")
136
135
 
137
136
  @history.setter
138
- def history(self, value: Optional[pulumi.Input[builtins.int]]):
137
+ def history(self, value: Optional[pulumi.Input[_builtins.int]]):
139
138
  pulumi.set(self, "history", value)
140
139
 
141
- @property
140
+ @_builtins.property
142
141
  @pulumi.getter(name="ifNotExists")
143
- def if_not_exists(self) -> Optional[pulumi.Input[builtins.bool]]:
142
+ def if_not_exists(self) -> Optional[pulumi.Input[_builtins.bool]]:
144
143
  """
145
144
  (Default: `false`) Prevent overwriting a previous password policy with the same name.
146
145
  """
147
146
  return pulumi.get(self, "if_not_exists")
148
147
 
149
148
  @if_not_exists.setter
150
- def if_not_exists(self, value: Optional[pulumi.Input[builtins.bool]]):
149
+ def if_not_exists(self, value: Optional[pulumi.Input[_builtins.bool]]):
151
150
  pulumi.set(self, "if_not_exists", value)
152
151
 
153
- @property
152
+ @_builtins.property
154
153
  @pulumi.getter(name="lockoutTimeMins")
155
- def lockout_time_mins(self) -> Optional[pulumi.Input[builtins.int]]:
154
+ def lockout_time_mins(self) -> Optional[pulumi.Input[_builtins.int]]:
156
155
  """
157
156
  (Default: `15`) Specifies the number of minutes the user account will be locked after exhausting the designated number of password retries (i.e. PASSWORD*MAX*RETRIES). Supported range: 1 to 999, inclusive. Default: 15
158
157
  """
159
158
  return pulumi.get(self, "lockout_time_mins")
160
159
 
161
160
  @lockout_time_mins.setter
162
- def lockout_time_mins(self, value: Optional[pulumi.Input[builtins.int]]):
161
+ def lockout_time_mins(self, value: Optional[pulumi.Input[_builtins.int]]):
163
162
  pulumi.set(self, "lockout_time_mins", value)
164
163
 
165
- @property
164
+ @_builtins.property
166
165
  @pulumi.getter(name="maxAgeDays")
167
- def max_age_days(self) -> Optional[pulumi.Input[builtins.int]]:
166
+ def max_age_days(self) -> Optional[pulumi.Input[_builtins.int]]:
168
167
  """
169
168
  (Default: `90`) Specifies the maximum number of days before the password must be changed. Supported range: 0 to 999, inclusive. A value of zero (i.e. 0) indicates that the password does not need to be changed. Snowflake does not recommend choosing this value for a default account-level password policy or for any user-level policy. Instead, choose a value that meets your internal security guidelines. Default: 90, which means the password must be changed every 90 days.
170
169
  """
171
170
  return pulumi.get(self, "max_age_days")
172
171
 
173
172
  @max_age_days.setter
174
- def max_age_days(self, value: Optional[pulumi.Input[builtins.int]]):
173
+ def max_age_days(self, value: Optional[pulumi.Input[_builtins.int]]):
175
174
  pulumi.set(self, "max_age_days", value)
176
175
 
177
- @property
176
+ @_builtins.property
178
177
  @pulumi.getter(name="maxLength")
179
- def max_length(self) -> Optional[pulumi.Input[builtins.int]]:
178
+ def max_length(self) -> Optional[pulumi.Input[_builtins.int]]:
180
179
  """
181
180
  (Default: `256`) Specifies the maximum number of characters the password must contain. This number must be greater than or equal to the sum of PASSWORD*MIN*LENGTH, PASSWORD*MIN*UPPER*CASE*CHARS, and PASSWORD*MIN*LOWER*CASE*CHARS. Supported range: 8 to 256, inclusive. Default: 256
182
181
  """
183
182
  return pulumi.get(self, "max_length")
184
183
 
185
184
  @max_length.setter
186
- def max_length(self, value: Optional[pulumi.Input[builtins.int]]):
185
+ def max_length(self, value: Optional[pulumi.Input[_builtins.int]]):
187
186
  pulumi.set(self, "max_length", value)
188
187
 
189
- @property
188
+ @_builtins.property
190
189
  @pulumi.getter(name="maxRetries")
191
- def max_retries(self) -> Optional[pulumi.Input[builtins.int]]:
190
+ def max_retries(self) -> Optional[pulumi.Input[_builtins.int]]:
192
191
  """
193
192
  (Default: `5`) Specifies the maximum number of attempts to enter a password before being locked out. Supported range: 1 to 10, inclusive. Default: 5
194
193
  """
195
194
  return pulumi.get(self, "max_retries")
196
195
 
197
196
  @max_retries.setter
198
- def max_retries(self, value: Optional[pulumi.Input[builtins.int]]):
197
+ def max_retries(self, value: Optional[pulumi.Input[_builtins.int]]):
199
198
  pulumi.set(self, "max_retries", value)
200
199
 
201
- @property
200
+ @_builtins.property
202
201
  @pulumi.getter(name="minAgeDays")
203
- def min_age_days(self) -> Optional[pulumi.Input[builtins.int]]:
202
+ def min_age_days(self) -> Optional[pulumi.Input[_builtins.int]]:
204
203
  """
205
204
  (Default: `0`) Specifies the number of days the user must wait before a recently changed password can be changed again. Supported range: 0 to 999, inclusive. Default: 0
206
205
  """
207
206
  return pulumi.get(self, "min_age_days")
208
207
 
209
208
  @min_age_days.setter
210
- def min_age_days(self, value: Optional[pulumi.Input[builtins.int]]):
209
+ def min_age_days(self, value: Optional[pulumi.Input[_builtins.int]]):
211
210
  pulumi.set(self, "min_age_days", value)
212
211
 
213
- @property
212
+ @_builtins.property
214
213
  @pulumi.getter(name="minLength")
215
- def min_length(self) -> Optional[pulumi.Input[builtins.int]]:
214
+ def min_length(self) -> Optional[pulumi.Input[_builtins.int]]:
216
215
  """
217
216
  (Default: `8`) Specifies the minimum number of characters the password must contain. Supported range: 8 to 256, inclusive. Default: 8
218
217
  """
219
218
  return pulumi.get(self, "min_length")
220
219
 
221
220
  @min_length.setter
222
- def min_length(self, value: Optional[pulumi.Input[builtins.int]]):
221
+ def min_length(self, value: Optional[pulumi.Input[_builtins.int]]):
223
222
  pulumi.set(self, "min_length", value)
224
223
 
225
- @property
224
+ @_builtins.property
226
225
  @pulumi.getter(name="minLowerCaseChars")
227
- def min_lower_case_chars(self) -> Optional[pulumi.Input[builtins.int]]:
226
+ def min_lower_case_chars(self) -> Optional[pulumi.Input[_builtins.int]]:
228
227
  """
229
228
  (Default: `1`) Specifies the minimum number of lowercase characters the password must contain. Supported range: 0 to 256, inclusive. Default: 1
230
229
  """
231
230
  return pulumi.get(self, "min_lower_case_chars")
232
231
 
233
232
  @min_lower_case_chars.setter
234
- def min_lower_case_chars(self, value: Optional[pulumi.Input[builtins.int]]):
233
+ def min_lower_case_chars(self, value: Optional[pulumi.Input[_builtins.int]]):
235
234
  pulumi.set(self, "min_lower_case_chars", value)
236
235
 
237
- @property
236
+ @_builtins.property
238
237
  @pulumi.getter(name="minNumericChars")
239
- def min_numeric_chars(self) -> Optional[pulumi.Input[builtins.int]]:
238
+ def min_numeric_chars(self) -> Optional[pulumi.Input[_builtins.int]]:
240
239
  """
241
240
  (Default: `1`) Specifies the minimum number of numeric characters the password must contain. Supported range: 0 to 256, inclusive. Default: 1
242
241
  """
243
242
  return pulumi.get(self, "min_numeric_chars")
244
243
 
245
244
  @min_numeric_chars.setter
246
- def min_numeric_chars(self, value: Optional[pulumi.Input[builtins.int]]):
245
+ def min_numeric_chars(self, value: Optional[pulumi.Input[_builtins.int]]):
247
246
  pulumi.set(self, "min_numeric_chars", value)
248
247
 
249
- @property
248
+ @_builtins.property
250
249
  @pulumi.getter(name="minSpecialChars")
251
- def min_special_chars(self) -> Optional[pulumi.Input[builtins.int]]:
250
+ def min_special_chars(self) -> Optional[pulumi.Input[_builtins.int]]:
252
251
  """
253
252
  (Default: `1`) Specifies the minimum number of special characters the password must contain. Supported range: 0 to 256, inclusive. Default: 1
254
253
  """
255
254
  return pulumi.get(self, "min_special_chars")
256
255
 
257
256
  @min_special_chars.setter
258
- def min_special_chars(self, value: Optional[pulumi.Input[builtins.int]]):
257
+ def min_special_chars(self, value: Optional[pulumi.Input[_builtins.int]]):
259
258
  pulumi.set(self, "min_special_chars", value)
260
259
 
261
- @property
260
+ @_builtins.property
262
261
  @pulumi.getter(name="minUpperCaseChars")
263
- def min_upper_case_chars(self) -> Optional[pulumi.Input[builtins.int]]:
262
+ def min_upper_case_chars(self) -> Optional[pulumi.Input[_builtins.int]]:
264
263
  """
265
264
  (Default: `1`) Specifies the minimum number of uppercase characters the password must contain. Supported range: 0 to 256, inclusive. Default: 1
266
265
  """
267
266
  return pulumi.get(self, "min_upper_case_chars")
268
267
 
269
268
  @min_upper_case_chars.setter
270
- def min_upper_case_chars(self, value: Optional[pulumi.Input[builtins.int]]):
269
+ def min_upper_case_chars(self, value: Optional[pulumi.Input[_builtins.int]]):
271
270
  pulumi.set(self, "min_upper_case_chars", value)
272
271
 
273
- @property
272
+ @_builtins.property
274
273
  @pulumi.getter
275
- def name(self) -> Optional[pulumi.Input[builtins.str]]:
274
+ def name(self) -> Optional[pulumi.Input[_builtins.str]]:
276
275
  """
277
276
  Identifier for the password policy; must be unique for your account.
278
277
  """
279
278
  return pulumi.get(self, "name")
280
279
 
281
280
  @name.setter
282
- def name(self, value: Optional[pulumi.Input[builtins.str]]):
281
+ def name(self, value: Optional[pulumi.Input[_builtins.str]]):
283
282
  pulumi.set(self, "name", value)
284
283
 
285
- @property
284
+ @_builtins.property
286
285
  @pulumi.getter(name="orReplace")
287
- def or_replace(self) -> Optional[pulumi.Input[builtins.bool]]:
286
+ def or_replace(self) -> Optional[pulumi.Input[_builtins.bool]]:
288
287
  """
289
288
  (Default: `false`) Whether to override a previous password policy with the same name.
290
289
  """
291
290
  return pulumi.get(self, "or_replace")
292
291
 
293
292
  @or_replace.setter
294
- def or_replace(self, value: Optional[pulumi.Input[builtins.bool]]):
293
+ def or_replace(self, value: Optional[pulumi.Input[_builtins.bool]]):
295
294
  pulumi.set(self, "or_replace", value)
296
295
 
297
296
 
298
297
  @pulumi.input_type
299
298
  class _PasswordPolicyState:
300
299
  def __init__(__self__, *,
301
- comment: Optional[pulumi.Input[builtins.str]] = None,
302
- database: Optional[pulumi.Input[builtins.str]] = None,
303
- fully_qualified_name: Optional[pulumi.Input[builtins.str]] = None,
304
- history: Optional[pulumi.Input[builtins.int]] = None,
305
- if_not_exists: Optional[pulumi.Input[builtins.bool]] = None,
306
- lockout_time_mins: Optional[pulumi.Input[builtins.int]] = None,
307
- max_age_days: Optional[pulumi.Input[builtins.int]] = None,
308
- max_length: Optional[pulumi.Input[builtins.int]] = None,
309
- max_retries: Optional[pulumi.Input[builtins.int]] = None,
310
- min_age_days: Optional[pulumi.Input[builtins.int]] = None,
311
- min_length: Optional[pulumi.Input[builtins.int]] = None,
312
- min_lower_case_chars: Optional[pulumi.Input[builtins.int]] = None,
313
- min_numeric_chars: Optional[pulumi.Input[builtins.int]] = None,
314
- min_special_chars: Optional[pulumi.Input[builtins.int]] = None,
315
- min_upper_case_chars: Optional[pulumi.Input[builtins.int]] = None,
316
- name: Optional[pulumi.Input[builtins.str]] = None,
317
- or_replace: Optional[pulumi.Input[builtins.bool]] = None,
318
- schema: Optional[pulumi.Input[builtins.str]] = None):
300
+ comment: Optional[pulumi.Input[_builtins.str]] = None,
301
+ database: Optional[pulumi.Input[_builtins.str]] = None,
302
+ fully_qualified_name: Optional[pulumi.Input[_builtins.str]] = None,
303
+ history: Optional[pulumi.Input[_builtins.int]] = None,
304
+ if_not_exists: Optional[pulumi.Input[_builtins.bool]] = None,
305
+ lockout_time_mins: Optional[pulumi.Input[_builtins.int]] = None,
306
+ max_age_days: Optional[pulumi.Input[_builtins.int]] = None,
307
+ max_length: Optional[pulumi.Input[_builtins.int]] = None,
308
+ max_retries: Optional[pulumi.Input[_builtins.int]] = None,
309
+ min_age_days: Optional[pulumi.Input[_builtins.int]] = None,
310
+ min_length: Optional[pulumi.Input[_builtins.int]] = None,
311
+ min_lower_case_chars: Optional[pulumi.Input[_builtins.int]] = None,
312
+ min_numeric_chars: Optional[pulumi.Input[_builtins.int]] = None,
313
+ min_special_chars: Optional[pulumi.Input[_builtins.int]] = None,
314
+ min_upper_case_chars: Optional[pulumi.Input[_builtins.int]] = None,
315
+ name: Optional[pulumi.Input[_builtins.str]] = None,
316
+ or_replace: Optional[pulumi.Input[_builtins.bool]] = None,
317
+ schema: Optional[pulumi.Input[_builtins.str]] = None):
319
318
  """
320
319
  Input properties used for looking up and filtering PasswordPolicy resources.
321
- :param pulumi.Input[builtins.str] comment: Adds a comment or overwrites an existing comment for the password policy.
322
- :param pulumi.Input[builtins.str] database: The database this password policy belongs to.
323
- :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).
324
- :param pulumi.Input[builtins.int] history: (Default: `0`) Specifies the number of the most recent passwords that Snowflake stores. These stored passwords cannot be repeated when a user updates their password value. The current password value does not count towards the history. When you increase the history value, Snowflake saves the previous values. When you decrease the value, Snowflake saves the stored values up to that value that is set. For example, if the history value is 8 and you change the history value to 3, Snowflake stores the most recent 3 passwords and deletes the 5 older password values from the history. Default: 0 Max: 24
325
- :param pulumi.Input[builtins.bool] if_not_exists: (Default: `false`) Prevent overwriting a previous password policy with the same name.
326
- :param pulumi.Input[builtins.int] lockout_time_mins: (Default: `15`) Specifies the number of minutes the user account will be locked after exhausting the designated number of password retries (i.e. PASSWORD*MAX*RETRIES). Supported range: 1 to 999, inclusive. Default: 15
327
- :param pulumi.Input[builtins.int] max_age_days: (Default: `90`) Specifies the maximum number of days before the password must be changed. Supported range: 0 to 999, inclusive. A value of zero (i.e. 0) indicates that the password does not need to be changed. Snowflake does not recommend choosing this value for a default account-level password policy or for any user-level policy. Instead, choose a value that meets your internal security guidelines. Default: 90, which means the password must be changed every 90 days.
328
- :param pulumi.Input[builtins.int] max_length: (Default: `256`) Specifies the maximum number of characters the password must contain. This number must be greater than or equal to the sum of PASSWORD*MIN*LENGTH, PASSWORD*MIN*UPPER*CASE*CHARS, and PASSWORD*MIN*LOWER*CASE*CHARS. Supported range: 8 to 256, inclusive. Default: 256
329
- :param pulumi.Input[builtins.int] max_retries: (Default: `5`) Specifies the maximum number of attempts to enter a password before being locked out. Supported range: 1 to 10, inclusive. Default: 5
330
- :param pulumi.Input[builtins.int] min_age_days: (Default: `0`) Specifies the number of days the user must wait before a recently changed password can be changed again. Supported range: 0 to 999, inclusive. Default: 0
331
- :param pulumi.Input[builtins.int] min_length: (Default: `8`) Specifies the minimum number of characters the password must contain. Supported range: 8 to 256, inclusive. Default: 8
332
- :param pulumi.Input[builtins.int] min_lower_case_chars: (Default: `1`) Specifies the minimum number of lowercase characters the password must contain. Supported range: 0 to 256, inclusive. Default: 1
333
- :param pulumi.Input[builtins.int] min_numeric_chars: (Default: `1`) Specifies the minimum number of numeric characters the password must contain. Supported range: 0 to 256, inclusive. Default: 1
334
- :param pulumi.Input[builtins.int] min_special_chars: (Default: `1`) Specifies the minimum number of special characters the password must contain. Supported range: 0 to 256, inclusive. Default: 1
335
- :param pulumi.Input[builtins.int] min_upper_case_chars: (Default: `1`) Specifies the minimum number of uppercase characters the password must contain. Supported range: 0 to 256, inclusive. Default: 1
336
- :param pulumi.Input[builtins.str] name: Identifier for the password policy; must be unique for your account.
337
- :param pulumi.Input[builtins.bool] or_replace: (Default: `false`) Whether to override a previous password policy with the same name.
338
- :param pulumi.Input[builtins.str] schema: The schema this password policy belongs to.
320
+ :param pulumi.Input[_builtins.str] comment: Adds a comment or overwrites an existing comment for the password policy.
321
+ :param pulumi.Input[_builtins.str] database: The database this password policy belongs to.
322
+ :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).
323
+ :param pulumi.Input[_builtins.int] history: (Default: `0`) Specifies the number of the most recent passwords that Snowflake stores. These stored passwords cannot be repeated when a user updates their password value. The current password value does not count towards the history. When you increase the history value, Snowflake saves the previous values. When you decrease the value, Snowflake saves the stored values up to that value that is set. For example, if the history value is 8 and you change the history value to 3, Snowflake stores the most recent 3 passwords and deletes the 5 older password values from the history. Default: 0 Max: 24
324
+ :param pulumi.Input[_builtins.bool] if_not_exists: (Default: `false`) Prevent overwriting a previous password policy with the same name.
325
+ :param pulumi.Input[_builtins.int] lockout_time_mins: (Default: `15`) Specifies the number of minutes the user account will be locked after exhausting the designated number of password retries (i.e. PASSWORD*MAX*RETRIES). Supported range: 1 to 999, inclusive. Default: 15
326
+ :param pulumi.Input[_builtins.int] max_age_days: (Default: `90`) Specifies the maximum number of days before the password must be changed. Supported range: 0 to 999, inclusive. A value of zero (i.e. 0) indicates that the password does not need to be changed. Snowflake does not recommend choosing this value for a default account-level password policy or for any user-level policy. Instead, choose a value that meets your internal security guidelines. Default: 90, which means the password must be changed every 90 days.
327
+ :param pulumi.Input[_builtins.int] max_length: (Default: `256`) Specifies the maximum number of characters the password must contain. This number must be greater than or equal to the sum of PASSWORD*MIN*LENGTH, PASSWORD*MIN*UPPER*CASE*CHARS, and PASSWORD*MIN*LOWER*CASE*CHARS. Supported range: 8 to 256, inclusive. Default: 256
328
+ :param pulumi.Input[_builtins.int] max_retries: (Default: `5`) Specifies the maximum number of attempts to enter a password before being locked out. Supported range: 1 to 10, inclusive. Default: 5
329
+ :param pulumi.Input[_builtins.int] min_age_days: (Default: `0`) Specifies the number of days the user must wait before a recently changed password can be changed again. Supported range: 0 to 999, inclusive. Default: 0
330
+ :param pulumi.Input[_builtins.int] min_length: (Default: `8`) Specifies the minimum number of characters the password must contain. Supported range: 8 to 256, inclusive. Default: 8
331
+ :param pulumi.Input[_builtins.int] min_lower_case_chars: (Default: `1`) Specifies the minimum number of lowercase characters the password must contain. Supported range: 0 to 256, inclusive. Default: 1
332
+ :param pulumi.Input[_builtins.int] min_numeric_chars: (Default: `1`) Specifies the minimum number of numeric characters the password must contain. Supported range: 0 to 256, inclusive. Default: 1
333
+ :param pulumi.Input[_builtins.int] min_special_chars: (Default: `1`) Specifies the minimum number of special characters the password must contain. Supported range: 0 to 256, inclusive. Default: 1
334
+ :param pulumi.Input[_builtins.int] min_upper_case_chars: (Default: `1`) Specifies the minimum number of uppercase characters the password must contain. Supported range: 0 to 256, inclusive. Default: 1
335
+ :param pulumi.Input[_builtins.str] name: Identifier for the password policy; must be unique for your account.
336
+ :param pulumi.Input[_builtins.bool] or_replace: (Default: `false`) Whether to override a previous password policy with the same name.
337
+ :param pulumi.Input[_builtins.str] schema: The schema this password policy belongs to.
339
338
  """
340
339
  if comment is not None:
341
340
  pulumi.set(__self__, "comment", comment)
@@ -374,220 +373,220 @@ class _PasswordPolicyState:
374
373
  if schema is not None:
375
374
  pulumi.set(__self__, "schema", schema)
376
375
 
377
- @property
376
+ @_builtins.property
378
377
  @pulumi.getter
379
- def comment(self) -> Optional[pulumi.Input[builtins.str]]:
378
+ def comment(self) -> Optional[pulumi.Input[_builtins.str]]:
380
379
  """
381
380
  Adds a comment or overwrites an existing comment for the password policy.
382
381
  """
383
382
  return pulumi.get(self, "comment")
384
383
 
385
384
  @comment.setter
386
- def comment(self, value: Optional[pulumi.Input[builtins.str]]):
385
+ def comment(self, value: Optional[pulumi.Input[_builtins.str]]):
387
386
  pulumi.set(self, "comment", value)
388
387
 
389
- @property
388
+ @_builtins.property
390
389
  @pulumi.getter
391
- def database(self) -> Optional[pulumi.Input[builtins.str]]:
390
+ def database(self) -> Optional[pulumi.Input[_builtins.str]]:
392
391
  """
393
392
  The database this password policy belongs to.
394
393
  """
395
394
  return pulumi.get(self, "database")
396
395
 
397
396
  @database.setter
398
- def database(self, value: Optional[pulumi.Input[builtins.str]]):
397
+ def database(self, value: Optional[pulumi.Input[_builtins.str]]):
399
398
  pulumi.set(self, "database", value)
400
399
 
401
- @property
400
+ @_builtins.property
402
401
  @pulumi.getter(name="fullyQualifiedName")
403
- def fully_qualified_name(self) -> Optional[pulumi.Input[builtins.str]]:
402
+ def fully_qualified_name(self) -> Optional[pulumi.Input[_builtins.str]]:
404
403
  """
405
404
  Fully qualified name of the resource. For more information, see [object name resolution](https://docs.snowflake.com/en/sql-reference/name-resolution).
406
405
  """
407
406
  return pulumi.get(self, "fully_qualified_name")
408
407
 
409
408
  @fully_qualified_name.setter
410
- def fully_qualified_name(self, value: Optional[pulumi.Input[builtins.str]]):
409
+ def fully_qualified_name(self, value: Optional[pulumi.Input[_builtins.str]]):
411
410
  pulumi.set(self, "fully_qualified_name", value)
412
411
 
413
- @property
412
+ @_builtins.property
414
413
  @pulumi.getter
415
- def history(self) -> Optional[pulumi.Input[builtins.int]]:
414
+ def history(self) -> Optional[pulumi.Input[_builtins.int]]:
416
415
  """
417
416
  (Default: `0`) Specifies the number of the most recent passwords that Snowflake stores. These stored passwords cannot be repeated when a user updates their password value. The current password value does not count towards the history. When you increase the history value, Snowflake saves the previous values. When you decrease the value, Snowflake saves the stored values up to that value that is set. For example, if the history value is 8 and you change the history value to 3, Snowflake stores the most recent 3 passwords and deletes the 5 older password values from the history. Default: 0 Max: 24
418
417
  """
419
418
  return pulumi.get(self, "history")
420
419
 
421
420
  @history.setter
422
- def history(self, value: Optional[pulumi.Input[builtins.int]]):
421
+ def history(self, value: Optional[pulumi.Input[_builtins.int]]):
423
422
  pulumi.set(self, "history", value)
424
423
 
425
- @property
424
+ @_builtins.property
426
425
  @pulumi.getter(name="ifNotExists")
427
- def if_not_exists(self) -> Optional[pulumi.Input[builtins.bool]]:
426
+ def if_not_exists(self) -> Optional[pulumi.Input[_builtins.bool]]:
428
427
  """
429
428
  (Default: `false`) Prevent overwriting a previous password policy with the same name.
430
429
  """
431
430
  return pulumi.get(self, "if_not_exists")
432
431
 
433
432
  @if_not_exists.setter
434
- def if_not_exists(self, value: Optional[pulumi.Input[builtins.bool]]):
433
+ def if_not_exists(self, value: Optional[pulumi.Input[_builtins.bool]]):
435
434
  pulumi.set(self, "if_not_exists", value)
436
435
 
437
- @property
436
+ @_builtins.property
438
437
  @pulumi.getter(name="lockoutTimeMins")
439
- def lockout_time_mins(self) -> Optional[pulumi.Input[builtins.int]]:
438
+ def lockout_time_mins(self) -> Optional[pulumi.Input[_builtins.int]]:
440
439
  """
441
440
  (Default: `15`) Specifies the number of minutes the user account will be locked after exhausting the designated number of password retries (i.e. PASSWORD*MAX*RETRIES). Supported range: 1 to 999, inclusive. Default: 15
442
441
  """
443
442
  return pulumi.get(self, "lockout_time_mins")
444
443
 
445
444
  @lockout_time_mins.setter
446
- def lockout_time_mins(self, value: Optional[pulumi.Input[builtins.int]]):
445
+ def lockout_time_mins(self, value: Optional[pulumi.Input[_builtins.int]]):
447
446
  pulumi.set(self, "lockout_time_mins", value)
448
447
 
449
- @property
448
+ @_builtins.property
450
449
  @pulumi.getter(name="maxAgeDays")
451
- def max_age_days(self) -> Optional[pulumi.Input[builtins.int]]:
450
+ def max_age_days(self) -> Optional[pulumi.Input[_builtins.int]]:
452
451
  """
453
452
  (Default: `90`) Specifies the maximum number of days before the password must be changed. Supported range: 0 to 999, inclusive. A value of zero (i.e. 0) indicates that the password does not need to be changed. Snowflake does not recommend choosing this value for a default account-level password policy or for any user-level policy. Instead, choose a value that meets your internal security guidelines. Default: 90, which means the password must be changed every 90 days.
454
453
  """
455
454
  return pulumi.get(self, "max_age_days")
456
455
 
457
456
  @max_age_days.setter
458
- def max_age_days(self, value: Optional[pulumi.Input[builtins.int]]):
457
+ def max_age_days(self, value: Optional[pulumi.Input[_builtins.int]]):
459
458
  pulumi.set(self, "max_age_days", value)
460
459
 
461
- @property
460
+ @_builtins.property
462
461
  @pulumi.getter(name="maxLength")
463
- def max_length(self) -> Optional[pulumi.Input[builtins.int]]:
462
+ def max_length(self) -> Optional[pulumi.Input[_builtins.int]]:
464
463
  """
465
464
  (Default: `256`) Specifies the maximum number of characters the password must contain. This number must be greater than or equal to the sum of PASSWORD*MIN*LENGTH, PASSWORD*MIN*UPPER*CASE*CHARS, and PASSWORD*MIN*LOWER*CASE*CHARS. Supported range: 8 to 256, inclusive. Default: 256
466
465
  """
467
466
  return pulumi.get(self, "max_length")
468
467
 
469
468
  @max_length.setter
470
- def max_length(self, value: Optional[pulumi.Input[builtins.int]]):
469
+ def max_length(self, value: Optional[pulumi.Input[_builtins.int]]):
471
470
  pulumi.set(self, "max_length", value)
472
471
 
473
- @property
472
+ @_builtins.property
474
473
  @pulumi.getter(name="maxRetries")
475
- def max_retries(self) -> Optional[pulumi.Input[builtins.int]]:
474
+ def max_retries(self) -> Optional[pulumi.Input[_builtins.int]]:
476
475
  """
477
476
  (Default: `5`) Specifies the maximum number of attempts to enter a password before being locked out. Supported range: 1 to 10, inclusive. Default: 5
478
477
  """
479
478
  return pulumi.get(self, "max_retries")
480
479
 
481
480
  @max_retries.setter
482
- def max_retries(self, value: Optional[pulumi.Input[builtins.int]]):
481
+ def max_retries(self, value: Optional[pulumi.Input[_builtins.int]]):
483
482
  pulumi.set(self, "max_retries", value)
484
483
 
485
- @property
484
+ @_builtins.property
486
485
  @pulumi.getter(name="minAgeDays")
487
- def min_age_days(self) -> Optional[pulumi.Input[builtins.int]]:
486
+ def min_age_days(self) -> Optional[pulumi.Input[_builtins.int]]:
488
487
  """
489
488
  (Default: `0`) Specifies the number of days the user must wait before a recently changed password can be changed again. Supported range: 0 to 999, inclusive. Default: 0
490
489
  """
491
490
  return pulumi.get(self, "min_age_days")
492
491
 
493
492
  @min_age_days.setter
494
- def min_age_days(self, value: Optional[pulumi.Input[builtins.int]]):
493
+ def min_age_days(self, value: Optional[pulumi.Input[_builtins.int]]):
495
494
  pulumi.set(self, "min_age_days", value)
496
495
 
497
- @property
496
+ @_builtins.property
498
497
  @pulumi.getter(name="minLength")
499
- def min_length(self) -> Optional[pulumi.Input[builtins.int]]:
498
+ def min_length(self) -> Optional[pulumi.Input[_builtins.int]]:
500
499
  """
501
500
  (Default: `8`) Specifies the minimum number of characters the password must contain. Supported range: 8 to 256, inclusive. Default: 8
502
501
  """
503
502
  return pulumi.get(self, "min_length")
504
503
 
505
504
  @min_length.setter
506
- def min_length(self, value: Optional[pulumi.Input[builtins.int]]):
505
+ def min_length(self, value: Optional[pulumi.Input[_builtins.int]]):
507
506
  pulumi.set(self, "min_length", value)
508
507
 
509
- @property
508
+ @_builtins.property
510
509
  @pulumi.getter(name="minLowerCaseChars")
511
- def min_lower_case_chars(self) -> Optional[pulumi.Input[builtins.int]]:
510
+ def min_lower_case_chars(self) -> Optional[pulumi.Input[_builtins.int]]:
512
511
  """
513
512
  (Default: `1`) Specifies the minimum number of lowercase characters the password must contain. Supported range: 0 to 256, inclusive. Default: 1
514
513
  """
515
514
  return pulumi.get(self, "min_lower_case_chars")
516
515
 
517
516
  @min_lower_case_chars.setter
518
- def min_lower_case_chars(self, value: Optional[pulumi.Input[builtins.int]]):
517
+ def min_lower_case_chars(self, value: Optional[pulumi.Input[_builtins.int]]):
519
518
  pulumi.set(self, "min_lower_case_chars", value)
520
519
 
521
- @property
520
+ @_builtins.property
522
521
  @pulumi.getter(name="minNumericChars")
523
- def min_numeric_chars(self) -> Optional[pulumi.Input[builtins.int]]:
522
+ def min_numeric_chars(self) -> Optional[pulumi.Input[_builtins.int]]:
524
523
  """
525
524
  (Default: `1`) Specifies the minimum number of numeric characters the password must contain. Supported range: 0 to 256, inclusive. Default: 1
526
525
  """
527
526
  return pulumi.get(self, "min_numeric_chars")
528
527
 
529
528
  @min_numeric_chars.setter
530
- def min_numeric_chars(self, value: Optional[pulumi.Input[builtins.int]]):
529
+ def min_numeric_chars(self, value: Optional[pulumi.Input[_builtins.int]]):
531
530
  pulumi.set(self, "min_numeric_chars", value)
532
531
 
533
- @property
532
+ @_builtins.property
534
533
  @pulumi.getter(name="minSpecialChars")
535
- def min_special_chars(self) -> Optional[pulumi.Input[builtins.int]]:
534
+ def min_special_chars(self) -> Optional[pulumi.Input[_builtins.int]]:
536
535
  """
537
536
  (Default: `1`) Specifies the minimum number of special characters the password must contain. Supported range: 0 to 256, inclusive. Default: 1
538
537
  """
539
538
  return pulumi.get(self, "min_special_chars")
540
539
 
541
540
  @min_special_chars.setter
542
- def min_special_chars(self, value: Optional[pulumi.Input[builtins.int]]):
541
+ def min_special_chars(self, value: Optional[pulumi.Input[_builtins.int]]):
543
542
  pulumi.set(self, "min_special_chars", value)
544
543
 
545
- @property
544
+ @_builtins.property
546
545
  @pulumi.getter(name="minUpperCaseChars")
547
- def min_upper_case_chars(self) -> Optional[pulumi.Input[builtins.int]]:
546
+ def min_upper_case_chars(self) -> Optional[pulumi.Input[_builtins.int]]:
548
547
  """
549
548
  (Default: `1`) Specifies the minimum number of uppercase characters the password must contain. Supported range: 0 to 256, inclusive. Default: 1
550
549
  """
551
550
  return pulumi.get(self, "min_upper_case_chars")
552
551
 
553
552
  @min_upper_case_chars.setter
554
- def min_upper_case_chars(self, value: Optional[pulumi.Input[builtins.int]]):
553
+ def min_upper_case_chars(self, value: Optional[pulumi.Input[_builtins.int]]):
555
554
  pulumi.set(self, "min_upper_case_chars", value)
556
555
 
557
- @property
556
+ @_builtins.property
558
557
  @pulumi.getter
559
- def name(self) -> Optional[pulumi.Input[builtins.str]]:
558
+ def name(self) -> Optional[pulumi.Input[_builtins.str]]:
560
559
  """
561
560
  Identifier for the password policy; must be unique for your account.
562
561
  """
563
562
  return pulumi.get(self, "name")
564
563
 
565
564
  @name.setter
566
- def name(self, value: Optional[pulumi.Input[builtins.str]]):
565
+ def name(self, value: Optional[pulumi.Input[_builtins.str]]):
567
566
  pulumi.set(self, "name", value)
568
567
 
569
- @property
568
+ @_builtins.property
570
569
  @pulumi.getter(name="orReplace")
571
- def or_replace(self) -> Optional[pulumi.Input[builtins.bool]]:
570
+ def or_replace(self) -> Optional[pulumi.Input[_builtins.bool]]:
572
571
  """
573
572
  (Default: `false`) Whether to override a previous password policy with the same name.
574
573
  """
575
574
  return pulumi.get(self, "or_replace")
576
575
 
577
576
  @or_replace.setter
578
- def or_replace(self, value: Optional[pulumi.Input[builtins.bool]]):
577
+ def or_replace(self, value: Optional[pulumi.Input[_builtins.bool]]):
579
578
  pulumi.set(self, "or_replace", value)
580
579
 
581
- @property
580
+ @_builtins.property
582
581
  @pulumi.getter
583
- def schema(self) -> Optional[pulumi.Input[builtins.str]]:
582
+ def schema(self) -> Optional[pulumi.Input[_builtins.str]]:
584
583
  """
585
584
  The schema this password policy belongs to.
586
585
  """
587
586
  return pulumi.get(self, "schema")
588
587
 
589
588
  @schema.setter
590
- def schema(self, value: Optional[pulumi.Input[builtins.str]]):
589
+ def schema(self, value: Optional[pulumi.Input[_builtins.str]]):
591
590
  pulumi.set(self, "schema", value)
592
591
 
593
592
 
@@ -597,23 +596,23 @@ class PasswordPolicy(pulumi.CustomResource):
597
596
  def __init__(__self__,
598
597
  resource_name: str,
599
598
  opts: Optional[pulumi.ResourceOptions] = None,
600
- comment: Optional[pulumi.Input[builtins.str]] = None,
601
- database: Optional[pulumi.Input[builtins.str]] = None,
602
- history: Optional[pulumi.Input[builtins.int]] = None,
603
- if_not_exists: Optional[pulumi.Input[builtins.bool]] = None,
604
- lockout_time_mins: Optional[pulumi.Input[builtins.int]] = None,
605
- max_age_days: Optional[pulumi.Input[builtins.int]] = None,
606
- max_length: Optional[pulumi.Input[builtins.int]] = None,
607
- max_retries: Optional[pulumi.Input[builtins.int]] = None,
608
- min_age_days: Optional[pulumi.Input[builtins.int]] = None,
609
- min_length: Optional[pulumi.Input[builtins.int]] = None,
610
- min_lower_case_chars: Optional[pulumi.Input[builtins.int]] = None,
611
- min_numeric_chars: Optional[pulumi.Input[builtins.int]] = None,
612
- min_special_chars: Optional[pulumi.Input[builtins.int]] = None,
613
- min_upper_case_chars: Optional[pulumi.Input[builtins.int]] = None,
614
- name: Optional[pulumi.Input[builtins.str]] = None,
615
- or_replace: Optional[pulumi.Input[builtins.bool]] = None,
616
- schema: Optional[pulumi.Input[builtins.str]] = None,
599
+ comment: Optional[pulumi.Input[_builtins.str]] = None,
600
+ database: Optional[pulumi.Input[_builtins.str]] = None,
601
+ history: Optional[pulumi.Input[_builtins.int]] = None,
602
+ if_not_exists: Optional[pulumi.Input[_builtins.bool]] = None,
603
+ lockout_time_mins: Optional[pulumi.Input[_builtins.int]] = None,
604
+ max_age_days: Optional[pulumi.Input[_builtins.int]] = None,
605
+ max_length: Optional[pulumi.Input[_builtins.int]] = None,
606
+ max_retries: Optional[pulumi.Input[_builtins.int]] = None,
607
+ min_age_days: Optional[pulumi.Input[_builtins.int]] = None,
608
+ min_length: Optional[pulumi.Input[_builtins.int]] = None,
609
+ min_lower_case_chars: Optional[pulumi.Input[_builtins.int]] = None,
610
+ min_numeric_chars: Optional[pulumi.Input[_builtins.int]] = None,
611
+ min_special_chars: Optional[pulumi.Input[_builtins.int]] = None,
612
+ min_upper_case_chars: Optional[pulumi.Input[_builtins.int]] = None,
613
+ name: Optional[pulumi.Input[_builtins.str]] = None,
614
+ or_replace: Optional[pulumi.Input[_builtins.bool]] = None,
615
+ schema: Optional[pulumi.Input[_builtins.str]] = None,
617
616
  __props__=None):
618
617
  """
619
618
  !> **Caution: Preview Feature** This feature is considered a preview feature in the provider, regardless of the state of the resource in Snowflake. We do not guarantee its stability. It will be reworked and marked as a stable feature in future releases. Breaking changes are expected, even without bumping the major version. To use this feature, add the relevant feature name to `preview_features_enabled` field in the provider configuration. Please always refer to the Getting Help section in our Github repo to best determine how to get help for your questions.
@@ -626,23 +625,23 @@ class PasswordPolicy(pulumi.CustomResource):
626
625
 
627
626
  :param str resource_name: The name of the resource.
628
627
  :param pulumi.ResourceOptions opts: Options for the resource.
629
- :param pulumi.Input[builtins.str] comment: Adds a comment or overwrites an existing comment for the password policy.
630
- :param pulumi.Input[builtins.str] database: The database this password policy belongs to.
631
- :param pulumi.Input[builtins.int] history: (Default: `0`) Specifies the number of the most recent passwords that Snowflake stores. These stored passwords cannot be repeated when a user updates their password value. The current password value does not count towards the history. When you increase the history value, Snowflake saves the previous values. When you decrease the value, Snowflake saves the stored values up to that value that is set. For example, if the history value is 8 and you change the history value to 3, Snowflake stores the most recent 3 passwords and deletes the 5 older password values from the history. Default: 0 Max: 24
632
- :param pulumi.Input[builtins.bool] if_not_exists: (Default: `false`) Prevent overwriting a previous password policy with the same name.
633
- :param pulumi.Input[builtins.int] lockout_time_mins: (Default: `15`) Specifies the number of minutes the user account will be locked after exhausting the designated number of password retries (i.e. PASSWORD*MAX*RETRIES). Supported range: 1 to 999, inclusive. Default: 15
634
- :param pulumi.Input[builtins.int] max_age_days: (Default: `90`) Specifies the maximum number of days before the password must be changed. Supported range: 0 to 999, inclusive. A value of zero (i.e. 0) indicates that the password does not need to be changed. Snowflake does not recommend choosing this value for a default account-level password policy or for any user-level policy. Instead, choose a value that meets your internal security guidelines. Default: 90, which means the password must be changed every 90 days.
635
- :param pulumi.Input[builtins.int] max_length: (Default: `256`) Specifies the maximum number of characters the password must contain. This number must be greater than or equal to the sum of PASSWORD*MIN*LENGTH, PASSWORD*MIN*UPPER*CASE*CHARS, and PASSWORD*MIN*LOWER*CASE*CHARS. Supported range: 8 to 256, inclusive. Default: 256
636
- :param pulumi.Input[builtins.int] max_retries: (Default: `5`) Specifies the maximum number of attempts to enter a password before being locked out. Supported range: 1 to 10, inclusive. Default: 5
637
- :param pulumi.Input[builtins.int] min_age_days: (Default: `0`) Specifies the number of days the user must wait before a recently changed password can be changed again. Supported range: 0 to 999, inclusive. Default: 0
638
- :param pulumi.Input[builtins.int] min_length: (Default: `8`) Specifies the minimum number of characters the password must contain. Supported range: 8 to 256, inclusive. Default: 8
639
- :param pulumi.Input[builtins.int] min_lower_case_chars: (Default: `1`) Specifies the minimum number of lowercase characters the password must contain. Supported range: 0 to 256, inclusive. Default: 1
640
- :param pulumi.Input[builtins.int] min_numeric_chars: (Default: `1`) Specifies the minimum number of numeric characters the password must contain. Supported range: 0 to 256, inclusive. Default: 1
641
- :param pulumi.Input[builtins.int] min_special_chars: (Default: `1`) Specifies the minimum number of special characters the password must contain. Supported range: 0 to 256, inclusive. Default: 1
642
- :param pulumi.Input[builtins.int] min_upper_case_chars: (Default: `1`) Specifies the minimum number of uppercase characters the password must contain. Supported range: 0 to 256, inclusive. Default: 1
643
- :param pulumi.Input[builtins.str] name: Identifier for the password policy; must be unique for your account.
644
- :param pulumi.Input[builtins.bool] or_replace: (Default: `false`) Whether to override a previous password policy with the same name.
645
- :param pulumi.Input[builtins.str] schema: The schema this password policy belongs to.
628
+ :param pulumi.Input[_builtins.str] comment: Adds a comment or overwrites an existing comment for the password policy.
629
+ :param pulumi.Input[_builtins.str] database: The database this password policy belongs to.
630
+ :param pulumi.Input[_builtins.int] history: (Default: `0`) Specifies the number of the most recent passwords that Snowflake stores. These stored passwords cannot be repeated when a user updates their password value. The current password value does not count towards the history. When you increase the history value, Snowflake saves the previous values. When you decrease the value, Snowflake saves the stored values up to that value that is set. For example, if the history value is 8 and you change the history value to 3, Snowflake stores the most recent 3 passwords and deletes the 5 older password values from the history. Default: 0 Max: 24
631
+ :param pulumi.Input[_builtins.bool] if_not_exists: (Default: `false`) Prevent overwriting a previous password policy with the same name.
632
+ :param pulumi.Input[_builtins.int] lockout_time_mins: (Default: `15`) Specifies the number of minutes the user account will be locked after exhausting the designated number of password retries (i.e. PASSWORD*MAX*RETRIES). Supported range: 1 to 999, inclusive. Default: 15
633
+ :param pulumi.Input[_builtins.int] max_age_days: (Default: `90`) Specifies the maximum number of days before the password must be changed. Supported range: 0 to 999, inclusive. A value of zero (i.e. 0) indicates that the password does not need to be changed. Snowflake does not recommend choosing this value for a default account-level password policy or for any user-level policy. Instead, choose a value that meets your internal security guidelines. Default: 90, which means the password must be changed every 90 days.
634
+ :param pulumi.Input[_builtins.int] max_length: (Default: `256`) Specifies the maximum number of characters the password must contain. This number must be greater than or equal to the sum of PASSWORD*MIN*LENGTH, PASSWORD*MIN*UPPER*CASE*CHARS, and PASSWORD*MIN*LOWER*CASE*CHARS. Supported range: 8 to 256, inclusive. Default: 256
635
+ :param pulumi.Input[_builtins.int] max_retries: (Default: `5`) Specifies the maximum number of attempts to enter a password before being locked out. Supported range: 1 to 10, inclusive. Default: 5
636
+ :param pulumi.Input[_builtins.int] min_age_days: (Default: `0`) Specifies the number of days the user must wait before a recently changed password can be changed again. Supported range: 0 to 999, inclusive. Default: 0
637
+ :param pulumi.Input[_builtins.int] min_length: (Default: `8`) Specifies the minimum number of characters the password must contain. Supported range: 8 to 256, inclusive. Default: 8
638
+ :param pulumi.Input[_builtins.int] min_lower_case_chars: (Default: `1`) Specifies the minimum number of lowercase characters the password must contain. Supported range: 0 to 256, inclusive. Default: 1
639
+ :param pulumi.Input[_builtins.int] min_numeric_chars: (Default: `1`) Specifies the minimum number of numeric characters the password must contain. Supported range: 0 to 256, inclusive. Default: 1
640
+ :param pulumi.Input[_builtins.int] min_special_chars: (Default: `1`) Specifies the minimum number of special characters the password must contain. Supported range: 0 to 256, inclusive. Default: 1
641
+ :param pulumi.Input[_builtins.int] min_upper_case_chars: (Default: `1`) Specifies the minimum number of uppercase characters the password must contain. Supported range: 0 to 256, inclusive. Default: 1
642
+ :param pulumi.Input[_builtins.str] name: Identifier for the password policy; must be unique for your account.
643
+ :param pulumi.Input[_builtins.bool] or_replace: (Default: `false`) Whether to override a previous password policy with the same name.
644
+ :param pulumi.Input[_builtins.str] schema: The schema this password policy belongs to.
646
645
  """
647
646
  ...
648
647
  @overload
@@ -674,23 +673,23 @@ class PasswordPolicy(pulumi.CustomResource):
674
673
  def _internal_init(__self__,
675
674
  resource_name: str,
676
675
  opts: Optional[pulumi.ResourceOptions] = None,
677
- comment: Optional[pulumi.Input[builtins.str]] = None,
678
- database: Optional[pulumi.Input[builtins.str]] = None,
679
- history: Optional[pulumi.Input[builtins.int]] = None,
680
- if_not_exists: Optional[pulumi.Input[builtins.bool]] = None,
681
- lockout_time_mins: Optional[pulumi.Input[builtins.int]] = None,
682
- max_age_days: Optional[pulumi.Input[builtins.int]] = None,
683
- max_length: Optional[pulumi.Input[builtins.int]] = None,
684
- max_retries: Optional[pulumi.Input[builtins.int]] = None,
685
- min_age_days: Optional[pulumi.Input[builtins.int]] = None,
686
- min_length: Optional[pulumi.Input[builtins.int]] = None,
687
- min_lower_case_chars: Optional[pulumi.Input[builtins.int]] = None,
688
- min_numeric_chars: Optional[pulumi.Input[builtins.int]] = None,
689
- min_special_chars: Optional[pulumi.Input[builtins.int]] = None,
690
- min_upper_case_chars: Optional[pulumi.Input[builtins.int]] = None,
691
- name: Optional[pulumi.Input[builtins.str]] = None,
692
- or_replace: Optional[pulumi.Input[builtins.bool]] = None,
693
- schema: Optional[pulumi.Input[builtins.str]] = None,
676
+ comment: Optional[pulumi.Input[_builtins.str]] = None,
677
+ database: Optional[pulumi.Input[_builtins.str]] = None,
678
+ history: Optional[pulumi.Input[_builtins.int]] = None,
679
+ if_not_exists: Optional[pulumi.Input[_builtins.bool]] = None,
680
+ lockout_time_mins: Optional[pulumi.Input[_builtins.int]] = None,
681
+ max_age_days: Optional[pulumi.Input[_builtins.int]] = None,
682
+ max_length: Optional[pulumi.Input[_builtins.int]] = None,
683
+ max_retries: Optional[pulumi.Input[_builtins.int]] = None,
684
+ min_age_days: Optional[pulumi.Input[_builtins.int]] = None,
685
+ min_length: Optional[pulumi.Input[_builtins.int]] = None,
686
+ min_lower_case_chars: Optional[pulumi.Input[_builtins.int]] = None,
687
+ min_numeric_chars: Optional[pulumi.Input[_builtins.int]] = None,
688
+ min_special_chars: Optional[pulumi.Input[_builtins.int]] = None,
689
+ min_upper_case_chars: Optional[pulumi.Input[_builtins.int]] = None,
690
+ name: Optional[pulumi.Input[_builtins.str]] = None,
691
+ or_replace: Optional[pulumi.Input[_builtins.bool]] = None,
692
+ schema: Optional[pulumi.Input[_builtins.str]] = None,
694
693
  __props__=None):
695
694
  opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
696
695
  if not isinstance(opts, pulumi.ResourceOptions):
@@ -732,24 +731,24 @@ class PasswordPolicy(pulumi.CustomResource):
732
731
  def get(resource_name: str,
733
732
  id: pulumi.Input[str],
734
733
  opts: Optional[pulumi.ResourceOptions] = None,
735
- comment: Optional[pulumi.Input[builtins.str]] = None,
736
- database: Optional[pulumi.Input[builtins.str]] = None,
737
- fully_qualified_name: Optional[pulumi.Input[builtins.str]] = None,
738
- history: Optional[pulumi.Input[builtins.int]] = None,
739
- if_not_exists: Optional[pulumi.Input[builtins.bool]] = None,
740
- lockout_time_mins: Optional[pulumi.Input[builtins.int]] = None,
741
- max_age_days: Optional[pulumi.Input[builtins.int]] = None,
742
- max_length: Optional[pulumi.Input[builtins.int]] = None,
743
- max_retries: Optional[pulumi.Input[builtins.int]] = None,
744
- min_age_days: Optional[pulumi.Input[builtins.int]] = None,
745
- min_length: Optional[pulumi.Input[builtins.int]] = None,
746
- min_lower_case_chars: Optional[pulumi.Input[builtins.int]] = None,
747
- min_numeric_chars: Optional[pulumi.Input[builtins.int]] = None,
748
- min_special_chars: Optional[pulumi.Input[builtins.int]] = None,
749
- min_upper_case_chars: Optional[pulumi.Input[builtins.int]] = None,
750
- name: Optional[pulumi.Input[builtins.str]] = None,
751
- or_replace: Optional[pulumi.Input[builtins.bool]] = None,
752
- schema: Optional[pulumi.Input[builtins.str]] = None) -> 'PasswordPolicy':
734
+ comment: Optional[pulumi.Input[_builtins.str]] = None,
735
+ database: Optional[pulumi.Input[_builtins.str]] = None,
736
+ fully_qualified_name: Optional[pulumi.Input[_builtins.str]] = None,
737
+ history: Optional[pulumi.Input[_builtins.int]] = None,
738
+ if_not_exists: Optional[pulumi.Input[_builtins.bool]] = None,
739
+ lockout_time_mins: Optional[pulumi.Input[_builtins.int]] = None,
740
+ max_age_days: Optional[pulumi.Input[_builtins.int]] = None,
741
+ max_length: Optional[pulumi.Input[_builtins.int]] = None,
742
+ max_retries: Optional[pulumi.Input[_builtins.int]] = None,
743
+ min_age_days: Optional[pulumi.Input[_builtins.int]] = None,
744
+ min_length: Optional[pulumi.Input[_builtins.int]] = None,
745
+ min_lower_case_chars: Optional[pulumi.Input[_builtins.int]] = None,
746
+ min_numeric_chars: Optional[pulumi.Input[_builtins.int]] = None,
747
+ min_special_chars: Optional[pulumi.Input[_builtins.int]] = None,
748
+ min_upper_case_chars: Optional[pulumi.Input[_builtins.int]] = None,
749
+ name: Optional[pulumi.Input[_builtins.str]] = None,
750
+ or_replace: Optional[pulumi.Input[_builtins.bool]] = None,
751
+ schema: Optional[pulumi.Input[_builtins.str]] = None) -> 'PasswordPolicy':
753
752
  """
754
753
  Get an existing PasswordPolicy resource's state with the given name, id, and optional extra
755
754
  properties used to qualify the lookup.
@@ -757,24 +756,24 @@ class PasswordPolicy(pulumi.CustomResource):
757
756
  :param str resource_name: The unique name of the resulting resource.
758
757
  :param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
759
758
  :param pulumi.ResourceOptions opts: Options for the resource.
760
- :param pulumi.Input[builtins.str] comment: Adds a comment or overwrites an existing comment for the password policy.
761
- :param pulumi.Input[builtins.str] database: The database this password policy belongs to.
762
- :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).
763
- :param pulumi.Input[builtins.int] history: (Default: `0`) Specifies the number of the most recent passwords that Snowflake stores. These stored passwords cannot be repeated when a user updates their password value. The current password value does not count towards the history. When you increase the history value, Snowflake saves the previous values. When you decrease the value, Snowflake saves the stored values up to that value that is set. For example, if the history value is 8 and you change the history value to 3, Snowflake stores the most recent 3 passwords and deletes the 5 older password values from the history. Default: 0 Max: 24
764
- :param pulumi.Input[builtins.bool] if_not_exists: (Default: `false`) Prevent overwriting a previous password policy with the same name.
765
- :param pulumi.Input[builtins.int] lockout_time_mins: (Default: `15`) Specifies the number of minutes the user account will be locked after exhausting the designated number of password retries (i.e. PASSWORD*MAX*RETRIES). Supported range: 1 to 999, inclusive. Default: 15
766
- :param pulumi.Input[builtins.int] max_age_days: (Default: `90`) Specifies the maximum number of days before the password must be changed. Supported range: 0 to 999, inclusive. A value of zero (i.e. 0) indicates that the password does not need to be changed. Snowflake does not recommend choosing this value for a default account-level password policy or for any user-level policy. Instead, choose a value that meets your internal security guidelines. Default: 90, which means the password must be changed every 90 days.
767
- :param pulumi.Input[builtins.int] max_length: (Default: `256`) Specifies the maximum number of characters the password must contain. This number must be greater than or equal to the sum of PASSWORD*MIN*LENGTH, PASSWORD*MIN*UPPER*CASE*CHARS, and PASSWORD*MIN*LOWER*CASE*CHARS. Supported range: 8 to 256, inclusive. Default: 256
768
- :param pulumi.Input[builtins.int] max_retries: (Default: `5`) Specifies the maximum number of attempts to enter a password before being locked out. Supported range: 1 to 10, inclusive. Default: 5
769
- :param pulumi.Input[builtins.int] min_age_days: (Default: `0`) Specifies the number of days the user must wait before a recently changed password can be changed again. Supported range: 0 to 999, inclusive. Default: 0
770
- :param pulumi.Input[builtins.int] min_length: (Default: `8`) Specifies the minimum number of characters the password must contain. Supported range: 8 to 256, inclusive. Default: 8
771
- :param pulumi.Input[builtins.int] min_lower_case_chars: (Default: `1`) Specifies the minimum number of lowercase characters the password must contain. Supported range: 0 to 256, inclusive. Default: 1
772
- :param pulumi.Input[builtins.int] min_numeric_chars: (Default: `1`) Specifies the minimum number of numeric characters the password must contain. Supported range: 0 to 256, inclusive. Default: 1
773
- :param pulumi.Input[builtins.int] min_special_chars: (Default: `1`) Specifies the minimum number of special characters the password must contain. Supported range: 0 to 256, inclusive. Default: 1
774
- :param pulumi.Input[builtins.int] min_upper_case_chars: (Default: `1`) Specifies the minimum number of uppercase characters the password must contain. Supported range: 0 to 256, inclusive. Default: 1
775
- :param pulumi.Input[builtins.str] name: Identifier for the password policy; must be unique for your account.
776
- :param pulumi.Input[builtins.bool] or_replace: (Default: `false`) Whether to override a previous password policy with the same name.
777
- :param pulumi.Input[builtins.str] schema: The schema this password policy belongs to.
759
+ :param pulumi.Input[_builtins.str] comment: Adds a comment or overwrites an existing comment for the password policy.
760
+ :param pulumi.Input[_builtins.str] database: The database this password policy belongs to.
761
+ :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).
762
+ :param pulumi.Input[_builtins.int] history: (Default: `0`) Specifies the number of the most recent passwords that Snowflake stores. These stored passwords cannot be repeated when a user updates their password value. The current password value does not count towards the history. When you increase the history value, Snowflake saves the previous values. When you decrease the value, Snowflake saves the stored values up to that value that is set. For example, if the history value is 8 and you change the history value to 3, Snowflake stores the most recent 3 passwords and deletes the 5 older password values from the history. Default: 0 Max: 24
763
+ :param pulumi.Input[_builtins.bool] if_not_exists: (Default: `false`) Prevent overwriting a previous password policy with the same name.
764
+ :param pulumi.Input[_builtins.int] lockout_time_mins: (Default: `15`) Specifies the number of minutes the user account will be locked after exhausting the designated number of password retries (i.e. PASSWORD*MAX*RETRIES). Supported range: 1 to 999, inclusive. Default: 15
765
+ :param pulumi.Input[_builtins.int] max_age_days: (Default: `90`) Specifies the maximum number of days before the password must be changed. Supported range: 0 to 999, inclusive. A value of zero (i.e. 0) indicates that the password does not need to be changed. Snowflake does not recommend choosing this value for a default account-level password policy or for any user-level policy. Instead, choose a value that meets your internal security guidelines. Default: 90, which means the password must be changed every 90 days.
766
+ :param pulumi.Input[_builtins.int] max_length: (Default: `256`) Specifies the maximum number of characters the password must contain. This number must be greater than or equal to the sum of PASSWORD*MIN*LENGTH, PASSWORD*MIN*UPPER*CASE*CHARS, and PASSWORD*MIN*LOWER*CASE*CHARS. Supported range: 8 to 256, inclusive. Default: 256
767
+ :param pulumi.Input[_builtins.int] max_retries: (Default: `5`) Specifies the maximum number of attempts to enter a password before being locked out. Supported range: 1 to 10, inclusive. Default: 5
768
+ :param pulumi.Input[_builtins.int] min_age_days: (Default: `0`) Specifies the number of days the user must wait before a recently changed password can be changed again. Supported range: 0 to 999, inclusive. Default: 0
769
+ :param pulumi.Input[_builtins.int] min_length: (Default: `8`) Specifies the minimum number of characters the password must contain. Supported range: 8 to 256, inclusive. Default: 8
770
+ :param pulumi.Input[_builtins.int] min_lower_case_chars: (Default: `1`) Specifies the minimum number of lowercase characters the password must contain. Supported range: 0 to 256, inclusive. Default: 1
771
+ :param pulumi.Input[_builtins.int] min_numeric_chars: (Default: `1`) Specifies the minimum number of numeric characters the password must contain. Supported range: 0 to 256, inclusive. Default: 1
772
+ :param pulumi.Input[_builtins.int] min_special_chars: (Default: `1`) Specifies the minimum number of special characters the password must contain. Supported range: 0 to 256, inclusive. Default: 1
773
+ :param pulumi.Input[_builtins.int] min_upper_case_chars: (Default: `1`) Specifies the minimum number of uppercase characters the password must contain. Supported range: 0 to 256, inclusive. Default: 1
774
+ :param pulumi.Input[_builtins.str] name: Identifier for the password policy; must be unique for your account.
775
+ :param pulumi.Input[_builtins.bool] or_replace: (Default: `false`) Whether to override a previous password policy with the same name.
776
+ :param pulumi.Input[_builtins.str] schema: The schema this password policy belongs to.
778
777
  """
779
778
  opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
780
779
 
@@ -800,145 +799,145 @@ class PasswordPolicy(pulumi.CustomResource):
800
799
  __props__.__dict__["schema"] = schema
801
800
  return PasswordPolicy(resource_name, opts=opts, __props__=__props__)
802
801
 
803
- @property
802
+ @_builtins.property
804
803
  @pulumi.getter
805
- def comment(self) -> pulumi.Output[Optional[builtins.str]]:
804
+ def comment(self) -> pulumi.Output[Optional[_builtins.str]]:
806
805
  """
807
806
  Adds a comment or overwrites an existing comment for the password policy.
808
807
  """
809
808
  return pulumi.get(self, "comment")
810
809
 
811
- @property
810
+ @_builtins.property
812
811
  @pulumi.getter
813
- def database(self) -> pulumi.Output[builtins.str]:
812
+ def database(self) -> pulumi.Output[_builtins.str]:
814
813
  """
815
814
  The database this password policy belongs to.
816
815
  """
817
816
  return pulumi.get(self, "database")
818
817
 
819
- @property
818
+ @_builtins.property
820
819
  @pulumi.getter(name="fullyQualifiedName")
821
- def fully_qualified_name(self) -> pulumi.Output[builtins.str]:
820
+ def fully_qualified_name(self) -> pulumi.Output[_builtins.str]:
822
821
  """
823
822
  Fully qualified name of the resource. For more information, see [object name resolution](https://docs.snowflake.com/en/sql-reference/name-resolution).
824
823
  """
825
824
  return pulumi.get(self, "fully_qualified_name")
826
825
 
827
- @property
826
+ @_builtins.property
828
827
  @pulumi.getter
829
- def history(self) -> pulumi.Output[Optional[builtins.int]]:
828
+ def history(self) -> pulumi.Output[Optional[_builtins.int]]:
830
829
  """
831
830
  (Default: `0`) Specifies the number of the most recent passwords that Snowflake stores. These stored passwords cannot be repeated when a user updates their password value. The current password value does not count towards the history. When you increase the history value, Snowflake saves the previous values. When you decrease the value, Snowflake saves the stored values up to that value that is set. For example, if the history value is 8 and you change the history value to 3, Snowflake stores the most recent 3 passwords and deletes the 5 older password values from the history. Default: 0 Max: 24
832
831
  """
833
832
  return pulumi.get(self, "history")
834
833
 
835
- @property
834
+ @_builtins.property
836
835
  @pulumi.getter(name="ifNotExists")
837
- def if_not_exists(self) -> pulumi.Output[Optional[builtins.bool]]:
836
+ def if_not_exists(self) -> pulumi.Output[Optional[_builtins.bool]]:
838
837
  """
839
838
  (Default: `false`) Prevent overwriting a previous password policy with the same name.
840
839
  """
841
840
  return pulumi.get(self, "if_not_exists")
842
841
 
843
- @property
842
+ @_builtins.property
844
843
  @pulumi.getter(name="lockoutTimeMins")
845
- def lockout_time_mins(self) -> pulumi.Output[Optional[builtins.int]]:
844
+ def lockout_time_mins(self) -> pulumi.Output[Optional[_builtins.int]]:
846
845
  """
847
846
  (Default: `15`) Specifies the number of minutes the user account will be locked after exhausting the designated number of password retries (i.e. PASSWORD*MAX*RETRIES). Supported range: 1 to 999, inclusive. Default: 15
848
847
  """
849
848
  return pulumi.get(self, "lockout_time_mins")
850
849
 
851
- @property
850
+ @_builtins.property
852
851
  @pulumi.getter(name="maxAgeDays")
853
- def max_age_days(self) -> pulumi.Output[Optional[builtins.int]]:
852
+ def max_age_days(self) -> pulumi.Output[Optional[_builtins.int]]:
854
853
  """
855
854
  (Default: `90`) Specifies the maximum number of days before the password must be changed. Supported range: 0 to 999, inclusive. A value of zero (i.e. 0) indicates that the password does not need to be changed. Snowflake does not recommend choosing this value for a default account-level password policy or for any user-level policy. Instead, choose a value that meets your internal security guidelines. Default: 90, which means the password must be changed every 90 days.
856
855
  """
857
856
  return pulumi.get(self, "max_age_days")
858
857
 
859
- @property
858
+ @_builtins.property
860
859
  @pulumi.getter(name="maxLength")
861
- def max_length(self) -> pulumi.Output[Optional[builtins.int]]:
860
+ def max_length(self) -> pulumi.Output[Optional[_builtins.int]]:
862
861
  """
863
862
  (Default: `256`) Specifies the maximum number of characters the password must contain. This number must be greater than or equal to the sum of PASSWORD*MIN*LENGTH, PASSWORD*MIN*UPPER*CASE*CHARS, and PASSWORD*MIN*LOWER*CASE*CHARS. Supported range: 8 to 256, inclusive. Default: 256
864
863
  """
865
864
  return pulumi.get(self, "max_length")
866
865
 
867
- @property
866
+ @_builtins.property
868
867
  @pulumi.getter(name="maxRetries")
869
- def max_retries(self) -> pulumi.Output[Optional[builtins.int]]:
868
+ def max_retries(self) -> pulumi.Output[Optional[_builtins.int]]:
870
869
  """
871
870
  (Default: `5`) Specifies the maximum number of attempts to enter a password before being locked out. Supported range: 1 to 10, inclusive. Default: 5
872
871
  """
873
872
  return pulumi.get(self, "max_retries")
874
873
 
875
- @property
874
+ @_builtins.property
876
875
  @pulumi.getter(name="minAgeDays")
877
- def min_age_days(self) -> pulumi.Output[Optional[builtins.int]]:
876
+ def min_age_days(self) -> pulumi.Output[Optional[_builtins.int]]:
878
877
  """
879
878
  (Default: `0`) Specifies the number of days the user must wait before a recently changed password can be changed again. Supported range: 0 to 999, inclusive. Default: 0
880
879
  """
881
880
  return pulumi.get(self, "min_age_days")
882
881
 
883
- @property
882
+ @_builtins.property
884
883
  @pulumi.getter(name="minLength")
885
- def min_length(self) -> pulumi.Output[Optional[builtins.int]]:
884
+ def min_length(self) -> pulumi.Output[Optional[_builtins.int]]:
886
885
  """
887
886
  (Default: `8`) Specifies the minimum number of characters the password must contain. Supported range: 8 to 256, inclusive. Default: 8
888
887
  """
889
888
  return pulumi.get(self, "min_length")
890
889
 
891
- @property
890
+ @_builtins.property
892
891
  @pulumi.getter(name="minLowerCaseChars")
893
- def min_lower_case_chars(self) -> pulumi.Output[Optional[builtins.int]]:
892
+ def min_lower_case_chars(self) -> pulumi.Output[Optional[_builtins.int]]:
894
893
  """
895
894
  (Default: `1`) Specifies the minimum number of lowercase characters the password must contain. Supported range: 0 to 256, inclusive. Default: 1
896
895
  """
897
896
  return pulumi.get(self, "min_lower_case_chars")
898
897
 
899
- @property
898
+ @_builtins.property
900
899
  @pulumi.getter(name="minNumericChars")
901
- def min_numeric_chars(self) -> pulumi.Output[Optional[builtins.int]]:
900
+ def min_numeric_chars(self) -> pulumi.Output[Optional[_builtins.int]]:
902
901
  """
903
902
  (Default: `1`) Specifies the minimum number of numeric characters the password must contain. Supported range: 0 to 256, inclusive. Default: 1
904
903
  """
905
904
  return pulumi.get(self, "min_numeric_chars")
906
905
 
907
- @property
906
+ @_builtins.property
908
907
  @pulumi.getter(name="minSpecialChars")
909
- def min_special_chars(self) -> pulumi.Output[Optional[builtins.int]]:
908
+ def min_special_chars(self) -> pulumi.Output[Optional[_builtins.int]]:
910
909
  """
911
910
  (Default: `1`) Specifies the minimum number of special characters the password must contain. Supported range: 0 to 256, inclusive. Default: 1
912
911
  """
913
912
  return pulumi.get(self, "min_special_chars")
914
913
 
915
- @property
914
+ @_builtins.property
916
915
  @pulumi.getter(name="minUpperCaseChars")
917
- def min_upper_case_chars(self) -> pulumi.Output[Optional[builtins.int]]:
916
+ def min_upper_case_chars(self) -> pulumi.Output[Optional[_builtins.int]]:
918
917
  """
919
918
  (Default: `1`) Specifies the minimum number of uppercase characters the password must contain. Supported range: 0 to 256, inclusive. Default: 1
920
919
  """
921
920
  return pulumi.get(self, "min_upper_case_chars")
922
921
 
923
- @property
922
+ @_builtins.property
924
923
  @pulumi.getter
925
- def name(self) -> pulumi.Output[builtins.str]:
924
+ def name(self) -> pulumi.Output[_builtins.str]:
926
925
  """
927
926
  Identifier for the password policy; must be unique for your account.
928
927
  """
929
928
  return pulumi.get(self, "name")
930
929
 
931
- @property
930
+ @_builtins.property
932
931
  @pulumi.getter(name="orReplace")
933
- def or_replace(self) -> pulumi.Output[Optional[builtins.bool]]:
932
+ def or_replace(self) -> pulumi.Output[Optional[_builtins.bool]]:
934
933
  """
935
934
  (Default: `false`) Whether to override a previous password policy with the same name.
936
935
  """
937
936
  return pulumi.get(self, "or_replace")
938
937
 
939
- @property
938
+ @_builtins.property
940
939
  @pulumi.getter
941
- def schema(self) -> pulumi.Output[builtins.str]:
940
+ def schema(self) -> pulumi.Output[_builtins.str]:
942
941
  """
943
942
  The schema this password policy belongs to.
944
943
  """