pulumi-snowflake 0.57.2__py3-none-any.whl → 0.58.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.
Potentially problematic release.
This version of pulumi-snowflake might be problematic. Click here for more details.
- pulumi_snowflake/_inputs.py +5859 -127
- pulumi_snowflake/account.py +28 -50
- pulumi_snowflake/account_parameter.py +0 -28
- pulumi_snowflake/account_password_policy_attachment.py +2 -30
- pulumi_snowflake/account_role.py +41 -36
- pulumi_snowflake/alert.py +28 -40
- pulumi_snowflake/api_authentication_integration_with_authorization_code_grant.py +35 -15
- pulumi_snowflake/api_authentication_integration_with_client_credentials.py +35 -15
- pulumi_snowflake/api_authentication_integration_with_jwt_bearer.py +35 -15
- pulumi_snowflake/api_integration.py +28 -54
- pulumi_snowflake/cortex_search_service.py +28 -76
- pulumi_snowflake/database.py +82 -15
- pulumi_snowflake/database_old.py +0 -72
- pulumi_snowflake/database_role.py +76 -42
- pulumi_snowflake/dynamic_table.py +28 -38
- pulumi_snowflake/email_notification_integration.py +28 -26
- pulumi_snowflake/external_function.py +28 -52
- pulumi_snowflake/external_oauth_integration.py +35 -15
- pulumi_snowflake/external_table.py +28 -48
- pulumi_snowflake/failover_group.py +28 -72
- pulumi_snowflake/file_format.py +28 -26
- pulumi_snowflake/function.py +28 -4
- pulumi_snowflake/get_database_roles.py +61 -38
- pulumi_snowflake/get_users.py +96 -33
- pulumi_snowflake/get_views.py +92 -53
- pulumi_snowflake/grant_account_role.py +0 -4
- pulumi_snowflake/grant_application_role.py +0 -4
- pulumi_snowflake/grant_database_role.py +0 -4
- pulumi_snowflake/grant_privileges_to_account_role.py +4 -4
- pulumi_snowflake/grant_privileges_to_database_role.py +6 -2
- pulumi_snowflake/grant_privileges_to_share.py +49 -2
- pulumi_snowflake/managed_account.py +28 -4
- pulumi_snowflake/masking_policy.py +28 -84
- pulumi_snowflake/materialized_view.py +28 -34
- pulumi_snowflake/network_policy.py +35 -15
- pulumi_snowflake/network_policy_attachment.py +0 -30
- pulumi_snowflake/network_rule.py +28 -66
- pulumi_snowflake/notification_integration.py +28 -34
- pulumi_snowflake/oauth_integration.py +0 -34
- pulumi_snowflake/oauth_integration_for_custom_clients.py +35 -101
- pulumi_snowflake/oauth_integration_for_partner_applications.py +35 -15
- pulumi_snowflake/object_parameter.py +0 -98
- pulumi_snowflake/outputs.py +11648 -3842
- pulumi_snowflake/password_policy.py +28 -28
- pulumi_snowflake/pipe.py +28 -4
- pulumi_snowflake/procedure.py +28 -4
- pulumi_snowflake/provider.py +14 -14
- pulumi_snowflake/pulumi-plugin.json +1 -1
- pulumi_snowflake/resource_monitor.py +28 -48
- pulumi_snowflake/role.py +41 -36
- pulumi_snowflake/row_access_policy.py +28 -34
- pulumi_snowflake/saml2_integration.py +35 -15
- pulumi_snowflake/saml_integration.py +0 -34
- pulumi_snowflake/schema.py +39 -19
- pulumi_snowflake/scim_integration.py +35 -15
- pulumi_snowflake/secondary_database.py +35 -19
- pulumi_snowflake/sequence.py +4 -36
- pulumi_snowflake/session_parameter.py +0 -32
- pulumi_snowflake/share.py +28 -28
- pulumi_snowflake/shared_database.py +35 -15
- pulumi_snowflake/stage.py +28 -28
- pulumi_snowflake/storage_integration.py +28 -4
- pulumi_snowflake/stream.py +28 -4
- pulumi_snowflake/streamlit.py +36 -16
- pulumi_snowflake/table.py +28 -32
- pulumi_snowflake/table_column_masking_policy_application.py +2 -14
- pulumi_snowflake/table_constraint.py +0 -152
- pulumi_snowflake/tag.py +28 -40
- pulumi_snowflake/tag_association.py +0 -120
- pulumi_snowflake/tag_masking_policy_association.py +0 -4
- pulumi_snowflake/task.py +28 -92
- pulumi_snowflake/unsafe_execute.py +2 -20
- pulumi_snowflake/user.py +3341 -368
- pulumi_snowflake/user_password_policy_attachment.py +0 -36
- pulumi_snowflake/view.py +465 -185
- pulumi_snowflake/warehouse.py +35 -39
- {pulumi_snowflake-0.57.2.dist-info → pulumi_snowflake-0.58.0.dist-info}/METADATA +1 -1
- pulumi_snowflake-0.58.0.dist-info/RECORD +129 -0
- {pulumi_snowflake-0.57.2.dist-info → pulumi_snowflake-0.58.0.dist-info}/WHEEL +1 -1
- pulumi_snowflake-0.57.2.dist-info/RECORD +0 -129
- {pulumi_snowflake-0.57.2.dist-info → pulumi_snowflake-0.58.0.dist-info}/top_level.txt +0 -0
|
@@ -241,6 +241,7 @@ class _ResourceMonitorState:
|
|
|
241
241
|
credit_quota: Optional[pulumi.Input[int]] = None,
|
|
242
242
|
end_timestamp: Optional[pulumi.Input[str]] = None,
|
|
243
243
|
frequency: Optional[pulumi.Input[str]] = None,
|
|
244
|
+
fully_qualified_name: Optional[pulumi.Input[str]] = None,
|
|
244
245
|
name: Optional[pulumi.Input[str]] = None,
|
|
245
246
|
notify_triggers: Optional[pulumi.Input[Sequence[pulumi.Input[int]]]] = None,
|
|
246
247
|
notify_users: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
@@ -256,6 +257,7 @@ class _ResourceMonitorState:
|
|
|
256
257
|
:param pulumi.Input[int] credit_quota: The number of credits allocated monthly to the resource monitor.
|
|
257
258
|
:param pulumi.Input[str] end_timestamp: The date and time when the resource monitor suspends the assigned warehouses.
|
|
258
259
|
:param pulumi.Input[str] frequency: The frequency interval at which the credit usage resets to 0. If you set a frequency for a resource monitor, you must also set START_TIMESTAMP.
|
|
260
|
+
:param pulumi.Input[str] fully_qualified_name: Fully qualified name of the resource. For more information, see [object name resolution](https://docs.snowflake.com/en/sql-reference/name-resolution).
|
|
259
261
|
:param pulumi.Input[str] name: Identifier for the resource monitor; must be unique for your account.
|
|
260
262
|
:param pulumi.Input[Sequence[pulumi.Input[int]]] notify_triggers: A list of percentage thresholds at which to send an alert to subscribed users.
|
|
261
263
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] notify_users: Specifies the list of users to receive email notifications on resource monitors.
|
|
@@ -273,6 +275,8 @@ class _ResourceMonitorState:
|
|
|
273
275
|
pulumi.set(__self__, "end_timestamp", end_timestamp)
|
|
274
276
|
if frequency is not None:
|
|
275
277
|
pulumi.set(__self__, "frequency", frequency)
|
|
278
|
+
if fully_qualified_name is not None:
|
|
279
|
+
pulumi.set(__self__, "fully_qualified_name", fully_qualified_name)
|
|
276
280
|
if name is not None:
|
|
277
281
|
pulumi.set(__self__, "name", name)
|
|
278
282
|
if notify_triggers is not None:
|
|
@@ -336,6 +340,18 @@ class _ResourceMonitorState:
|
|
|
336
340
|
def frequency(self, value: Optional[pulumi.Input[str]]):
|
|
337
341
|
pulumi.set(self, "frequency", value)
|
|
338
342
|
|
|
343
|
+
@property
|
|
344
|
+
@pulumi.getter(name="fullyQualifiedName")
|
|
345
|
+
def fully_qualified_name(self) -> Optional[pulumi.Input[str]]:
|
|
346
|
+
"""
|
|
347
|
+
Fully qualified name of the resource. For more information, see [object name resolution](https://docs.snowflake.com/en/sql-reference/name-resolution).
|
|
348
|
+
"""
|
|
349
|
+
return pulumi.get(self, "fully_qualified_name")
|
|
350
|
+
|
|
351
|
+
@fully_qualified_name.setter
|
|
352
|
+
def fully_qualified_name(self, value: Optional[pulumi.Input[str]]):
|
|
353
|
+
pulumi.set(self, "fully_qualified_name", value)
|
|
354
|
+
|
|
339
355
|
@property
|
|
340
356
|
@pulumi.getter
|
|
341
357
|
def name(self) -> Optional[pulumi.Input[str]]:
|
|
@@ -479,30 +495,6 @@ class ResourceMonitor(pulumi.CustomResource):
|
|
|
479
495
|
warehouses: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
480
496
|
__props__=None):
|
|
481
497
|
"""
|
|
482
|
-
## Example Usage
|
|
483
|
-
|
|
484
|
-
```python
|
|
485
|
-
import pulumi
|
|
486
|
-
import pulumi_snowflake as snowflake
|
|
487
|
-
|
|
488
|
-
monitor = snowflake.ResourceMonitor("monitor",
|
|
489
|
-
name="monitor",
|
|
490
|
-
credit_quota=100,
|
|
491
|
-
frequency="DAILY",
|
|
492
|
-
start_timestamp="2020-12-07 00:00",
|
|
493
|
-
end_timestamp="2021-12-07 00:00",
|
|
494
|
-
notify_triggers=[
|
|
495
|
-
40,
|
|
496
|
-
50,
|
|
497
|
-
],
|
|
498
|
-
suspend_triggers=50,
|
|
499
|
-
suspend_immediate_triggers=90,
|
|
500
|
-
notify_users=[
|
|
501
|
-
"USERONE",
|
|
502
|
-
"USERTWO",
|
|
503
|
-
])
|
|
504
|
-
```
|
|
505
|
-
|
|
506
498
|
## Import
|
|
507
499
|
|
|
508
500
|
format is the resource monitor name
|
|
@@ -534,30 +526,6 @@ class ResourceMonitor(pulumi.CustomResource):
|
|
|
534
526
|
args: Optional[ResourceMonitorArgs] = None,
|
|
535
527
|
opts: Optional[pulumi.ResourceOptions] = None):
|
|
536
528
|
"""
|
|
537
|
-
## Example Usage
|
|
538
|
-
|
|
539
|
-
```python
|
|
540
|
-
import pulumi
|
|
541
|
-
import pulumi_snowflake as snowflake
|
|
542
|
-
|
|
543
|
-
monitor = snowflake.ResourceMonitor("monitor",
|
|
544
|
-
name="monitor",
|
|
545
|
-
credit_quota=100,
|
|
546
|
-
frequency="DAILY",
|
|
547
|
-
start_timestamp="2020-12-07 00:00",
|
|
548
|
-
end_timestamp="2021-12-07 00:00",
|
|
549
|
-
notify_triggers=[
|
|
550
|
-
40,
|
|
551
|
-
50,
|
|
552
|
-
],
|
|
553
|
-
suspend_triggers=50,
|
|
554
|
-
suspend_immediate_triggers=90,
|
|
555
|
-
notify_users=[
|
|
556
|
-
"USERONE",
|
|
557
|
-
"USERTWO",
|
|
558
|
-
])
|
|
559
|
-
```
|
|
560
|
-
|
|
561
529
|
## Import
|
|
562
530
|
|
|
563
531
|
format is the resource monitor name
|
|
@@ -616,6 +584,7 @@ class ResourceMonitor(pulumi.CustomResource):
|
|
|
616
584
|
__props__.__dict__["suspend_trigger"] = suspend_trigger
|
|
617
585
|
__props__.__dict__["suspend_triggers"] = suspend_triggers
|
|
618
586
|
__props__.__dict__["warehouses"] = warehouses
|
|
587
|
+
__props__.__dict__["fully_qualified_name"] = None
|
|
619
588
|
super(ResourceMonitor, __self__).__init__(
|
|
620
589
|
'snowflake:index/resourceMonitor:ResourceMonitor',
|
|
621
590
|
resource_name,
|
|
@@ -629,6 +598,7 @@ class ResourceMonitor(pulumi.CustomResource):
|
|
|
629
598
|
credit_quota: Optional[pulumi.Input[int]] = None,
|
|
630
599
|
end_timestamp: Optional[pulumi.Input[str]] = None,
|
|
631
600
|
frequency: Optional[pulumi.Input[str]] = None,
|
|
601
|
+
fully_qualified_name: Optional[pulumi.Input[str]] = None,
|
|
632
602
|
name: Optional[pulumi.Input[str]] = None,
|
|
633
603
|
notify_triggers: Optional[pulumi.Input[Sequence[pulumi.Input[int]]]] = None,
|
|
634
604
|
notify_users: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
@@ -649,6 +619,7 @@ class ResourceMonitor(pulumi.CustomResource):
|
|
|
649
619
|
:param pulumi.Input[int] credit_quota: The number of credits allocated monthly to the resource monitor.
|
|
650
620
|
:param pulumi.Input[str] end_timestamp: The date and time when the resource monitor suspends the assigned warehouses.
|
|
651
621
|
:param pulumi.Input[str] frequency: The frequency interval at which the credit usage resets to 0. If you set a frequency for a resource monitor, you must also set START_TIMESTAMP.
|
|
622
|
+
:param pulumi.Input[str] fully_qualified_name: Fully qualified name of the resource. For more information, see [object name resolution](https://docs.snowflake.com/en/sql-reference/name-resolution).
|
|
652
623
|
:param pulumi.Input[str] name: Identifier for the resource monitor; must be unique for your account.
|
|
653
624
|
:param pulumi.Input[Sequence[pulumi.Input[int]]] notify_triggers: A list of percentage thresholds at which to send an alert to subscribed users.
|
|
654
625
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] notify_users: Specifies the list of users to receive email notifications on resource monitors.
|
|
@@ -667,6 +638,7 @@ class ResourceMonitor(pulumi.CustomResource):
|
|
|
667
638
|
__props__.__dict__["credit_quota"] = credit_quota
|
|
668
639
|
__props__.__dict__["end_timestamp"] = end_timestamp
|
|
669
640
|
__props__.__dict__["frequency"] = frequency
|
|
641
|
+
__props__.__dict__["fully_qualified_name"] = fully_qualified_name
|
|
670
642
|
__props__.__dict__["name"] = name
|
|
671
643
|
__props__.__dict__["notify_triggers"] = notify_triggers
|
|
672
644
|
__props__.__dict__["notify_users"] = notify_users
|
|
@@ -703,6 +675,14 @@ class ResourceMonitor(pulumi.CustomResource):
|
|
|
703
675
|
"""
|
|
704
676
|
return pulumi.get(self, "frequency")
|
|
705
677
|
|
|
678
|
+
@property
|
|
679
|
+
@pulumi.getter(name="fullyQualifiedName")
|
|
680
|
+
def fully_qualified_name(self) -> pulumi.Output[str]:
|
|
681
|
+
"""
|
|
682
|
+
Fully qualified name of the resource. For more information, see [object name resolution](https://docs.snowflake.com/en/sql-reference/name-resolution).
|
|
683
|
+
"""
|
|
684
|
+
return pulumi.get(self, "fully_qualified_name")
|
|
685
|
+
|
|
706
686
|
@property
|
|
707
687
|
@pulumi.getter
|
|
708
688
|
def name(self) -> pulumi.Output[str]:
|
pulumi_snowflake/role.py
CHANGED
|
@@ -20,6 +20,7 @@ class RoleArgs:
|
|
|
20
20
|
name: Optional[pulumi.Input[str]] = None):
|
|
21
21
|
"""
|
|
22
22
|
The set of arguments for constructing a Role resource.
|
|
23
|
+
:param pulumi.Input[str] name: Identifier for the role; must be unique for your account. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `(`, `)`, `"`
|
|
23
24
|
"""
|
|
24
25
|
if comment is not None:
|
|
25
26
|
pulumi.set(__self__, "comment", comment)
|
|
@@ -38,6 +39,9 @@ class RoleArgs:
|
|
|
38
39
|
@property
|
|
39
40
|
@pulumi.getter
|
|
40
41
|
def name(self) -> Optional[pulumi.Input[str]]:
|
|
42
|
+
"""
|
|
43
|
+
Identifier for the role; must be unique for your account. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `(`, `)`, `"`
|
|
44
|
+
"""
|
|
41
45
|
return pulumi.get(self, "name")
|
|
42
46
|
|
|
43
47
|
@name.setter
|
|
@@ -49,14 +53,19 @@ class RoleArgs:
|
|
|
49
53
|
class _RoleState:
|
|
50
54
|
def __init__(__self__, *,
|
|
51
55
|
comment: Optional[pulumi.Input[str]] = None,
|
|
56
|
+
fully_qualified_name: Optional[pulumi.Input[str]] = None,
|
|
52
57
|
name: Optional[pulumi.Input[str]] = None,
|
|
53
58
|
show_outputs: Optional[pulumi.Input[Sequence[pulumi.Input['RoleShowOutputArgs']]]] = None):
|
|
54
59
|
"""
|
|
55
60
|
Input properties used for looking up and filtering Role resources.
|
|
61
|
+
:param pulumi.Input[str] fully_qualified_name: Fully qualified name of the resource. For more information, see [object name resolution](https://docs.snowflake.com/en/sql-reference/name-resolution).
|
|
62
|
+
:param pulumi.Input[str] name: Identifier for the role; must be unique for your account. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `(`, `)`, `"`
|
|
56
63
|
:param pulumi.Input[Sequence[pulumi.Input['RoleShowOutputArgs']]] show_outputs: Outputs the result of `SHOW ROLES` for the given role.
|
|
57
64
|
"""
|
|
58
65
|
if comment is not None:
|
|
59
66
|
pulumi.set(__self__, "comment", comment)
|
|
67
|
+
if fully_qualified_name is not None:
|
|
68
|
+
pulumi.set(__self__, "fully_qualified_name", fully_qualified_name)
|
|
60
69
|
if name is not None:
|
|
61
70
|
pulumi.set(__self__, "name", name)
|
|
62
71
|
if show_outputs is not None:
|
|
@@ -71,9 +80,24 @@ class _RoleState:
|
|
|
71
80
|
def comment(self, value: Optional[pulumi.Input[str]]):
|
|
72
81
|
pulumi.set(self, "comment", value)
|
|
73
82
|
|
|
83
|
+
@property
|
|
84
|
+
@pulumi.getter(name="fullyQualifiedName")
|
|
85
|
+
def fully_qualified_name(self) -> Optional[pulumi.Input[str]]:
|
|
86
|
+
"""
|
|
87
|
+
Fully qualified name of the resource. For more information, see [object name resolution](https://docs.snowflake.com/en/sql-reference/name-resolution).
|
|
88
|
+
"""
|
|
89
|
+
return pulumi.get(self, "fully_qualified_name")
|
|
90
|
+
|
|
91
|
+
@fully_qualified_name.setter
|
|
92
|
+
def fully_qualified_name(self, value: Optional[pulumi.Input[str]]):
|
|
93
|
+
pulumi.set(self, "fully_qualified_name", value)
|
|
94
|
+
|
|
74
95
|
@property
|
|
75
96
|
@pulumi.getter
|
|
76
97
|
def name(self) -> Optional[pulumi.Input[str]]:
|
|
98
|
+
"""
|
|
99
|
+
Identifier for the role; must be unique for your account. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `(`, `)`, `"`
|
|
100
|
+
"""
|
|
77
101
|
return pulumi.get(self, "name")
|
|
78
102
|
|
|
79
103
|
@name.setter
|
|
@@ -102,24 +126,6 @@ class Role(pulumi.CustomResource):
|
|
|
102
126
|
name: Optional[pulumi.Input[str]] = None,
|
|
103
127
|
__props__=None):
|
|
104
128
|
"""
|
|
105
|
-
> **Deprecation** This resource is deprecated and will be removed in a future major version release. Please use AccountRole instead. <deprecation>
|
|
106
|
-
|
|
107
|
-
The resource is used for role management, where roles can be assigned privileges and, in turn, granted to users and other roles. When granted to roles they can create hierarchies of privilege structures. For more details, refer to the [official documentation](https://docs.snowflake.com/en/user-guide/security-access-control-overview).
|
|
108
|
-
|
|
109
|
-
## Example Usage
|
|
110
|
-
|
|
111
|
-
```python
|
|
112
|
-
import pulumi
|
|
113
|
-
import pulumi_snowflake as snowflake
|
|
114
|
-
|
|
115
|
-
## Minimal
|
|
116
|
-
minimal = snowflake.Role("minimal", name="role_name")
|
|
117
|
-
## Complete (with every optional set)
|
|
118
|
-
complete = snowflake.Role("complete",
|
|
119
|
-
name="role_name",
|
|
120
|
-
comment="my account role")
|
|
121
|
-
```
|
|
122
|
-
|
|
123
129
|
## Import
|
|
124
130
|
|
|
125
131
|
```sh
|
|
@@ -128,6 +134,7 @@ class Role(pulumi.CustomResource):
|
|
|
128
134
|
|
|
129
135
|
:param str resource_name: The name of the resource.
|
|
130
136
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
137
|
+
:param pulumi.Input[str] name: Identifier for the role; must be unique for your account. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `(`, `)`, `"`
|
|
131
138
|
"""
|
|
132
139
|
...
|
|
133
140
|
@overload
|
|
@@ -136,24 +143,6 @@ class Role(pulumi.CustomResource):
|
|
|
136
143
|
args: Optional[RoleArgs] = None,
|
|
137
144
|
opts: Optional[pulumi.ResourceOptions] = None):
|
|
138
145
|
"""
|
|
139
|
-
> **Deprecation** This resource is deprecated and will be removed in a future major version release. Please use AccountRole instead. <deprecation>
|
|
140
|
-
|
|
141
|
-
The resource is used for role management, where roles can be assigned privileges and, in turn, granted to users and other roles. When granted to roles they can create hierarchies of privilege structures. For more details, refer to the [official documentation](https://docs.snowflake.com/en/user-guide/security-access-control-overview).
|
|
142
|
-
|
|
143
|
-
## Example Usage
|
|
144
|
-
|
|
145
|
-
```python
|
|
146
|
-
import pulumi
|
|
147
|
-
import pulumi_snowflake as snowflake
|
|
148
|
-
|
|
149
|
-
## Minimal
|
|
150
|
-
minimal = snowflake.Role("minimal", name="role_name")
|
|
151
|
-
## Complete (with every optional set)
|
|
152
|
-
complete = snowflake.Role("complete",
|
|
153
|
-
name="role_name",
|
|
154
|
-
comment="my account role")
|
|
155
|
-
```
|
|
156
|
-
|
|
157
146
|
## Import
|
|
158
147
|
|
|
159
148
|
```sh
|
|
@@ -188,6 +177,7 @@ class Role(pulumi.CustomResource):
|
|
|
188
177
|
|
|
189
178
|
__props__.__dict__["comment"] = comment
|
|
190
179
|
__props__.__dict__["name"] = name
|
|
180
|
+
__props__.__dict__["fully_qualified_name"] = None
|
|
191
181
|
__props__.__dict__["show_outputs"] = None
|
|
192
182
|
super(Role, __self__).__init__(
|
|
193
183
|
'snowflake:index/role:Role',
|
|
@@ -200,6 +190,7 @@ class Role(pulumi.CustomResource):
|
|
|
200
190
|
id: pulumi.Input[str],
|
|
201
191
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
202
192
|
comment: Optional[pulumi.Input[str]] = None,
|
|
193
|
+
fully_qualified_name: Optional[pulumi.Input[str]] = None,
|
|
203
194
|
name: Optional[pulumi.Input[str]] = None,
|
|
204
195
|
show_outputs: Optional[pulumi.Input[Sequence[pulumi.Input[Union['RoleShowOutputArgs', 'RoleShowOutputArgsDict']]]]] = None) -> 'Role':
|
|
205
196
|
"""
|
|
@@ -209,6 +200,8 @@ class Role(pulumi.CustomResource):
|
|
|
209
200
|
:param str resource_name: The unique name of the resulting resource.
|
|
210
201
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
211
202
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
203
|
+
:param pulumi.Input[str] fully_qualified_name: Fully qualified name of the resource. For more information, see [object name resolution](https://docs.snowflake.com/en/sql-reference/name-resolution).
|
|
204
|
+
:param pulumi.Input[str] name: Identifier for the role; must be unique for your account. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `(`, `)`, `"`
|
|
212
205
|
:param pulumi.Input[Sequence[pulumi.Input[Union['RoleShowOutputArgs', 'RoleShowOutputArgsDict']]]] show_outputs: Outputs the result of `SHOW ROLES` for the given role.
|
|
213
206
|
"""
|
|
214
207
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
@@ -216,6 +209,7 @@ class Role(pulumi.CustomResource):
|
|
|
216
209
|
__props__ = _RoleState.__new__(_RoleState)
|
|
217
210
|
|
|
218
211
|
__props__.__dict__["comment"] = comment
|
|
212
|
+
__props__.__dict__["fully_qualified_name"] = fully_qualified_name
|
|
219
213
|
__props__.__dict__["name"] = name
|
|
220
214
|
__props__.__dict__["show_outputs"] = show_outputs
|
|
221
215
|
return Role(resource_name, opts=opts, __props__=__props__)
|
|
@@ -225,9 +219,20 @@ class Role(pulumi.CustomResource):
|
|
|
225
219
|
def comment(self) -> pulumi.Output[Optional[str]]:
|
|
226
220
|
return pulumi.get(self, "comment")
|
|
227
221
|
|
|
222
|
+
@property
|
|
223
|
+
@pulumi.getter(name="fullyQualifiedName")
|
|
224
|
+
def fully_qualified_name(self) -> pulumi.Output[str]:
|
|
225
|
+
"""
|
|
226
|
+
Fully qualified name of the resource. For more information, see [object name resolution](https://docs.snowflake.com/en/sql-reference/name-resolution).
|
|
227
|
+
"""
|
|
228
|
+
return pulumi.get(self, "fully_qualified_name")
|
|
229
|
+
|
|
228
230
|
@property
|
|
229
231
|
@pulumi.getter
|
|
230
232
|
def name(self) -> pulumi.Output[str]:
|
|
233
|
+
"""
|
|
234
|
+
Identifier for the role; must be unique for your account. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `(`, `)`, `"`
|
|
235
|
+
"""
|
|
231
236
|
return pulumi.get(self, "name")
|
|
232
237
|
|
|
233
238
|
@property
|
|
@@ -116,6 +116,7 @@ class _RowAccessPolicyState:
|
|
|
116
116
|
def __init__(__self__, *,
|
|
117
117
|
comment: Optional[pulumi.Input[str]] = None,
|
|
118
118
|
database: Optional[pulumi.Input[str]] = None,
|
|
119
|
+
fully_qualified_name: Optional[pulumi.Input[str]] = None,
|
|
119
120
|
name: Optional[pulumi.Input[str]] = None,
|
|
120
121
|
row_access_expression: Optional[pulumi.Input[str]] = None,
|
|
121
122
|
schema: Optional[pulumi.Input[str]] = None,
|
|
@@ -124,6 +125,7 @@ class _RowAccessPolicyState:
|
|
|
124
125
|
Input properties used for looking up and filtering RowAccessPolicy resources.
|
|
125
126
|
:param pulumi.Input[str] comment: Specifies a comment for the row access policy.
|
|
126
127
|
:param pulumi.Input[str] database: The database in which to create the row access policy.
|
|
128
|
+
:param pulumi.Input[str] fully_qualified_name: Fully qualified name of the resource. For more information, see [object name resolution](https://docs.snowflake.com/en/sql-reference/name-resolution).
|
|
127
129
|
:param pulumi.Input[str] name: Specifies the identifier for the row access policy; must be unique for the database and schema in which the row access policy is created.
|
|
128
130
|
:param pulumi.Input[str] row_access_expression: Specifies the SQL expression. The expression can be any boolean-valued SQL expression.
|
|
129
131
|
:param pulumi.Input[str] schema: The schema in which to create the row access policy.
|
|
@@ -133,6 +135,8 @@ class _RowAccessPolicyState:
|
|
|
133
135
|
pulumi.set(__self__, "comment", comment)
|
|
134
136
|
if database is not None:
|
|
135
137
|
pulumi.set(__self__, "database", database)
|
|
138
|
+
if fully_qualified_name is not None:
|
|
139
|
+
pulumi.set(__self__, "fully_qualified_name", fully_qualified_name)
|
|
136
140
|
if name is not None:
|
|
137
141
|
pulumi.set(__self__, "name", name)
|
|
138
142
|
if row_access_expression is not None:
|
|
@@ -166,6 +170,18 @@ class _RowAccessPolicyState:
|
|
|
166
170
|
def database(self, value: Optional[pulumi.Input[str]]):
|
|
167
171
|
pulumi.set(self, "database", value)
|
|
168
172
|
|
|
173
|
+
@property
|
|
174
|
+
@pulumi.getter(name="fullyQualifiedName")
|
|
175
|
+
def fully_qualified_name(self) -> Optional[pulumi.Input[str]]:
|
|
176
|
+
"""
|
|
177
|
+
Fully qualified name of the resource. For more information, see [object name resolution](https://docs.snowflake.com/en/sql-reference/name-resolution).
|
|
178
|
+
"""
|
|
179
|
+
return pulumi.get(self, "fully_qualified_name")
|
|
180
|
+
|
|
181
|
+
@fully_qualified_name.setter
|
|
182
|
+
def fully_qualified_name(self, value: Optional[pulumi.Input[str]]):
|
|
183
|
+
pulumi.set(self, "fully_qualified_name", value)
|
|
184
|
+
|
|
169
185
|
@property
|
|
170
186
|
@pulumi.getter
|
|
171
187
|
def name(self) -> Optional[pulumi.Input[str]]:
|
|
@@ -228,23 +244,6 @@ class RowAccessPolicy(pulumi.CustomResource):
|
|
|
228
244
|
signature: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
|
229
245
|
__props__=None):
|
|
230
246
|
"""
|
|
231
|
-
## Example Usage
|
|
232
|
-
|
|
233
|
-
```python
|
|
234
|
-
import pulumi
|
|
235
|
-
import pulumi_snowflake as snowflake
|
|
236
|
-
|
|
237
|
-
example_row_access_policy = snowflake.RowAccessPolicy("example_row_access_policy",
|
|
238
|
-
name="EXAMPLE_ROW_ACCESS_POLICY",
|
|
239
|
-
database="EXAMPLE_DB",
|
|
240
|
-
schema="EXAMPLE_SCHEMA",
|
|
241
|
-
signature={
|
|
242
|
-
"A": "VARCHAR",
|
|
243
|
-
"B": "VARCHAR",
|
|
244
|
-
},
|
|
245
|
-
row_access_expression="case when current_role() in ('ANALYST') then true else false end")
|
|
246
|
-
```
|
|
247
|
-
|
|
248
247
|
## Import
|
|
249
248
|
|
|
250
249
|
format is database name | schema name | policy name
|
|
@@ -269,23 +268,6 @@ class RowAccessPolicy(pulumi.CustomResource):
|
|
|
269
268
|
args: RowAccessPolicyArgs,
|
|
270
269
|
opts: Optional[pulumi.ResourceOptions] = None):
|
|
271
270
|
"""
|
|
272
|
-
## Example Usage
|
|
273
|
-
|
|
274
|
-
```python
|
|
275
|
-
import pulumi
|
|
276
|
-
import pulumi_snowflake as snowflake
|
|
277
|
-
|
|
278
|
-
example_row_access_policy = snowflake.RowAccessPolicy("example_row_access_policy",
|
|
279
|
-
name="EXAMPLE_ROW_ACCESS_POLICY",
|
|
280
|
-
database="EXAMPLE_DB",
|
|
281
|
-
schema="EXAMPLE_SCHEMA",
|
|
282
|
-
signature={
|
|
283
|
-
"A": "VARCHAR",
|
|
284
|
-
"B": "VARCHAR",
|
|
285
|
-
},
|
|
286
|
-
row_access_expression="case when current_role() in ('ANALYST') then true else false end")
|
|
287
|
-
```
|
|
288
|
-
|
|
289
271
|
## Import
|
|
290
272
|
|
|
291
273
|
format is database name | schema name | policy name
|
|
@@ -338,6 +320,7 @@ class RowAccessPolicy(pulumi.CustomResource):
|
|
|
338
320
|
if signature is None and not opts.urn:
|
|
339
321
|
raise TypeError("Missing required property 'signature'")
|
|
340
322
|
__props__.__dict__["signature"] = signature
|
|
323
|
+
__props__.__dict__["fully_qualified_name"] = None
|
|
341
324
|
super(RowAccessPolicy, __self__).__init__(
|
|
342
325
|
'snowflake:index/rowAccessPolicy:RowAccessPolicy',
|
|
343
326
|
resource_name,
|
|
@@ -350,6 +333,7 @@ class RowAccessPolicy(pulumi.CustomResource):
|
|
|
350
333
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
351
334
|
comment: Optional[pulumi.Input[str]] = None,
|
|
352
335
|
database: Optional[pulumi.Input[str]] = None,
|
|
336
|
+
fully_qualified_name: Optional[pulumi.Input[str]] = None,
|
|
353
337
|
name: Optional[pulumi.Input[str]] = None,
|
|
354
338
|
row_access_expression: Optional[pulumi.Input[str]] = None,
|
|
355
339
|
schema: Optional[pulumi.Input[str]] = None,
|
|
@@ -363,6 +347,7 @@ class RowAccessPolicy(pulumi.CustomResource):
|
|
|
363
347
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
364
348
|
:param pulumi.Input[str] comment: Specifies a comment for the row access policy.
|
|
365
349
|
:param pulumi.Input[str] database: The database in which to create the row access policy.
|
|
350
|
+
:param pulumi.Input[str] fully_qualified_name: Fully qualified name of the resource. For more information, see [object name resolution](https://docs.snowflake.com/en/sql-reference/name-resolution).
|
|
366
351
|
:param pulumi.Input[str] name: Specifies the identifier for the row access policy; must be unique for the database and schema in which the row access policy is created.
|
|
367
352
|
:param pulumi.Input[str] row_access_expression: Specifies the SQL expression. The expression can be any boolean-valued SQL expression.
|
|
368
353
|
:param pulumi.Input[str] schema: The schema in which to create the row access policy.
|
|
@@ -374,6 +359,7 @@ class RowAccessPolicy(pulumi.CustomResource):
|
|
|
374
359
|
|
|
375
360
|
__props__.__dict__["comment"] = comment
|
|
376
361
|
__props__.__dict__["database"] = database
|
|
362
|
+
__props__.__dict__["fully_qualified_name"] = fully_qualified_name
|
|
377
363
|
__props__.__dict__["name"] = name
|
|
378
364
|
__props__.__dict__["row_access_expression"] = row_access_expression
|
|
379
365
|
__props__.__dict__["schema"] = schema
|
|
@@ -396,6 +382,14 @@ class RowAccessPolicy(pulumi.CustomResource):
|
|
|
396
382
|
"""
|
|
397
383
|
return pulumi.get(self, "database")
|
|
398
384
|
|
|
385
|
+
@property
|
|
386
|
+
@pulumi.getter(name="fullyQualifiedName")
|
|
387
|
+
def fully_qualified_name(self) -> pulumi.Output[str]:
|
|
388
|
+
"""
|
|
389
|
+
Fully qualified name of the resource. For more information, see [object name resolution](https://docs.snowflake.com/en/sql-reference/name-resolution).
|
|
390
|
+
"""
|
|
391
|
+
return pulumi.get(self, "fully_qualified_name")
|
|
392
|
+
|
|
399
393
|
@property
|
|
400
394
|
@pulumi.getter
|
|
401
395
|
def name(self) -> pulumi.Output[str]:
|
|
@@ -43,7 +43,7 @@ class Saml2IntegrationArgs:
|
|
|
43
43
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] allowed_user_domains: A list of email domains that can authenticate with a SAML2 security integration. If this field changes value from non-empty to empty, the whole resource is recreated because of Snowflake limitations.
|
|
44
44
|
:param pulumi.Input[str] comment: Specifies a comment for the integration.
|
|
45
45
|
:param pulumi.Input[str] enabled: Specifies whether this security integration is enabled or disabled. Available options are: "true" or "false". When the value is not set in the configuration the provider will put "default" there which means to use the Snowflake default for this value.
|
|
46
|
-
:param pulumi.Input[str] name: Specifies the name of the SAML2 integration. This name follows the rules for Object Identifiers. The name should be unique among security integrations in your account.
|
|
46
|
+
:param pulumi.Input[str] name: Specifies the name of the SAML2 integration. This name follows the rules for Object Identifiers. The name should be unique among security integrations in your account. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `(`, `)`, `"`
|
|
47
47
|
:param pulumi.Input[str] saml2_enable_sp_initiated: The Boolean indicating if the Log In With button will be shown on the login page. TRUE: displays the Log in With button on the login page. FALSE: does not display the Log in With button on the login page. Available options are: "true" or "false". When the value is not set in the configuration the provider will put "default" there which means to use the Snowflake default for this value.
|
|
48
48
|
:param pulumi.Input[str] saml2_force_authn: The Boolean indicating whether users, during the initial authentication flow, are forced to authenticate again to access Snowflake. When set to TRUE, Snowflake sets the ForceAuthn SAML parameter to TRUE in the outgoing request from Snowflake to the identity provider. TRUE: forces users to authenticate again to access Snowflake, even if a valid session with the identity provider exists. FALSE: does not force users to authenticate again to access Snowflake. Available options are: "true" or "false". When the value is not set in the configuration the provider will put "default" there which means to use the Snowflake default for this value.
|
|
49
49
|
:param pulumi.Input[str] saml2_post_logout_redirect_url: The endpoint to which Snowflake redirects users after clicking the Log Out button in the classic Snowflake web interface. Snowflake terminates the Snowflake session upon redirecting to the specified endpoint.
|
|
@@ -184,7 +184,7 @@ class Saml2IntegrationArgs:
|
|
|
184
184
|
@pulumi.getter
|
|
185
185
|
def name(self) -> Optional[pulumi.Input[str]]:
|
|
186
186
|
"""
|
|
187
|
-
Specifies the name of the SAML2 integration. This name follows the rules for Object Identifiers. The name should be unique among security integrations in your account.
|
|
187
|
+
Specifies the name of the SAML2 integration. This name follows the rules for Object Identifiers. The name should be unique among security integrations in your account. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `(`, `)`, `"`
|
|
188
188
|
"""
|
|
189
189
|
return pulumi.get(self, "name")
|
|
190
190
|
|
|
@@ -297,6 +297,7 @@ class _Saml2IntegrationState:
|
|
|
297
297
|
comment: Optional[pulumi.Input[str]] = None,
|
|
298
298
|
describe_outputs: Optional[pulumi.Input[Sequence[pulumi.Input['Saml2IntegrationDescribeOutputArgs']]]] = None,
|
|
299
299
|
enabled: Optional[pulumi.Input[str]] = None,
|
|
300
|
+
fully_qualified_name: Optional[pulumi.Input[str]] = None,
|
|
300
301
|
name: Optional[pulumi.Input[str]] = None,
|
|
301
302
|
saml2_enable_sp_initiated: Optional[pulumi.Input[str]] = None,
|
|
302
303
|
saml2_force_authn: Optional[pulumi.Input[str]] = None,
|
|
@@ -318,7 +319,8 @@ class _Saml2IntegrationState:
|
|
|
318
319
|
:param pulumi.Input[str] comment: Specifies a comment for the integration.
|
|
319
320
|
:param pulumi.Input[Sequence[pulumi.Input['Saml2IntegrationDescribeOutputArgs']]] describe_outputs: Outputs the result of `DESCRIBE SECURITY INTEGRATION` for the given integration.
|
|
320
321
|
:param pulumi.Input[str] enabled: Specifies whether this security integration is enabled or disabled. Available options are: "true" or "false". When the value is not set in the configuration the provider will put "default" there which means to use the Snowflake default for this value.
|
|
321
|
-
:param pulumi.Input[str]
|
|
322
|
+
:param pulumi.Input[str] fully_qualified_name: Fully qualified name of the resource. For more information, see [object name resolution](https://docs.snowflake.com/en/sql-reference/name-resolution).
|
|
323
|
+
:param pulumi.Input[str] name: Specifies the name of the SAML2 integration. This name follows the rules for Object Identifiers. The name should be unique among security integrations in your account. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `(`, `)`, `"`
|
|
322
324
|
:param pulumi.Input[str] saml2_enable_sp_initiated: The Boolean indicating if the Log In With button will be shown on the login page. TRUE: displays the Log in With button on the login page. FALSE: does not display the Log in With button on the login page. Available options are: "true" or "false". When the value is not set in the configuration the provider will put "default" there which means to use the Snowflake default for this value.
|
|
323
325
|
:param pulumi.Input[str] saml2_force_authn: The Boolean indicating whether users, during the initial authentication flow, are forced to authenticate again to access Snowflake. When set to TRUE, Snowflake sets the ForceAuthn SAML parameter to TRUE in the outgoing request from Snowflake to the identity provider. TRUE: forces users to authenticate again to access Snowflake, even if a valid session with the identity provider exists. FALSE: does not force users to authenticate again to access Snowflake. Available options are: "true" or "false". When the value is not set in the configuration the provider will put "default" there which means to use the Snowflake default for this value.
|
|
324
326
|
:param pulumi.Input[str] saml2_issuer: The string containing the IdP EntityID / Issuer.
|
|
@@ -343,6 +345,8 @@ class _Saml2IntegrationState:
|
|
|
343
345
|
pulumi.set(__self__, "describe_outputs", describe_outputs)
|
|
344
346
|
if enabled is not None:
|
|
345
347
|
pulumi.set(__self__, "enabled", enabled)
|
|
348
|
+
if fully_qualified_name is not None:
|
|
349
|
+
pulumi.set(__self__, "fully_qualified_name", fully_qualified_name)
|
|
346
350
|
if name is not None:
|
|
347
351
|
pulumi.set(__self__, "name", name)
|
|
348
352
|
if saml2_enable_sp_initiated is not None:
|
|
@@ -432,11 +436,23 @@ class _Saml2IntegrationState:
|
|
|
432
436
|
def enabled(self, value: Optional[pulumi.Input[str]]):
|
|
433
437
|
pulumi.set(self, "enabled", value)
|
|
434
438
|
|
|
439
|
+
@property
|
|
440
|
+
@pulumi.getter(name="fullyQualifiedName")
|
|
441
|
+
def fully_qualified_name(self) -> Optional[pulumi.Input[str]]:
|
|
442
|
+
"""
|
|
443
|
+
Fully qualified name of the resource. For more information, see [object name resolution](https://docs.snowflake.com/en/sql-reference/name-resolution).
|
|
444
|
+
"""
|
|
445
|
+
return pulumi.get(self, "fully_qualified_name")
|
|
446
|
+
|
|
447
|
+
@fully_qualified_name.setter
|
|
448
|
+
def fully_qualified_name(self, value: Optional[pulumi.Input[str]]):
|
|
449
|
+
pulumi.set(self, "fully_qualified_name", value)
|
|
450
|
+
|
|
435
451
|
@property
|
|
436
452
|
@pulumi.getter
|
|
437
453
|
def name(self) -> Optional[pulumi.Input[str]]:
|
|
438
454
|
"""
|
|
439
|
-
Specifies the name of the SAML2 integration. This name follows the rules for Object Identifiers. The name should be unique among security integrations in your account.
|
|
455
|
+
Specifies the name of the SAML2 integration. This name follows the rules for Object Identifiers. The name should be unique among security integrations in your account. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `(`, `)`, `"`
|
|
440
456
|
"""
|
|
441
457
|
return pulumi.get(self, "name")
|
|
442
458
|
|
|
@@ -625,10 +641,6 @@ class Saml2Integration(pulumi.CustomResource):
|
|
|
625
641
|
saml2_x509_cert: Optional[pulumi.Input[str]] = None,
|
|
626
642
|
__props__=None):
|
|
627
643
|
"""
|
|
628
|
-
!> **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.
|
|
629
|
-
|
|
630
|
-
Resource used to manage saml2 security integration objects. For more information, check [security integrations documentation](https://docs.snowflake.com/en/sql-reference/sql/create-security-integration-saml2).
|
|
631
|
-
|
|
632
644
|
## Import
|
|
633
645
|
|
|
634
646
|
```sh
|
|
@@ -641,7 +653,7 @@ class Saml2Integration(pulumi.CustomResource):
|
|
|
641
653
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] allowed_user_domains: A list of email domains that can authenticate with a SAML2 security integration. If this field changes value from non-empty to empty, the whole resource is recreated because of Snowflake limitations.
|
|
642
654
|
:param pulumi.Input[str] comment: Specifies a comment for the integration.
|
|
643
655
|
:param pulumi.Input[str] enabled: Specifies whether this security integration is enabled or disabled. Available options are: "true" or "false". When the value is not set in the configuration the provider will put "default" there which means to use the Snowflake default for this value.
|
|
644
|
-
:param pulumi.Input[str] name: Specifies the name of the SAML2 integration. This name follows the rules for Object Identifiers. The name should be unique among security integrations in your account.
|
|
656
|
+
:param pulumi.Input[str] name: Specifies the name of the SAML2 integration. This name follows the rules for Object Identifiers. The name should be unique among security integrations in your account. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `(`, `)`, `"`
|
|
645
657
|
:param pulumi.Input[str] saml2_enable_sp_initiated: The Boolean indicating if the Log In With button will be shown on the login page. TRUE: displays the Log in With button on the login page. FALSE: does not display the Log in With button on the login page. Available options are: "true" or "false". When the value is not set in the configuration the provider will put "default" there which means to use the Snowflake default for this value.
|
|
646
658
|
:param pulumi.Input[str] saml2_force_authn: The Boolean indicating whether users, during the initial authentication flow, are forced to authenticate again to access Snowflake. When set to TRUE, Snowflake sets the ForceAuthn SAML parameter to TRUE in the outgoing request from Snowflake to the identity provider. TRUE: forces users to authenticate again to access Snowflake, even if a valid session with the identity provider exists. FALSE: does not force users to authenticate again to access Snowflake. Available options are: "true" or "false". When the value is not set in the configuration the provider will put "default" there which means to use the Snowflake default for this value.
|
|
647
659
|
:param pulumi.Input[str] saml2_issuer: The string containing the IdP EntityID / Issuer.
|
|
@@ -662,10 +674,6 @@ class Saml2Integration(pulumi.CustomResource):
|
|
|
662
674
|
args: Saml2IntegrationArgs,
|
|
663
675
|
opts: Optional[pulumi.ResourceOptions] = None):
|
|
664
676
|
"""
|
|
665
|
-
!> **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.
|
|
666
|
-
|
|
667
|
-
Resource used to manage saml2 security integration objects. For more information, check [security integrations documentation](https://docs.snowflake.com/en/sql-reference/sql/create-security-integration-saml2).
|
|
668
|
-
|
|
669
677
|
## Import
|
|
670
678
|
|
|
671
679
|
```sh
|
|
@@ -739,6 +747,7 @@ class Saml2Integration(pulumi.CustomResource):
|
|
|
739
747
|
raise TypeError("Missing required property 'saml2_x509_cert'")
|
|
740
748
|
__props__.__dict__["saml2_x509_cert"] = saml2_x509_cert
|
|
741
749
|
__props__.__dict__["describe_outputs"] = None
|
|
750
|
+
__props__.__dict__["fully_qualified_name"] = None
|
|
742
751
|
__props__.__dict__["show_outputs"] = None
|
|
743
752
|
super(Saml2Integration, __self__).__init__(
|
|
744
753
|
'snowflake:index/saml2Integration:Saml2Integration',
|
|
@@ -755,6 +764,7 @@ class Saml2Integration(pulumi.CustomResource):
|
|
|
755
764
|
comment: Optional[pulumi.Input[str]] = None,
|
|
756
765
|
describe_outputs: Optional[pulumi.Input[Sequence[pulumi.Input[Union['Saml2IntegrationDescribeOutputArgs', 'Saml2IntegrationDescribeOutputArgsDict']]]]] = None,
|
|
757
766
|
enabled: Optional[pulumi.Input[str]] = None,
|
|
767
|
+
fully_qualified_name: Optional[pulumi.Input[str]] = None,
|
|
758
768
|
name: Optional[pulumi.Input[str]] = None,
|
|
759
769
|
saml2_enable_sp_initiated: Optional[pulumi.Input[str]] = None,
|
|
760
770
|
saml2_force_authn: Optional[pulumi.Input[str]] = None,
|
|
@@ -781,7 +791,8 @@ class Saml2Integration(pulumi.CustomResource):
|
|
|
781
791
|
:param pulumi.Input[str] comment: Specifies a comment for the integration.
|
|
782
792
|
:param pulumi.Input[Sequence[pulumi.Input[Union['Saml2IntegrationDescribeOutputArgs', 'Saml2IntegrationDescribeOutputArgsDict']]]] describe_outputs: Outputs the result of `DESCRIBE SECURITY INTEGRATION` for the given integration.
|
|
783
793
|
:param pulumi.Input[str] enabled: Specifies whether this security integration is enabled or disabled. Available options are: "true" or "false". When the value is not set in the configuration the provider will put "default" there which means to use the Snowflake default for this value.
|
|
784
|
-
:param pulumi.Input[str]
|
|
794
|
+
:param pulumi.Input[str] fully_qualified_name: Fully qualified name of the resource. For more information, see [object name resolution](https://docs.snowflake.com/en/sql-reference/name-resolution).
|
|
795
|
+
:param pulumi.Input[str] name: Specifies the name of the SAML2 integration. This name follows the rules for Object Identifiers. The name should be unique among security integrations in your account. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `(`, `)`, `"`
|
|
785
796
|
:param pulumi.Input[str] saml2_enable_sp_initiated: The Boolean indicating if the Log In With button will be shown on the login page. TRUE: displays the Log in With button on the login page. FALSE: does not display the Log in With button on the login page. Available options are: "true" or "false". When the value is not set in the configuration the provider will put "default" there which means to use the Snowflake default for this value.
|
|
786
797
|
:param pulumi.Input[str] saml2_force_authn: The Boolean indicating whether users, during the initial authentication flow, are forced to authenticate again to access Snowflake. When set to TRUE, Snowflake sets the ForceAuthn SAML parameter to TRUE in the outgoing request from Snowflake to the identity provider. TRUE: forces users to authenticate again to access Snowflake, even if a valid session with the identity provider exists. FALSE: does not force users to authenticate again to access Snowflake. Available options are: "true" or "false". When the value is not set in the configuration the provider will put "default" there which means to use the Snowflake default for this value.
|
|
787
798
|
:param pulumi.Input[str] saml2_issuer: The string containing the IdP EntityID / Issuer.
|
|
@@ -805,6 +816,7 @@ class Saml2Integration(pulumi.CustomResource):
|
|
|
805
816
|
__props__.__dict__["comment"] = comment
|
|
806
817
|
__props__.__dict__["describe_outputs"] = describe_outputs
|
|
807
818
|
__props__.__dict__["enabled"] = enabled
|
|
819
|
+
__props__.__dict__["fully_qualified_name"] = fully_qualified_name
|
|
808
820
|
__props__.__dict__["name"] = name
|
|
809
821
|
__props__.__dict__["saml2_enable_sp_initiated"] = saml2_enable_sp_initiated
|
|
810
822
|
__props__.__dict__["saml2_force_authn"] = saml2_force_authn
|
|
@@ -861,11 +873,19 @@ class Saml2Integration(pulumi.CustomResource):
|
|
|
861
873
|
"""
|
|
862
874
|
return pulumi.get(self, "enabled")
|
|
863
875
|
|
|
876
|
+
@property
|
|
877
|
+
@pulumi.getter(name="fullyQualifiedName")
|
|
878
|
+
def fully_qualified_name(self) -> pulumi.Output[str]:
|
|
879
|
+
"""
|
|
880
|
+
Fully qualified name of the resource. For more information, see [object name resolution](https://docs.snowflake.com/en/sql-reference/name-resolution).
|
|
881
|
+
"""
|
|
882
|
+
return pulumi.get(self, "fully_qualified_name")
|
|
883
|
+
|
|
864
884
|
@property
|
|
865
885
|
@pulumi.getter
|
|
866
886
|
def name(self) -> pulumi.Output[str]:
|
|
867
887
|
"""
|
|
868
|
-
Specifies the name of the SAML2 integration. This name follows the rules for Object Identifiers. The name should be unique among security integrations in your account.
|
|
888
|
+
Specifies the name of the SAML2 integration. This name follows the rules for Object Identifiers. The name should be unique among security integrations in your account. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `(`, `)`, `"`
|
|
869
889
|
"""
|
|
870
890
|
return pulumi.get(self, "name")
|
|
871
891
|
|