pulumi-snowflake 0.56.0a1721327760__py3-none-any.whl → 0.57.0__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.
Files changed (74) hide show
  1. pulumi_snowflake/__init__.py +78 -209
  2. pulumi_snowflake/_inputs.py +12188 -1362
  3. pulumi_snowflake/_utilities.py +2 -0
  4. pulumi_snowflake/account_role.py +226 -0
  5. pulumi_snowflake/api_authentication_integration_with_authorization_code_grant.py +692 -0
  6. pulumi_snowflake/api_authentication_integration_with_client_credentials.py +645 -0
  7. pulumi_snowflake/api_authentication_integration_with_jwt_bearer.py +680 -0
  8. pulumi_snowflake/cortex_search_service.py +563 -0
  9. pulumi_snowflake/database.py +854 -232
  10. pulumi_snowflake/database_old.py +556 -0
  11. pulumi_snowflake/external_oauth_integration.py +562 -534
  12. pulumi_snowflake/failover_group.py +2 -2
  13. pulumi_snowflake/get_cortex_search_services.py +197 -0
  14. pulumi_snowflake/get_databases.py +71 -62
  15. pulumi_snowflake/get_network_policies.py +122 -0
  16. pulumi_snowflake/get_roles.py +37 -31
  17. pulumi_snowflake/get_schemas.py +115 -38
  18. pulumi_snowflake/get_security_integrations.py +122 -0
  19. pulumi_snowflake/get_streamlits.py +159 -0
  20. pulumi_snowflake/get_warehouses.py +66 -18
  21. pulumi_snowflake/grant_privileges_to_database_role.py +0 -4
  22. pulumi_snowflake/managed_account.py +7 -7
  23. pulumi_snowflake/network_policy.py +103 -19
  24. pulumi_snowflake/oauth_integration.py +4 -0
  25. pulumi_snowflake/oauth_integration_for_custom_clients.py +940 -0
  26. pulumi_snowflake/oauth_integration_for_partner_applications.py +584 -0
  27. pulumi_snowflake/outputs.py +16178 -2927
  28. pulumi_snowflake/pulumi-plugin.json +1 -1
  29. pulumi_snowflake/role.py +44 -72
  30. pulumi_snowflake/saml2_integration.py +975 -0
  31. pulumi_snowflake/saml_integration.py +4 -0
  32. pulumi_snowflake/schema.py +905 -151
  33. pulumi_snowflake/scim_integration.py +257 -103
  34. pulumi_snowflake/secondary_database.py +1059 -0
  35. pulumi_snowflake/sequence.py +6 -6
  36. pulumi_snowflake/shared_database.py +914 -0
  37. pulumi_snowflake/streamlit.py +650 -0
  38. pulumi_snowflake/table.py +0 -120
  39. pulumi_snowflake/table_constraint.py +2 -2
  40. pulumi_snowflake/tag_association.py +38 -38
  41. pulumi_snowflake/unsafe_execute.py +8 -8
  42. pulumi_snowflake/user_password_policy_attachment.py +32 -0
  43. pulumi_snowflake/warehouse.py +143 -120
  44. {pulumi_snowflake-0.56.0a1721327760.dist-info → pulumi_snowflake-0.57.0.dist-info}/METADATA +1 -1
  45. {pulumi_snowflake-0.56.0a1721327760.dist-info → pulumi_snowflake-0.57.0.dist-info}/RECORD +47 -58
  46. {pulumi_snowflake-0.56.0a1721327760.dist-info → pulumi_snowflake-0.57.0.dist-info}/WHEEL +1 -1
  47. pulumi_snowflake/account_grant.py +0 -319
  48. pulumi_snowflake/database_grant.py +0 -471
  49. pulumi_snowflake/external_table_grant.py +0 -666
  50. pulumi_snowflake/failover_group_grant.py +0 -368
  51. pulumi_snowflake/file_format_grant.py +0 -611
  52. pulumi_snowflake/function_grant.py +0 -721
  53. pulumi_snowflake/grant_privileges_to_role.py +0 -821
  54. pulumi_snowflake/integration_grant.py +0 -416
  55. pulumi_snowflake/masking_policy_grant.py +0 -518
  56. pulumi_snowflake/materialized_view_grant.py +0 -665
  57. pulumi_snowflake/pipe_grant.py +0 -563
  58. pulumi_snowflake/procedure_grant.py +0 -721
  59. pulumi_snowflake/resource_monitor_grant.py +0 -363
  60. pulumi_snowflake/role_grants.py +0 -340
  61. pulumi_snowflake/role_ownership_grant.py +0 -329
  62. pulumi_snowflake/row_access_policy_grant.py +0 -516
  63. pulumi_snowflake/schema_grant.py +0 -603
  64. pulumi_snowflake/sequence_grant.py +0 -611
  65. pulumi_snowflake/stage_grant.py +0 -611
  66. pulumi_snowflake/stream_grant.py +0 -611
  67. pulumi_snowflake/table_grant.py +0 -653
  68. pulumi_snowflake/tag_grant.py +0 -508
  69. pulumi_snowflake/task_grant.py +0 -611
  70. pulumi_snowflake/user_grant.py +0 -370
  71. pulumi_snowflake/user_ownership_grant.py +0 -275
  72. pulumi_snowflake/view_grant.py +0 -685
  73. pulumi_snowflake/warehouse_grant.py +0 -416
  74. {pulumi_snowflake-0.56.0a1721327760.dist-info → pulumi_snowflake-0.57.0.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,680 @@
1
+ # coding=utf-8
2
+ # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
3
+ # *** Do not edit by hand unless you're certain you know what you are doing! ***
4
+
5
+ import copy
6
+ import warnings
7
+ import pulumi
8
+ import pulumi.runtime
9
+ from typing import Any, Mapping, Optional, Sequence, Union, overload
10
+ from . import _utilities
11
+ from . import outputs
12
+ from ._inputs import *
13
+
14
+ __all__ = ['ApiAuthenticationIntegrationWithJwtBearerArgs', 'ApiAuthenticationIntegrationWithJwtBearer']
15
+
16
+ @pulumi.input_type
17
+ class ApiAuthenticationIntegrationWithJwtBearerArgs:
18
+ def __init__(__self__, *,
19
+ enabled: pulumi.Input[bool],
20
+ oauth_assertion_issuer: pulumi.Input[str],
21
+ oauth_client_id: pulumi.Input[str],
22
+ oauth_client_secret: pulumi.Input[str],
23
+ comment: Optional[pulumi.Input[str]] = None,
24
+ name: Optional[pulumi.Input[str]] = None,
25
+ oauth_access_token_validity: Optional[pulumi.Input[int]] = None,
26
+ oauth_authorization_endpoint: Optional[pulumi.Input[str]] = None,
27
+ oauth_client_auth_method: Optional[pulumi.Input[str]] = None,
28
+ oauth_refresh_token_validity: Optional[pulumi.Input[int]] = None,
29
+ oauth_token_endpoint: Optional[pulumi.Input[str]] = None):
30
+ """
31
+ The set of arguments for constructing a ApiAuthenticationIntegrationWithJwtBearer resource.
32
+ :param pulumi.Input[bool] enabled: Specifies whether this security integration is enabled or disabled.
33
+ :param pulumi.Input[str] oauth_client_id: Specifies the client ID for the OAuth application in the external service.
34
+ :param pulumi.Input[str] oauth_client_secret: Specifies the client secret for the OAuth application in the ServiceNow instance from the previous step. The connector uses this to request an access token from the ServiceNow instance.
35
+ :param pulumi.Input[str] comment: Specifies a comment for the integration.
36
+ :param pulumi.Input[str] name: Specifies the identifier (i.e. name) for the integration. This value must be unique in your account.
37
+ :param pulumi.Input[int] oauth_access_token_validity: Specifies the default lifetime of the OAuth access token (in seconds) issued by an OAuth server.
38
+ :param pulumi.Input[str] oauth_authorization_endpoint: Specifies the URL for authenticating to the external service.
39
+ :param pulumi.Input[str] oauth_client_auth_method: Specifies that POST is used as the authentication method to the external service. If removed from the config, the resource is recreated. Valid values are (case-insensitive): `CLIENT_SECRET_POST`.
40
+ :param pulumi.Input[int] oauth_refresh_token_validity: Specifies the value to determine the validity of the refresh token obtained from the OAuth server.
41
+ :param pulumi.Input[str] oauth_token_endpoint: Specifies the token endpoint used by the client to obtain an access token by presenting its authorization grant or refresh token. The token endpoint is used with every authorization grant except for the implicit grant type (since an access token is issued directly). If removed from the config, the resource is recreated.
42
+ """
43
+ pulumi.set(__self__, "enabled", enabled)
44
+ pulumi.set(__self__, "oauth_assertion_issuer", oauth_assertion_issuer)
45
+ pulumi.set(__self__, "oauth_client_id", oauth_client_id)
46
+ pulumi.set(__self__, "oauth_client_secret", oauth_client_secret)
47
+ if comment is not None:
48
+ pulumi.set(__self__, "comment", comment)
49
+ if name is not None:
50
+ pulumi.set(__self__, "name", name)
51
+ if oauth_access_token_validity is not None:
52
+ pulumi.set(__self__, "oauth_access_token_validity", oauth_access_token_validity)
53
+ if oauth_authorization_endpoint is not None:
54
+ pulumi.set(__self__, "oauth_authorization_endpoint", oauth_authorization_endpoint)
55
+ if oauth_client_auth_method is not None:
56
+ pulumi.set(__self__, "oauth_client_auth_method", oauth_client_auth_method)
57
+ if oauth_refresh_token_validity is not None:
58
+ pulumi.set(__self__, "oauth_refresh_token_validity", oauth_refresh_token_validity)
59
+ if oauth_token_endpoint is not None:
60
+ pulumi.set(__self__, "oauth_token_endpoint", oauth_token_endpoint)
61
+
62
+ @property
63
+ @pulumi.getter
64
+ def enabled(self) -> pulumi.Input[bool]:
65
+ """
66
+ Specifies whether this security integration is enabled or disabled.
67
+ """
68
+ return pulumi.get(self, "enabled")
69
+
70
+ @enabled.setter
71
+ def enabled(self, value: pulumi.Input[bool]):
72
+ pulumi.set(self, "enabled", value)
73
+
74
+ @property
75
+ @pulumi.getter(name="oauthAssertionIssuer")
76
+ def oauth_assertion_issuer(self) -> pulumi.Input[str]:
77
+ return pulumi.get(self, "oauth_assertion_issuer")
78
+
79
+ @oauth_assertion_issuer.setter
80
+ def oauth_assertion_issuer(self, value: pulumi.Input[str]):
81
+ pulumi.set(self, "oauth_assertion_issuer", value)
82
+
83
+ @property
84
+ @pulumi.getter(name="oauthClientId")
85
+ def oauth_client_id(self) -> pulumi.Input[str]:
86
+ """
87
+ Specifies the client ID for the OAuth application in the external service.
88
+ """
89
+ return pulumi.get(self, "oauth_client_id")
90
+
91
+ @oauth_client_id.setter
92
+ def oauth_client_id(self, value: pulumi.Input[str]):
93
+ pulumi.set(self, "oauth_client_id", value)
94
+
95
+ @property
96
+ @pulumi.getter(name="oauthClientSecret")
97
+ def oauth_client_secret(self) -> pulumi.Input[str]:
98
+ """
99
+ Specifies the client secret for the OAuth application in the ServiceNow instance from the previous step. The connector uses this to request an access token from the ServiceNow instance.
100
+ """
101
+ return pulumi.get(self, "oauth_client_secret")
102
+
103
+ @oauth_client_secret.setter
104
+ def oauth_client_secret(self, value: pulumi.Input[str]):
105
+ pulumi.set(self, "oauth_client_secret", value)
106
+
107
+ @property
108
+ @pulumi.getter
109
+ def comment(self) -> Optional[pulumi.Input[str]]:
110
+ """
111
+ Specifies a comment for the integration.
112
+ """
113
+ return pulumi.get(self, "comment")
114
+
115
+ @comment.setter
116
+ def comment(self, value: Optional[pulumi.Input[str]]):
117
+ pulumi.set(self, "comment", value)
118
+
119
+ @property
120
+ @pulumi.getter
121
+ def name(self) -> Optional[pulumi.Input[str]]:
122
+ """
123
+ Specifies the identifier (i.e. name) for the integration. This value must be unique in your account.
124
+ """
125
+ return pulumi.get(self, "name")
126
+
127
+ @name.setter
128
+ def name(self, value: Optional[pulumi.Input[str]]):
129
+ pulumi.set(self, "name", value)
130
+
131
+ @property
132
+ @pulumi.getter(name="oauthAccessTokenValidity")
133
+ def oauth_access_token_validity(self) -> Optional[pulumi.Input[int]]:
134
+ """
135
+ Specifies the default lifetime of the OAuth access token (in seconds) issued by an OAuth server.
136
+ """
137
+ return pulumi.get(self, "oauth_access_token_validity")
138
+
139
+ @oauth_access_token_validity.setter
140
+ def oauth_access_token_validity(self, value: Optional[pulumi.Input[int]]):
141
+ pulumi.set(self, "oauth_access_token_validity", value)
142
+
143
+ @property
144
+ @pulumi.getter(name="oauthAuthorizationEndpoint")
145
+ def oauth_authorization_endpoint(self) -> Optional[pulumi.Input[str]]:
146
+ """
147
+ Specifies the URL for authenticating to the external service.
148
+ """
149
+ return pulumi.get(self, "oauth_authorization_endpoint")
150
+
151
+ @oauth_authorization_endpoint.setter
152
+ def oauth_authorization_endpoint(self, value: Optional[pulumi.Input[str]]):
153
+ pulumi.set(self, "oauth_authorization_endpoint", value)
154
+
155
+ @property
156
+ @pulumi.getter(name="oauthClientAuthMethod")
157
+ def oauth_client_auth_method(self) -> Optional[pulumi.Input[str]]:
158
+ """
159
+ Specifies that POST is used as the authentication method to the external service. If removed from the config, the resource is recreated. Valid values are (case-insensitive): `CLIENT_SECRET_POST`.
160
+ """
161
+ return pulumi.get(self, "oauth_client_auth_method")
162
+
163
+ @oauth_client_auth_method.setter
164
+ def oauth_client_auth_method(self, value: Optional[pulumi.Input[str]]):
165
+ pulumi.set(self, "oauth_client_auth_method", value)
166
+
167
+ @property
168
+ @pulumi.getter(name="oauthRefreshTokenValidity")
169
+ def oauth_refresh_token_validity(self) -> Optional[pulumi.Input[int]]:
170
+ """
171
+ Specifies the value to determine the validity of the refresh token obtained from the OAuth server.
172
+ """
173
+ return pulumi.get(self, "oauth_refresh_token_validity")
174
+
175
+ @oauth_refresh_token_validity.setter
176
+ def oauth_refresh_token_validity(self, value: Optional[pulumi.Input[int]]):
177
+ pulumi.set(self, "oauth_refresh_token_validity", value)
178
+
179
+ @property
180
+ @pulumi.getter(name="oauthTokenEndpoint")
181
+ def oauth_token_endpoint(self) -> Optional[pulumi.Input[str]]:
182
+ """
183
+ Specifies the token endpoint used by the client to obtain an access token by presenting its authorization grant or refresh token. The token endpoint is used with every authorization grant except for the implicit grant type (since an access token is issued directly). If removed from the config, the resource is recreated.
184
+ """
185
+ return pulumi.get(self, "oauth_token_endpoint")
186
+
187
+ @oauth_token_endpoint.setter
188
+ def oauth_token_endpoint(self, value: Optional[pulumi.Input[str]]):
189
+ pulumi.set(self, "oauth_token_endpoint", value)
190
+
191
+
192
+ @pulumi.input_type
193
+ class _ApiAuthenticationIntegrationWithJwtBearerState:
194
+ def __init__(__self__, *,
195
+ comment: Optional[pulumi.Input[str]] = None,
196
+ describe_outputs: Optional[pulumi.Input[Sequence[pulumi.Input['ApiAuthenticationIntegrationWithJwtBearerDescribeOutputArgs']]]] = None,
197
+ enabled: Optional[pulumi.Input[bool]] = None,
198
+ name: Optional[pulumi.Input[str]] = None,
199
+ oauth_access_token_validity: Optional[pulumi.Input[int]] = None,
200
+ oauth_assertion_issuer: Optional[pulumi.Input[str]] = None,
201
+ oauth_authorization_endpoint: Optional[pulumi.Input[str]] = None,
202
+ oauth_client_auth_method: Optional[pulumi.Input[str]] = None,
203
+ oauth_client_id: Optional[pulumi.Input[str]] = None,
204
+ oauth_client_secret: Optional[pulumi.Input[str]] = None,
205
+ oauth_refresh_token_validity: Optional[pulumi.Input[int]] = None,
206
+ oauth_token_endpoint: Optional[pulumi.Input[str]] = None,
207
+ show_outputs: Optional[pulumi.Input[Sequence[pulumi.Input['ApiAuthenticationIntegrationWithJwtBearerShowOutputArgs']]]] = None):
208
+ """
209
+ Input properties used for looking up and filtering ApiAuthenticationIntegrationWithJwtBearer resources.
210
+ :param pulumi.Input[str] comment: Specifies a comment for the integration.
211
+ :param pulumi.Input[Sequence[pulumi.Input['ApiAuthenticationIntegrationWithJwtBearerDescribeOutputArgs']]] describe_outputs: Outputs the result of `DESCRIBE SECURITY INTEGRATIONS` for the given security integration.
212
+ :param pulumi.Input[bool] enabled: Specifies whether this security integration is enabled or disabled.
213
+ :param pulumi.Input[str] name: Specifies the identifier (i.e. name) for the integration. This value must be unique in your account.
214
+ :param pulumi.Input[int] oauth_access_token_validity: Specifies the default lifetime of the OAuth access token (in seconds) issued by an OAuth server.
215
+ :param pulumi.Input[str] oauth_authorization_endpoint: Specifies the URL for authenticating to the external service.
216
+ :param pulumi.Input[str] oauth_client_auth_method: Specifies that POST is used as the authentication method to the external service. If removed from the config, the resource is recreated. Valid values are (case-insensitive): `CLIENT_SECRET_POST`.
217
+ :param pulumi.Input[str] oauth_client_id: Specifies the client ID for the OAuth application in the external service.
218
+ :param pulumi.Input[str] oauth_client_secret: Specifies the client secret for the OAuth application in the ServiceNow instance from the previous step. The connector uses this to request an access token from the ServiceNow instance.
219
+ :param pulumi.Input[int] oauth_refresh_token_validity: Specifies the value to determine the validity of the refresh token obtained from the OAuth server.
220
+ :param pulumi.Input[str] oauth_token_endpoint: Specifies the token endpoint used by the client to obtain an access token by presenting its authorization grant or refresh token. The token endpoint is used with every authorization grant except for the implicit grant type (since an access token is issued directly). If removed from the config, the resource is recreated.
221
+ :param pulumi.Input[Sequence[pulumi.Input['ApiAuthenticationIntegrationWithJwtBearerShowOutputArgs']]] show_outputs: Outputs the result of `SHOW SECURITY INTEGRATIONS` for the given security integration.
222
+ """
223
+ if comment is not None:
224
+ pulumi.set(__self__, "comment", comment)
225
+ if describe_outputs is not None:
226
+ pulumi.set(__self__, "describe_outputs", describe_outputs)
227
+ if enabled is not None:
228
+ pulumi.set(__self__, "enabled", enabled)
229
+ if name is not None:
230
+ pulumi.set(__self__, "name", name)
231
+ if oauth_access_token_validity is not None:
232
+ pulumi.set(__self__, "oauth_access_token_validity", oauth_access_token_validity)
233
+ if oauth_assertion_issuer is not None:
234
+ pulumi.set(__self__, "oauth_assertion_issuer", oauth_assertion_issuer)
235
+ if oauth_authorization_endpoint is not None:
236
+ pulumi.set(__self__, "oauth_authorization_endpoint", oauth_authorization_endpoint)
237
+ if oauth_client_auth_method is not None:
238
+ pulumi.set(__self__, "oauth_client_auth_method", oauth_client_auth_method)
239
+ if oauth_client_id is not None:
240
+ pulumi.set(__self__, "oauth_client_id", oauth_client_id)
241
+ if oauth_client_secret is not None:
242
+ pulumi.set(__self__, "oauth_client_secret", oauth_client_secret)
243
+ if oauth_refresh_token_validity is not None:
244
+ pulumi.set(__self__, "oauth_refresh_token_validity", oauth_refresh_token_validity)
245
+ if oauth_token_endpoint is not None:
246
+ pulumi.set(__self__, "oauth_token_endpoint", oauth_token_endpoint)
247
+ if show_outputs is not None:
248
+ pulumi.set(__self__, "show_outputs", show_outputs)
249
+
250
+ @property
251
+ @pulumi.getter
252
+ def comment(self) -> Optional[pulumi.Input[str]]:
253
+ """
254
+ Specifies a comment for the integration.
255
+ """
256
+ return pulumi.get(self, "comment")
257
+
258
+ @comment.setter
259
+ def comment(self, value: Optional[pulumi.Input[str]]):
260
+ pulumi.set(self, "comment", value)
261
+
262
+ @property
263
+ @pulumi.getter(name="describeOutputs")
264
+ def describe_outputs(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['ApiAuthenticationIntegrationWithJwtBearerDescribeOutputArgs']]]]:
265
+ """
266
+ Outputs the result of `DESCRIBE SECURITY INTEGRATIONS` for the given security integration.
267
+ """
268
+ return pulumi.get(self, "describe_outputs")
269
+
270
+ @describe_outputs.setter
271
+ def describe_outputs(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['ApiAuthenticationIntegrationWithJwtBearerDescribeOutputArgs']]]]):
272
+ pulumi.set(self, "describe_outputs", value)
273
+
274
+ @property
275
+ @pulumi.getter
276
+ def enabled(self) -> Optional[pulumi.Input[bool]]:
277
+ """
278
+ Specifies whether this security integration is enabled or disabled.
279
+ """
280
+ return pulumi.get(self, "enabled")
281
+
282
+ @enabled.setter
283
+ def enabled(self, value: Optional[pulumi.Input[bool]]):
284
+ pulumi.set(self, "enabled", value)
285
+
286
+ @property
287
+ @pulumi.getter
288
+ def name(self) -> Optional[pulumi.Input[str]]:
289
+ """
290
+ Specifies the identifier (i.e. name) for the integration. This value must be unique in your account.
291
+ """
292
+ return pulumi.get(self, "name")
293
+
294
+ @name.setter
295
+ def name(self, value: Optional[pulumi.Input[str]]):
296
+ pulumi.set(self, "name", value)
297
+
298
+ @property
299
+ @pulumi.getter(name="oauthAccessTokenValidity")
300
+ def oauth_access_token_validity(self) -> Optional[pulumi.Input[int]]:
301
+ """
302
+ Specifies the default lifetime of the OAuth access token (in seconds) issued by an OAuth server.
303
+ """
304
+ return pulumi.get(self, "oauth_access_token_validity")
305
+
306
+ @oauth_access_token_validity.setter
307
+ def oauth_access_token_validity(self, value: Optional[pulumi.Input[int]]):
308
+ pulumi.set(self, "oauth_access_token_validity", value)
309
+
310
+ @property
311
+ @pulumi.getter(name="oauthAssertionIssuer")
312
+ def oauth_assertion_issuer(self) -> Optional[pulumi.Input[str]]:
313
+ return pulumi.get(self, "oauth_assertion_issuer")
314
+
315
+ @oauth_assertion_issuer.setter
316
+ def oauth_assertion_issuer(self, value: Optional[pulumi.Input[str]]):
317
+ pulumi.set(self, "oauth_assertion_issuer", value)
318
+
319
+ @property
320
+ @pulumi.getter(name="oauthAuthorizationEndpoint")
321
+ def oauth_authorization_endpoint(self) -> Optional[pulumi.Input[str]]:
322
+ """
323
+ Specifies the URL for authenticating to the external service.
324
+ """
325
+ return pulumi.get(self, "oauth_authorization_endpoint")
326
+
327
+ @oauth_authorization_endpoint.setter
328
+ def oauth_authorization_endpoint(self, value: Optional[pulumi.Input[str]]):
329
+ pulumi.set(self, "oauth_authorization_endpoint", value)
330
+
331
+ @property
332
+ @pulumi.getter(name="oauthClientAuthMethod")
333
+ def oauth_client_auth_method(self) -> Optional[pulumi.Input[str]]:
334
+ """
335
+ Specifies that POST is used as the authentication method to the external service. If removed from the config, the resource is recreated. Valid values are (case-insensitive): `CLIENT_SECRET_POST`.
336
+ """
337
+ return pulumi.get(self, "oauth_client_auth_method")
338
+
339
+ @oauth_client_auth_method.setter
340
+ def oauth_client_auth_method(self, value: Optional[pulumi.Input[str]]):
341
+ pulumi.set(self, "oauth_client_auth_method", value)
342
+
343
+ @property
344
+ @pulumi.getter(name="oauthClientId")
345
+ def oauth_client_id(self) -> Optional[pulumi.Input[str]]:
346
+ """
347
+ Specifies the client ID for the OAuth application in the external service.
348
+ """
349
+ return pulumi.get(self, "oauth_client_id")
350
+
351
+ @oauth_client_id.setter
352
+ def oauth_client_id(self, value: Optional[pulumi.Input[str]]):
353
+ pulumi.set(self, "oauth_client_id", value)
354
+
355
+ @property
356
+ @pulumi.getter(name="oauthClientSecret")
357
+ def oauth_client_secret(self) -> Optional[pulumi.Input[str]]:
358
+ """
359
+ Specifies the client secret for the OAuth application in the ServiceNow instance from the previous step. The connector uses this to request an access token from the ServiceNow instance.
360
+ """
361
+ return pulumi.get(self, "oauth_client_secret")
362
+
363
+ @oauth_client_secret.setter
364
+ def oauth_client_secret(self, value: Optional[pulumi.Input[str]]):
365
+ pulumi.set(self, "oauth_client_secret", value)
366
+
367
+ @property
368
+ @pulumi.getter(name="oauthRefreshTokenValidity")
369
+ def oauth_refresh_token_validity(self) -> Optional[pulumi.Input[int]]:
370
+ """
371
+ Specifies the value to determine the validity of the refresh token obtained from the OAuth server.
372
+ """
373
+ return pulumi.get(self, "oauth_refresh_token_validity")
374
+
375
+ @oauth_refresh_token_validity.setter
376
+ def oauth_refresh_token_validity(self, value: Optional[pulumi.Input[int]]):
377
+ pulumi.set(self, "oauth_refresh_token_validity", value)
378
+
379
+ @property
380
+ @pulumi.getter(name="oauthTokenEndpoint")
381
+ def oauth_token_endpoint(self) -> Optional[pulumi.Input[str]]:
382
+ """
383
+ Specifies the token endpoint used by the client to obtain an access token by presenting its authorization grant or refresh token. The token endpoint is used with every authorization grant except for the implicit grant type (since an access token is issued directly). If removed from the config, the resource is recreated.
384
+ """
385
+ return pulumi.get(self, "oauth_token_endpoint")
386
+
387
+ @oauth_token_endpoint.setter
388
+ def oauth_token_endpoint(self, value: Optional[pulumi.Input[str]]):
389
+ pulumi.set(self, "oauth_token_endpoint", value)
390
+
391
+ @property
392
+ @pulumi.getter(name="showOutputs")
393
+ def show_outputs(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['ApiAuthenticationIntegrationWithJwtBearerShowOutputArgs']]]]:
394
+ """
395
+ Outputs the result of `SHOW SECURITY INTEGRATIONS` for the given security integration.
396
+ """
397
+ return pulumi.get(self, "show_outputs")
398
+
399
+ @show_outputs.setter
400
+ def show_outputs(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['ApiAuthenticationIntegrationWithJwtBearerShowOutputArgs']]]]):
401
+ pulumi.set(self, "show_outputs", value)
402
+
403
+
404
+ class ApiAuthenticationIntegrationWithJwtBearer(pulumi.CustomResource):
405
+ @overload
406
+ def __init__(__self__,
407
+ resource_name: str,
408
+ opts: Optional[pulumi.ResourceOptions] = None,
409
+ comment: Optional[pulumi.Input[str]] = None,
410
+ enabled: Optional[pulumi.Input[bool]] = None,
411
+ name: Optional[pulumi.Input[str]] = None,
412
+ oauth_access_token_validity: Optional[pulumi.Input[int]] = None,
413
+ oauth_assertion_issuer: Optional[pulumi.Input[str]] = None,
414
+ oauth_authorization_endpoint: Optional[pulumi.Input[str]] = None,
415
+ oauth_client_auth_method: Optional[pulumi.Input[str]] = None,
416
+ oauth_client_id: Optional[pulumi.Input[str]] = None,
417
+ oauth_client_secret: Optional[pulumi.Input[str]] = None,
418
+ oauth_refresh_token_validity: Optional[pulumi.Input[int]] = None,
419
+ oauth_token_endpoint: Optional[pulumi.Input[str]] = None,
420
+ __props__=None):
421
+ """
422
+ !> **V1 release candidate** This resource was reworked and is a release candidate for the V1. We do not expect significant changes in it before the V1. We will welcome any feedback and adjust the resource if needed. Any errors reported will be resolved with a higher priority. We encourage checking this resource out before the V1 release. Please follow the migration guide to use it.
423
+
424
+ Resource used to manage api authentication security integration objects with jwt bearer. For more information, check [security integrations documentation](https://docs.snowflake.com/en/sql-reference/sql/create-security-integration-api-auth).
425
+
426
+ ## Import
427
+
428
+ ```sh
429
+ $ pulumi import snowflake:index/apiAuthenticationIntegrationWithJwtBearer:ApiAuthenticationIntegrationWithJwtBearer example "name"
430
+ ```
431
+
432
+ :param str resource_name: The name of the resource.
433
+ :param pulumi.ResourceOptions opts: Options for the resource.
434
+ :param pulumi.Input[str] comment: Specifies a comment for the integration.
435
+ :param pulumi.Input[bool] enabled: Specifies whether this security integration is enabled or disabled.
436
+ :param pulumi.Input[str] name: Specifies the identifier (i.e. name) for the integration. This value must be unique in your account.
437
+ :param pulumi.Input[int] oauth_access_token_validity: Specifies the default lifetime of the OAuth access token (in seconds) issued by an OAuth server.
438
+ :param pulumi.Input[str] oauth_authorization_endpoint: Specifies the URL for authenticating to the external service.
439
+ :param pulumi.Input[str] oauth_client_auth_method: Specifies that POST is used as the authentication method to the external service. If removed from the config, the resource is recreated. Valid values are (case-insensitive): `CLIENT_SECRET_POST`.
440
+ :param pulumi.Input[str] oauth_client_id: Specifies the client ID for the OAuth application in the external service.
441
+ :param pulumi.Input[str] oauth_client_secret: Specifies the client secret for the OAuth application in the ServiceNow instance from the previous step. The connector uses this to request an access token from the ServiceNow instance.
442
+ :param pulumi.Input[int] oauth_refresh_token_validity: Specifies the value to determine the validity of the refresh token obtained from the OAuth server.
443
+ :param pulumi.Input[str] oauth_token_endpoint: Specifies the token endpoint used by the client to obtain an access token by presenting its authorization grant or refresh token. The token endpoint is used with every authorization grant except for the implicit grant type (since an access token is issued directly). If removed from the config, the resource is recreated.
444
+ """
445
+ ...
446
+ @overload
447
+ def __init__(__self__,
448
+ resource_name: str,
449
+ args: ApiAuthenticationIntegrationWithJwtBearerArgs,
450
+ opts: Optional[pulumi.ResourceOptions] = None):
451
+ """
452
+ !> **V1 release candidate** This resource was reworked and is a release candidate for the V1. We do not expect significant changes in it before the V1. We will welcome any feedback and adjust the resource if needed. Any errors reported will be resolved with a higher priority. We encourage checking this resource out before the V1 release. Please follow the migration guide to use it.
453
+
454
+ Resource used to manage api authentication security integration objects with jwt bearer. For more information, check [security integrations documentation](https://docs.snowflake.com/en/sql-reference/sql/create-security-integration-api-auth).
455
+
456
+ ## Import
457
+
458
+ ```sh
459
+ $ pulumi import snowflake:index/apiAuthenticationIntegrationWithJwtBearer:ApiAuthenticationIntegrationWithJwtBearer example "name"
460
+ ```
461
+
462
+ :param str resource_name: The name of the resource.
463
+ :param ApiAuthenticationIntegrationWithJwtBearerArgs args: The arguments to use to populate this resource's properties.
464
+ :param pulumi.ResourceOptions opts: Options for the resource.
465
+ """
466
+ ...
467
+ def __init__(__self__, resource_name: str, *args, **kwargs):
468
+ resource_args, opts = _utilities.get_resource_args_opts(ApiAuthenticationIntegrationWithJwtBearerArgs, pulumi.ResourceOptions, *args, **kwargs)
469
+ if resource_args is not None:
470
+ __self__._internal_init(resource_name, opts, **resource_args.__dict__)
471
+ else:
472
+ __self__._internal_init(resource_name, *args, **kwargs)
473
+
474
+ def _internal_init(__self__,
475
+ resource_name: str,
476
+ opts: Optional[pulumi.ResourceOptions] = None,
477
+ comment: Optional[pulumi.Input[str]] = None,
478
+ enabled: Optional[pulumi.Input[bool]] = None,
479
+ name: Optional[pulumi.Input[str]] = None,
480
+ oauth_access_token_validity: Optional[pulumi.Input[int]] = None,
481
+ oauth_assertion_issuer: Optional[pulumi.Input[str]] = None,
482
+ oauth_authorization_endpoint: Optional[pulumi.Input[str]] = None,
483
+ oauth_client_auth_method: Optional[pulumi.Input[str]] = None,
484
+ oauth_client_id: Optional[pulumi.Input[str]] = None,
485
+ oauth_client_secret: Optional[pulumi.Input[str]] = None,
486
+ oauth_refresh_token_validity: Optional[pulumi.Input[int]] = None,
487
+ oauth_token_endpoint: Optional[pulumi.Input[str]] = None,
488
+ __props__=None):
489
+ opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
490
+ if not isinstance(opts, pulumi.ResourceOptions):
491
+ raise TypeError('Expected resource options to be a ResourceOptions instance')
492
+ if opts.id is None:
493
+ if __props__ is not None:
494
+ raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
495
+ __props__ = ApiAuthenticationIntegrationWithJwtBearerArgs.__new__(ApiAuthenticationIntegrationWithJwtBearerArgs)
496
+
497
+ __props__.__dict__["comment"] = comment
498
+ if enabled is None and not opts.urn:
499
+ raise TypeError("Missing required property 'enabled'")
500
+ __props__.__dict__["enabled"] = enabled
501
+ __props__.__dict__["name"] = name
502
+ __props__.__dict__["oauth_access_token_validity"] = oauth_access_token_validity
503
+ if oauth_assertion_issuer is None and not opts.urn:
504
+ raise TypeError("Missing required property 'oauth_assertion_issuer'")
505
+ __props__.__dict__["oauth_assertion_issuer"] = oauth_assertion_issuer
506
+ __props__.__dict__["oauth_authorization_endpoint"] = oauth_authorization_endpoint
507
+ __props__.__dict__["oauth_client_auth_method"] = oauth_client_auth_method
508
+ if oauth_client_id is None and not opts.urn:
509
+ raise TypeError("Missing required property 'oauth_client_id'")
510
+ __props__.__dict__["oauth_client_id"] = oauth_client_id
511
+ if oauth_client_secret is None and not opts.urn:
512
+ raise TypeError("Missing required property 'oauth_client_secret'")
513
+ __props__.__dict__["oauth_client_secret"] = oauth_client_secret
514
+ __props__.__dict__["oauth_refresh_token_validity"] = oauth_refresh_token_validity
515
+ __props__.__dict__["oauth_token_endpoint"] = oauth_token_endpoint
516
+ __props__.__dict__["describe_outputs"] = None
517
+ __props__.__dict__["show_outputs"] = None
518
+ super(ApiAuthenticationIntegrationWithJwtBearer, __self__).__init__(
519
+ 'snowflake:index/apiAuthenticationIntegrationWithJwtBearer:ApiAuthenticationIntegrationWithJwtBearer',
520
+ resource_name,
521
+ __props__,
522
+ opts)
523
+
524
+ @staticmethod
525
+ def get(resource_name: str,
526
+ id: pulumi.Input[str],
527
+ opts: Optional[pulumi.ResourceOptions] = None,
528
+ comment: Optional[pulumi.Input[str]] = None,
529
+ describe_outputs: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['ApiAuthenticationIntegrationWithJwtBearerDescribeOutputArgs']]]]] = None,
530
+ enabled: Optional[pulumi.Input[bool]] = None,
531
+ name: Optional[pulumi.Input[str]] = None,
532
+ oauth_access_token_validity: Optional[pulumi.Input[int]] = None,
533
+ oauth_assertion_issuer: Optional[pulumi.Input[str]] = None,
534
+ oauth_authorization_endpoint: Optional[pulumi.Input[str]] = None,
535
+ oauth_client_auth_method: Optional[pulumi.Input[str]] = None,
536
+ oauth_client_id: Optional[pulumi.Input[str]] = None,
537
+ oauth_client_secret: Optional[pulumi.Input[str]] = None,
538
+ oauth_refresh_token_validity: Optional[pulumi.Input[int]] = None,
539
+ oauth_token_endpoint: Optional[pulumi.Input[str]] = None,
540
+ show_outputs: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['ApiAuthenticationIntegrationWithJwtBearerShowOutputArgs']]]]] = None) -> 'ApiAuthenticationIntegrationWithJwtBearer':
541
+ """
542
+ Get an existing ApiAuthenticationIntegrationWithJwtBearer resource's state with the given name, id, and optional extra
543
+ properties used to qualify the lookup.
544
+
545
+ :param str resource_name: The unique name of the resulting resource.
546
+ :param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
547
+ :param pulumi.ResourceOptions opts: Options for the resource.
548
+ :param pulumi.Input[str] comment: Specifies a comment for the integration.
549
+ :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['ApiAuthenticationIntegrationWithJwtBearerDescribeOutputArgs']]]] describe_outputs: Outputs the result of `DESCRIBE SECURITY INTEGRATIONS` for the given security integration.
550
+ :param pulumi.Input[bool] enabled: Specifies whether this security integration is enabled or disabled.
551
+ :param pulumi.Input[str] name: Specifies the identifier (i.e. name) for the integration. This value must be unique in your account.
552
+ :param pulumi.Input[int] oauth_access_token_validity: Specifies the default lifetime of the OAuth access token (in seconds) issued by an OAuth server.
553
+ :param pulumi.Input[str] oauth_authorization_endpoint: Specifies the URL for authenticating to the external service.
554
+ :param pulumi.Input[str] oauth_client_auth_method: Specifies that POST is used as the authentication method to the external service. If removed from the config, the resource is recreated. Valid values are (case-insensitive): `CLIENT_SECRET_POST`.
555
+ :param pulumi.Input[str] oauth_client_id: Specifies the client ID for the OAuth application in the external service.
556
+ :param pulumi.Input[str] oauth_client_secret: Specifies the client secret for the OAuth application in the ServiceNow instance from the previous step. The connector uses this to request an access token from the ServiceNow instance.
557
+ :param pulumi.Input[int] oauth_refresh_token_validity: Specifies the value to determine the validity of the refresh token obtained from the OAuth server.
558
+ :param pulumi.Input[str] oauth_token_endpoint: Specifies the token endpoint used by the client to obtain an access token by presenting its authorization grant or refresh token. The token endpoint is used with every authorization grant except for the implicit grant type (since an access token is issued directly). If removed from the config, the resource is recreated.
559
+ :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['ApiAuthenticationIntegrationWithJwtBearerShowOutputArgs']]]] show_outputs: Outputs the result of `SHOW SECURITY INTEGRATIONS` for the given security integration.
560
+ """
561
+ opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
562
+
563
+ __props__ = _ApiAuthenticationIntegrationWithJwtBearerState.__new__(_ApiAuthenticationIntegrationWithJwtBearerState)
564
+
565
+ __props__.__dict__["comment"] = comment
566
+ __props__.__dict__["describe_outputs"] = describe_outputs
567
+ __props__.__dict__["enabled"] = enabled
568
+ __props__.__dict__["name"] = name
569
+ __props__.__dict__["oauth_access_token_validity"] = oauth_access_token_validity
570
+ __props__.__dict__["oauth_assertion_issuer"] = oauth_assertion_issuer
571
+ __props__.__dict__["oauth_authorization_endpoint"] = oauth_authorization_endpoint
572
+ __props__.__dict__["oauth_client_auth_method"] = oauth_client_auth_method
573
+ __props__.__dict__["oauth_client_id"] = oauth_client_id
574
+ __props__.__dict__["oauth_client_secret"] = oauth_client_secret
575
+ __props__.__dict__["oauth_refresh_token_validity"] = oauth_refresh_token_validity
576
+ __props__.__dict__["oauth_token_endpoint"] = oauth_token_endpoint
577
+ __props__.__dict__["show_outputs"] = show_outputs
578
+ return ApiAuthenticationIntegrationWithJwtBearer(resource_name, opts=opts, __props__=__props__)
579
+
580
+ @property
581
+ @pulumi.getter
582
+ def comment(self) -> pulumi.Output[Optional[str]]:
583
+ """
584
+ Specifies a comment for the integration.
585
+ """
586
+ return pulumi.get(self, "comment")
587
+
588
+ @property
589
+ @pulumi.getter(name="describeOutputs")
590
+ def describe_outputs(self) -> pulumi.Output[Sequence['outputs.ApiAuthenticationIntegrationWithJwtBearerDescribeOutput']]:
591
+ """
592
+ Outputs the result of `DESCRIBE SECURITY INTEGRATIONS` for the given security integration.
593
+ """
594
+ return pulumi.get(self, "describe_outputs")
595
+
596
+ @property
597
+ @pulumi.getter
598
+ def enabled(self) -> pulumi.Output[bool]:
599
+ """
600
+ Specifies whether this security integration is enabled or disabled.
601
+ """
602
+ return pulumi.get(self, "enabled")
603
+
604
+ @property
605
+ @pulumi.getter
606
+ def name(self) -> pulumi.Output[str]:
607
+ """
608
+ Specifies the identifier (i.e. name) for the integration. This value must be unique in your account.
609
+ """
610
+ return pulumi.get(self, "name")
611
+
612
+ @property
613
+ @pulumi.getter(name="oauthAccessTokenValidity")
614
+ def oauth_access_token_validity(self) -> pulumi.Output[Optional[int]]:
615
+ """
616
+ Specifies the default lifetime of the OAuth access token (in seconds) issued by an OAuth server.
617
+ """
618
+ return pulumi.get(self, "oauth_access_token_validity")
619
+
620
+ @property
621
+ @pulumi.getter(name="oauthAssertionIssuer")
622
+ def oauth_assertion_issuer(self) -> pulumi.Output[str]:
623
+ return pulumi.get(self, "oauth_assertion_issuer")
624
+
625
+ @property
626
+ @pulumi.getter(name="oauthAuthorizationEndpoint")
627
+ def oauth_authorization_endpoint(self) -> pulumi.Output[Optional[str]]:
628
+ """
629
+ Specifies the URL for authenticating to the external service.
630
+ """
631
+ return pulumi.get(self, "oauth_authorization_endpoint")
632
+
633
+ @property
634
+ @pulumi.getter(name="oauthClientAuthMethod")
635
+ def oauth_client_auth_method(self) -> pulumi.Output[Optional[str]]:
636
+ """
637
+ Specifies that POST is used as the authentication method to the external service. If removed from the config, the resource is recreated. Valid values are (case-insensitive): `CLIENT_SECRET_POST`.
638
+ """
639
+ return pulumi.get(self, "oauth_client_auth_method")
640
+
641
+ @property
642
+ @pulumi.getter(name="oauthClientId")
643
+ def oauth_client_id(self) -> pulumi.Output[str]:
644
+ """
645
+ Specifies the client ID for the OAuth application in the external service.
646
+ """
647
+ return pulumi.get(self, "oauth_client_id")
648
+
649
+ @property
650
+ @pulumi.getter(name="oauthClientSecret")
651
+ def oauth_client_secret(self) -> pulumi.Output[str]:
652
+ """
653
+ Specifies the client secret for the OAuth application in the ServiceNow instance from the previous step. The connector uses this to request an access token from the ServiceNow instance.
654
+ """
655
+ return pulumi.get(self, "oauth_client_secret")
656
+
657
+ @property
658
+ @pulumi.getter(name="oauthRefreshTokenValidity")
659
+ def oauth_refresh_token_validity(self) -> pulumi.Output[Optional[int]]:
660
+ """
661
+ Specifies the value to determine the validity of the refresh token obtained from the OAuth server.
662
+ """
663
+ return pulumi.get(self, "oauth_refresh_token_validity")
664
+
665
+ @property
666
+ @pulumi.getter(name="oauthTokenEndpoint")
667
+ def oauth_token_endpoint(self) -> pulumi.Output[Optional[str]]:
668
+ """
669
+ Specifies the token endpoint used by the client to obtain an access token by presenting its authorization grant or refresh token. The token endpoint is used with every authorization grant except for the implicit grant type (since an access token is issued directly). If removed from the config, the resource is recreated.
670
+ """
671
+ return pulumi.get(self, "oauth_token_endpoint")
672
+
673
+ @property
674
+ @pulumi.getter(name="showOutputs")
675
+ def show_outputs(self) -> pulumi.Output[Sequence['outputs.ApiAuthenticationIntegrationWithJwtBearerShowOutput']]:
676
+ """
677
+ Outputs the result of `SHOW SECURITY INTEGRATIONS` for the given security integration.
678
+ """
679
+ return pulumi.get(self, "show_outputs")
680
+