pulumi-snowflake 0.56.0a1721200104__py3-none-any.whl → 0.56.0a1721667766__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 (62) hide show
  1. pulumi_snowflake/__init__.py +66 -217
  2. pulumi_snowflake/_inputs.py +10145 -1557
  3. pulumi_snowflake/_utilities.py +3 -4
  4. pulumi_snowflake/api_authentication_integration_with_authorization_code_grant.py +688 -0
  5. pulumi_snowflake/api_authentication_integration_with_client_credentials.py +641 -0
  6. pulumi_snowflake/api_authentication_integration_with_jwt_bearer.py +676 -0
  7. pulumi_snowflake/cortex_search_service.py +563 -0
  8. pulumi_snowflake/database.py +854 -232
  9. pulumi_snowflake/database_old.py +556 -0
  10. pulumi_snowflake/external_oauth_integration.py +562 -534
  11. pulumi_snowflake/failover_group.py +2 -2
  12. pulumi_snowflake/get_cortex_search_services.py +197 -0
  13. pulumi_snowflake/get_databases.py +71 -62
  14. pulumi_snowflake/get_security_integrations.py +122 -0
  15. pulumi_snowflake/get_warehouses.py +66 -18
  16. pulumi_snowflake/grant_privileges_to_database_role.py +0 -4
  17. pulumi_snowflake/managed_account.py +7 -7
  18. pulumi_snowflake/oauth_integration.py +4 -0
  19. pulumi_snowflake/oauth_integration_for_custom_clients.py +936 -0
  20. pulumi_snowflake/oauth_integration_for_partner_applications.py +580 -0
  21. pulumi_snowflake/outputs.py +12987 -2857
  22. pulumi_snowflake/pulumi-plugin.json +1 -1
  23. pulumi_snowflake/saml2_integration.py +971 -0
  24. pulumi_snowflake/saml_integration.py +4 -0
  25. pulumi_snowflake/scim_integration.py +255 -105
  26. pulumi_snowflake/secondary_database.py +1059 -0
  27. pulumi_snowflake/sequence.py +6 -6
  28. pulumi_snowflake/shared_database.py +914 -0
  29. pulumi_snowflake/tag_association.py +38 -38
  30. pulumi_snowflake/user_password_policy_attachment.py +32 -0
  31. pulumi_snowflake/warehouse.py +143 -120
  32. {pulumi_snowflake-0.56.0a1721200104.dist-info → pulumi_snowflake-0.56.0a1721667766.dist-info}/METADATA +1 -1
  33. {pulumi_snowflake-0.56.0a1721200104.dist-info → pulumi_snowflake-0.56.0a1721667766.dist-info}/RECORD +35 -50
  34. {pulumi_snowflake-0.56.0a1721200104.dist-info → pulumi_snowflake-0.56.0a1721667766.dist-info}/WHEEL +1 -1
  35. pulumi_snowflake/account_grant.py +0 -319
  36. pulumi_snowflake/database_grant.py +0 -471
  37. pulumi_snowflake/external_table_grant.py +0 -666
  38. pulumi_snowflake/failover_group_grant.py +0 -368
  39. pulumi_snowflake/file_format_grant.py +0 -611
  40. pulumi_snowflake/function_grant.py +0 -721
  41. pulumi_snowflake/grant_privileges_to_role.py +0 -821
  42. pulumi_snowflake/integration_grant.py +0 -416
  43. pulumi_snowflake/masking_policy_grant.py +0 -518
  44. pulumi_snowflake/materialized_view_grant.py +0 -665
  45. pulumi_snowflake/pipe_grant.py +0 -563
  46. pulumi_snowflake/procedure_grant.py +0 -721
  47. pulumi_snowflake/resource_monitor_grant.py +0 -363
  48. pulumi_snowflake/role_grants.py +0 -340
  49. pulumi_snowflake/role_ownership_grant.py +0 -329
  50. pulumi_snowflake/row_access_policy_grant.py +0 -516
  51. pulumi_snowflake/schema_grant.py +0 -603
  52. pulumi_snowflake/sequence_grant.py +0 -611
  53. pulumi_snowflake/stage_grant.py +0 -611
  54. pulumi_snowflake/stream_grant.py +0 -611
  55. pulumi_snowflake/table_grant.py +0 -653
  56. pulumi_snowflake/tag_grant.py +0 -508
  57. pulumi_snowflake/task_grant.py +0 -611
  58. pulumi_snowflake/user_grant.py +0 -370
  59. pulumi_snowflake/user_ownership_grant.py +0 -275
  60. pulumi_snowflake/view_grant.py +0 -685
  61. pulumi_snowflake/warehouse_grant.py +0 -416
  62. {pulumi_snowflake-0.56.0a1721200104.dist-info → pulumi_snowflake-0.56.0a1721667766.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,676 @@
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
+ ## Import
425
+
426
+ ```sh
427
+ $ pulumi import snowflake:index/apiAuthenticationIntegrationWithJwtBearer:ApiAuthenticationIntegrationWithJwtBearer example "name"
428
+ ```
429
+
430
+ :param str resource_name: The name of the resource.
431
+ :param pulumi.ResourceOptions opts: Options for the resource.
432
+ :param pulumi.Input[str] comment: Specifies a comment for the integration.
433
+ :param pulumi.Input[bool] enabled: Specifies whether this security integration is enabled or disabled.
434
+ :param pulumi.Input[str] name: Specifies the identifier (i.e. name) for the integration. This value must be unique in your account.
435
+ :param pulumi.Input[int] oauth_access_token_validity: Specifies the default lifetime of the OAuth access token (in seconds) issued by an OAuth server.
436
+ :param pulumi.Input[str] oauth_authorization_endpoint: Specifies the URL for authenticating to the external service.
437
+ :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`.
438
+ :param pulumi.Input[str] oauth_client_id: Specifies the client ID for the OAuth application in the external service.
439
+ :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.
440
+ :param pulumi.Input[int] oauth_refresh_token_validity: Specifies the value to determine the validity of the refresh token obtained from the OAuth server.
441
+ :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.
442
+ """
443
+ ...
444
+ @overload
445
+ def __init__(__self__,
446
+ resource_name: str,
447
+ args: ApiAuthenticationIntegrationWithJwtBearerArgs,
448
+ opts: Optional[pulumi.ResourceOptions] = None):
449
+ """
450
+ !> **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.
451
+
452
+ ## Import
453
+
454
+ ```sh
455
+ $ pulumi import snowflake:index/apiAuthenticationIntegrationWithJwtBearer:ApiAuthenticationIntegrationWithJwtBearer example "name"
456
+ ```
457
+
458
+ :param str resource_name: The name of the resource.
459
+ :param ApiAuthenticationIntegrationWithJwtBearerArgs args: The arguments to use to populate this resource's properties.
460
+ :param pulumi.ResourceOptions opts: Options for the resource.
461
+ """
462
+ ...
463
+ def __init__(__self__, resource_name: str, *args, **kwargs):
464
+ resource_args, opts = _utilities.get_resource_args_opts(ApiAuthenticationIntegrationWithJwtBearerArgs, pulumi.ResourceOptions, *args, **kwargs)
465
+ if resource_args is not None:
466
+ __self__._internal_init(resource_name, opts, **resource_args.__dict__)
467
+ else:
468
+ __self__._internal_init(resource_name, *args, **kwargs)
469
+
470
+ def _internal_init(__self__,
471
+ resource_name: str,
472
+ opts: Optional[pulumi.ResourceOptions] = None,
473
+ comment: Optional[pulumi.Input[str]] = None,
474
+ enabled: Optional[pulumi.Input[bool]] = None,
475
+ name: Optional[pulumi.Input[str]] = None,
476
+ oauth_access_token_validity: Optional[pulumi.Input[int]] = None,
477
+ oauth_assertion_issuer: Optional[pulumi.Input[str]] = None,
478
+ oauth_authorization_endpoint: Optional[pulumi.Input[str]] = None,
479
+ oauth_client_auth_method: Optional[pulumi.Input[str]] = None,
480
+ oauth_client_id: Optional[pulumi.Input[str]] = None,
481
+ oauth_client_secret: Optional[pulumi.Input[str]] = None,
482
+ oauth_refresh_token_validity: Optional[pulumi.Input[int]] = None,
483
+ oauth_token_endpoint: Optional[pulumi.Input[str]] = None,
484
+ __props__=None):
485
+ opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
486
+ if not isinstance(opts, pulumi.ResourceOptions):
487
+ raise TypeError('Expected resource options to be a ResourceOptions instance')
488
+ if opts.id is None:
489
+ if __props__ is not None:
490
+ raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
491
+ __props__ = ApiAuthenticationIntegrationWithJwtBearerArgs.__new__(ApiAuthenticationIntegrationWithJwtBearerArgs)
492
+
493
+ __props__.__dict__["comment"] = comment
494
+ if enabled is None and not opts.urn:
495
+ raise TypeError("Missing required property 'enabled'")
496
+ __props__.__dict__["enabled"] = enabled
497
+ __props__.__dict__["name"] = name
498
+ __props__.__dict__["oauth_access_token_validity"] = oauth_access_token_validity
499
+ if oauth_assertion_issuer is None and not opts.urn:
500
+ raise TypeError("Missing required property 'oauth_assertion_issuer'")
501
+ __props__.__dict__["oauth_assertion_issuer"] = oauth_assertion_issuer
502
+ __props__.__dict__["oauth_authorization_endpoint"] = oauth_authorization_endpoint
503
+ __props__.__dict__["oauth_client_auth_method"] = oauth_client_auth_method
504
+ if oauth_client_id is None and not opts.urn:
505
+ raise TypeError("Missing required property 'oauth_client_id'")
506
+ __props__.__dict__["oauth_client_id"] = oauth_client_id
507
+ if oauth_client_secret is None and not opts.urn:
508
+ raise TypeError("Missing required property 'oauth_client_secret'")
509
+ __props__.__dict__["oauth_client_secret"] = oauth_client_secret
510
+ __props__.__dict__["oauth_refresh_token_validity"] = oauth_refresh_token_validity
511
+ __props__.__dict__["oauth_token_endpoint"] = oauth_token_endpoint
512
+ __props__.__dict__["describe_outputs"] = None
513
+ __props__.__dict__["show_outputs"] = None
514
+ super(ApiAuthenticationIntegrationWithJwtBearer, __self__).__init__(
515
+ 'snowflake:index/apiAuthenticationIntegrationWithJwtBearer:ApiAuthenticationIntegrationWithJwtBearer',
516
+ resource_name,
517
+ __props__,
518
+ opts)
519
+
520
+ @staticmethod
521
+ def get(resource_name: str,
522
+ id: pulumi.Input[str],
523
+ opts: Optional[pulumi.ResourceOptions] = None,
524
+ comment: Optional[pulumi.Input[str]] = None,
525
+ describe_outputs: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['ApiAuthenticationIntegrationWithJwtBearerDescribeOutputArgs']]]]] = None,
526
+ enabled: Optional[pulumi.Input[bool]] = None,
527
+ name: Optional[pulumi.Input[str]] = None,
528
+ oauth_access_token_validity: Optional[pulumi.Input[int]] = None,
529
+ oauth_assertion_issuer: Optional[pulumi.Input[str]] = None,
530
+ oauth_authorization_endpoint: Optional[pulumi.Input[str]] = None,
531
+ oauth_client_auth_method: Optional[pulumi.Input[str]] = None,
532
+ oauth_client_id: Optional[pulumi.Input[str]] = None,
533
+ oauth_client_secret: Optional[pulumi.Input[str]] = None,
534
+ oauth_refresh_token_validity: Optional[pulumi.Input[int]] = None,
535
+ oauth_token_endpoint: Optional[pulumi.Input[str]] = None,
536
+ show_outputs: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['ApiAuthenticationIntegrationWithJwtBearerShowOutputArgs']]]]] = None) -> 'ApiAuthenticationIntegrationWithJwtBearer':
537
+ """
538
+ Get an existing ApiAuthenticationIntegrationWithJwtBearer resource's state with the given name, id, and optional extra
539
+ properties used to qualify the lookup.
540
+
541
+ :param str resource_name: The unique name of the resulting resource.
542
+ :param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
543
+ :param pulumi.ResourceOptions opts: Options for the resource.
544
+ :param pulumi.Input[str] comment: Specifies a comment for the integration.
545
+ :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['ApiAuthenticationIntegrationWithJwtBearerDescribeOutputArgs']]]] describe_outputs: Outputs the result of `DESCRIBE SECURITY INTEGRATIONS` for the given security integration.
546
+ :param pulumi.Input[bool] enabled: Specifies whether this security integration is enabled or disabled.
547
+ :param pulumi.Input[str] name: Specifies the identifier (i.e. name) for the integration. This value must be unique in your account.
548
+ :param pulumi.Input[int] oauth_access_token_validity: Specifies the default lifetime of the OAuth access token (in seconds) issued by an OAuth server.
549
+ :param pulumi.Input[str] oauth_authorization_endpoint: Specifies the URL for authenticating to the external service.
550
+ :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`.
551
+ :param pulumi.Input[str] oauth_client_id: Specifies the client ID for the OAuth application in the external service.
552
+ :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.
553
+ :param pulumi.Input[int] oauth_refresh_token_validity: Specifies the value to determine the validity of the refresh token obtained from the OAuth server.
554
+ :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.
555
+ :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['ApiAuthenticationIntegrationWithJwtBearerShowOutputArgs']]]] show_outputs: Outputs the result of `SHOW SECURITY INTEGRATIONS` for the given security integration.
556
+ """
557
+ opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
558
+
559
+ __props__ = _ApiAuthenticationIntegrationWithJwtBearerState.__new__(_ApiAuthenticationIntegrationWithJwtBearerState)
560
+
561
+ __props__.__dict__["comment"] = comment
562
+ __props__.__dict__["describe_outputs"] = describe_outputs
563
+ __props__.__dict__["enabled"] = enabled
564
+ __props__.__dict__["name"] = name
565
+ __props__.__dict__["oauth_access_token_validity"] = oauth_access_token_validity
566
+ __props__.__dict__["oauth_assertion_issuer"] = oauth_assertion_issuer
567
+ __props__.__dict__["oauth_authorization_endpoint"] = oauth_authorization_endpoint
568
+ __props__.__dict__["oauth_client_auth_method"] = oauth_client_auth_method
569
+ __props__.__dict__["oauth_client_id"] = oauth_client_id
570
+ __props__.__dict__["oauth_client_secret"] = oauth_client_secret
571
+ __props__.__dict__["oauth_refresh_token_validity"] = oauth_refresh_token_validity
572
+ __props__.__dict__["oauth_token_endpoint"] = oauth_token_endpoint
573
+ __props__.__dict__["show_outputs"] = show_outputs
574
+ return ApiAuthenticationIntegrationWithJwtBearer(resource_name, opts=opts, __props__=__props__)
575
+
576
+ @property
577
+ @pulumi.getter
578
+ def comment(self) -> pulumi.Output[Optional[str]]:
579
+ """
580
+ Specifies a comment for the integration.
581
+ """
582
+ return pulumi.get(self, "comment")
583
+
584
+ @property
585
+ @pulumi.getter(name="describeOutputs")
586
+ def describe_outputs(self) -> pulumi.Output[Sequence['outputs.ApiAuthenticationIntegrationWithJwtBearerDescribeOutput']]:
587
+ """
588
+ Outputs the result of `DESCRIBE SECURITY INTEGRATIONS` for the given security integration.
589
+ """
590
+ return pulumi.get(self, "describe_outputs")
591
+
592
+ @property
593
+ @pulumi.getter
594
+ def enabled(self) -> pulumi.Output[bool]:
595
+ """
596
+ Specifies whether this security integration is enabled or disabled.
597
+ """
598
+ return pulumi.get(self, "enabled")
599
+
600
+ @property
601
+ @pulumi.getter
602
+ def name(self) -> pulumi.Output[str]:
603
+ """
604
+ Specifies the identifier (i.e. name) for the integration. This value must be unique in your account.
605
+ """
606
+ return pulumi.get(self, "name")
607
+
608
+ @property
609
+ @pulumi.getter(name="oauthAccessTokenValidity")
610
+ def oauth_access_token_validity(self) -> pulumi.Output[Optional[int]]:
611
+ """
612
+ Specifies the default lifetime of the OAuth access token (in seconds) issued by an OAuth server.
613
+ """
614
+ return pulumi.get(self, "oauth_access_token_validity")
615
+
616
+ @property
617
+ @pulumi.getter(name="oauthAssertionIssuer")
618
+ def oauth_assertion_issuer(self) -> pulumi.Output[str]:
619
+ return pulumi.get(self, "oauth_assertion_issuer")
620
+
621
+ @property
622
+ @pulumi.getter(name="oauthAuthorizationEndpoint")
623
+ def oauth_authorization_endpoint(self) -> pulumi.Output[Optional[str]]:
624
+ """
625
+ Specifies the URL for authenticating to the external service.
626
+ """
627
+ return pulumi.get(self, "oauth_authorization_endpoint")
628
+
629
+ @property
630
+ @pulumi.getter(name="oauthClientAuthMethod")
631
+ def oauth_client_auth_method(self) -> pulumi.Output[Optional[str]]:
632
+ """
633
+ 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`.
634
+ """
635
+ return pulumi.get(self, "oauth_client_auth_method")
636
+
637
+ @property
638
+ @pulumi.getter(name="oauthClientId")
639
+ def oauth_client_id(self) -> pulumi.Output[str]:
640
+ """
641
+ Specifies the client ID for the OAuth application in the external service.
642
+ """
643
+ return pulumi.get(self, "oauth_client_id")
644
+
645
+ @property
646
+ @pulumi.getter(name="oauthClientSecret")
647
+ def oauth_client_secret(self) -> pulumi.Output[str]:
648
+ """
649
+ 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.
650
+ """
651
+ return pulumi.get(self, "oauth_client_secret")
652
+
653
+ @property
654
+ @pulumi.getter(name="oauthRefreshTokenValidity")
655
+ def oauth_refresh_token_validity(self) -> pulumi.Output[Optional[int]]:
656
+ """
657
+ Specifies the value to determine the validity of the refresh token obtained from the OAuth server.
658
+ """
659
+ return pulumi.get(self, "oauth_refresh_token_validity")
660
+
661
+ @property
662
+ @pulumi.getter(name="oauthTokenEndpoint")
663
+ def oauth_token_endpoint(self) -> pulumi.Output[Optional[str]]:
664
+ """
665
+ 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.
666
+ """
667
+ return pulumi.get(self, "oauth_token_endpoint")
668
+
669
+ @property
670
+ @pulumi.getter(name="showOutputs")
671
+ def show_outputs(self) -> pulumi.Output[Sequence['outputs.ApiAuthenticationIntegrationWithJwtBearerShowOutput']]:
672
+ """
673
+ Outputs the result of `SHOW SECURITY INTEGRATIONS` for the given security integration.
674
+ """
675
+ return pulumi.get(self, "show_outputs")
676
+