pulumi-snowflake 2.3.0a1752907264__py3-none-any.whl → 2.3.0a1753398370__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of pulumi-snowflake might be problematic. Click here for more details.
- pulumi_snowflake/__init__.py +1 -1
- pulumi_snowflake/_inputs.py +16796 -16797
- pulumi_snowflake/account.py +252 -253
- pulumi_snowflake/account_authentication_policy_attachment.py +18 -19
- pulumi_snowflake/account_parameter.py +35 -36
- pulumi_snowflake/account_password_policy_attachment.py +18 -19
- pulumi_snowflake/account_role.py +42 -43
- pulumi_snowflake/alert.py +149 -150
- pulumi_snowflake/api_authentication_integration_with_authorization_code_grant.py +197 -198
- pulumi_snowflake/api_authentication_integration_with_client_credentials.py +180 -181
- pulumi_snowflake/api_authentication_integration_with_jwt_bearer.py +193 -194
- pulumi_snowflake/api_integration.py +251 -252
- pulumi_snowflake/authentication_policy.py +167 -168
- pulumi_snowflake/compute_pool.py +167 -168
- pulumi_snowflake/config/__init__.py +1 -1
- pulumi_snowflake/config/__init__.pyi +1 -2
- pulumi_snowflake/config/outputs.py +21 -22
- pulumi_snowflake/config/vars.py +43 -44
- pulumi_snowflake/cortex_search_service.py +191 -192
- pulumi_snowflake/current_account.py +2088 -2089
- pulumi_snowflake/database.py +353 -354
- pulumi_snowflake/database_role.py +63 -64
- pulumi_snowflake/dynamic_table.py +274 -275
- pulumi_snowflake/email_notification_integration.py +70 -71
- pulumi_snowflake/execute.py +61 -62
- pulumi_snowflake/external_function.py +280 -281
- pulumi_snowflake/external_oauth_integration.py +288 -289
- pulumi_snowflake/external_table.py +246 -247
- pulumi_snowflake/external_volume.py +68 -69
- pulumi_snowflake/failover_group.py +135 -136
- pulumi_snowflake/file_format.py +622 -623
- pulumi_snowflake/function_java.py +320 -321
- pulumi_snowflake/function_javascript.py +243 -244
- pulumi_snowflake/function_python.py +334 -335
- pulumi_snowflake/function_scala.py +320 -321
- pulumi_snowflake/function_sql.py +226 -227
- pulumi_snowflake/get_account_roles.py +16 -17
- pulumi_snowflake/get_accounts.py +16 -17
- pulumi_snowflake/get_alerts.py +22 -23
- pulumi_snowflake/get_compute_pools.py +23 -24
- pulumi_snowflake/get_connections.py +10 -11
- pulumi_snowflake/get_cortex_search_services.py +18 -19
- pulumi_snowflake/get_current_account.py +9 -10
- pulumi_snowflake/get_current_role.py +5 -6
- pulumi_snowflake/get_database.py +25 -26
- pulumi_snowflake/get_database_role.py +19 -20
- pulumi_snowflake/get_database_roles.py +17 -18
- pulumi_snowflake/get_databases.py +29 -30
- pulumi_snowflake/get_dynamic_tables.py +13 -14
- pulumi_snowflake/get_external_functions.py +16 -17
- pulumi_snowflake/get_external_tables.py +16 -17
- pulumi_snowflake/get_failover_groups.py +10 -11
- pulumi_snowflake/get_file_formats.py +16 -17
- pulumi_snowflake/get_functions.py +16 -17
- pulumi_snowflake/get_git_repositories.py +18 -19
- pulumi_snowflake/get_grants.py +9 -10
- pulumi_snowflake/get_image_repositories.py +11 -12
- pulumi_snowflake/get_masking_policies.py +18 -19
- pulumi_snowflake/get_materialized_views.py +16 -17
- pulumi_snowflake/get_network_policies.py +16 -17
- pulumi_snowflake/get_parameters.py +34 -35
- pulumi_snowflake/get_pipes.py +16 -17
- pulumi_snowflake/get_procedures.py +16 -17
- pulumi_snowflake/get_resource_monitors.py +10 -11
- pulumi_snowflake/get_row_access_policies.py +18 -19
- pulumi_snowflake/get_schemas.py +30 -31
- pulumi_snowflake/get_secrets.py +17 -18
- pulumi_snowflake/get_security_integrations.py +16 -17
- pulumi_snowflake/get_sequences.py +16 -17
- pulumi_snowflake/get_services.py +30 -31
- pulumi_snowflake/get_shares.py +10 -11
- pulumi_snowflake/get_stages.py +16 -17
- pulumi_snowflake/get_storage_integrations.py +4 -5
- pulumi_snowflake/get_streamlits.py +18 -19
- pulumi_snowflake/get_streams.py +24 -25
- pulumi_snowflake/get_system_generate_scim_access_token.py +11 -12
- pulumi_snowflake/get_system_get_aws_sns_iam_policy.py +11 -12
- pulumi_snowflake/get_system_get_private_link_config.py +21 -22
- pulumi_snowflake/get_system_get_snowflake_platform_info.py +7 -8
- pulumi_snowflake/get_tables.py +24 -25
- pulumi_snowflake/get_tags.py +11 -12
- pulumi_snowflake/get_tasks.py +30 -31
- pulumi_snowflake/get_users.py +29 -30
- pulumi_snowflake/get_views.py +24 -25
- pulumi_snowflake/get_warehouses.py +22 -23
- pulumi_snowflake/git_repository.py +133 -134
- pulumi_snowflake/grant_account_role.py +52 -53
- pulumi_snowflake/grant_application_role.py +52 -53
- pulumi_snowflake/grant_database_role.py +69 -70
- pulumi_snowflake/grant_ownership.py +55 -56
- pulumi_snowflake/grant_privileges_to_account_role.py +125 -126
- pulumi_snowflake/grant_privileges_to_database_role.py +122 -123
- pulumi_snowflake/grant_privileges_to_share.py +154 -155
- pulumi_snowflake/image_repository.py +80 -81
- pulumi_snowflake/job_service.py +148 -149
- pulumi_snowflake/legacy_service_user.py +1269 -1270
- pulumi_snowflake/managed_account.py +140 -141
- pulumi_snowflake/masking_policy.py +136 -137
- pulumi_snowflake/materialized_view.py +149 -150
- pulumi_snowflake/network_policy.py +116 -117
- pulumi_snowflake/network_policy_attachment.py +52 -53
- pulumi_snowflake/network_rule.py +129 -130
- pulumi_snowflake/notification_integration.py +298 -299
- pulumi_snowflake/oauth_integration_for_custom_clients.py +263 -264
- pulumi_snowflake/oauth_integration_for_partner_applications.py +169 -170
- pulumi_snowflake/object_parameter.py +72 -73
- pulumi_snowflake/outputs.py +15510 -15511
- pulumi_snowflake/password_policy.py +299 -300
- pulumi_snowflake/pipe.py +181 -182
- pulumi_snowflake/primary_connection.py +70 -71
- pulumi_snowflake/procedure_java.py +341 -342
- pulumi_snowflake/procedure_javascript.py +247 -248
- pulumi_snowflake/procedure_python.py +338 -339
- pulumi_snowflake/procedure_scala.py +341 -342
- pulumi_snowflake/procedure_sql.py +247 -248
- pulumi_snowflake/provider.py +377 -378
- pulumi_snowflake/pulumi-plugin.json +1 -1
- pulumi_snowflake/resource_monitor.py +165 -166
- pulumi_snowflake/row_access_policy.py +102 -103
- pulumi_snowflake/saml2_integration.py +303 -304
- pulumi_snowflake/schema.py +390 -391
- pulumi_snowflake/scim_integration.py +133 -134
- pulumi_snowflake/secondary_connection.py +72 -73
- pulumi_snowflake/secondary_database.py +350 -351
- pulumi_snowflake/secret_with_authorization_code_grant.py +138 -139
- pulumi_snowflake/secret_with_basic_authentication.py +121 -122
- pulumi_snowflake/secret_with_client_credentials.py +125 -126
- pulumi_snowflake/secret_with_generic_string.py +104 -105
- pulumi_snowflake/sequence.py +121 -122
- pulumi_snowflake/service.py +233 -234
- pulumi_snowflake/service_user.py +1239 -1240
- pulumi_snowflake/share.py +61 -62
- pulumi_snowflake/shared_database.py +299 -300
- pulumi_snowflake/stage.py +234 -235
- pulumi_snowflake/storage_integration.py +230 -231
- pulumi_snowflake/stream_on_directory_table.py +128 -129
- pulumi_snowflake/stream_on_external_table.py +151 -152
- pulumi_snowflake/stream_on_table.py +164 -165
- pulumi_snowflake/stream_on_view.py +164 -165
- pulumi_snowflake/streamlit.py +184 -185
- pulumi_snowflake/table.py +147 -148
- pulumi_snowflake/table_column_masking_policy_application.py +52 -53
- pulumi_snowflake/table_constraint.py +191 -192
- pulumi_snowflake/tag.py +114 -115
- pulumi_snowflake/tag_association.py +86 -87
- pulumi_snowflake/task.py +1224 -1225
- pulumi_snowflake/user.py +1346 -1347
- pulumi_snowflake/user_authentication_policy_attachment.py +35 -36
- pulumi_snowflake/user_password_policy_attachment.py +35 -36
- pulumi_snowflake/user_public_keys.py +52 -53
- pulumi_snowflake/view.py +187 -188
- pulumi_snowflake/warehouse.py +286 -287
- {pulumi_snowflake-2.3.0a1752907264.dist-info → pulumi_snowflake-2.3.0a1753398370.dist-info}/METADATA +1 -1
- pulumi_snowflake-2.3.0a1753398370.dist-info/RECORD +158 -0
- pulumi_snowflake-2.3.0a1752907264.dist-info/RECORD +0 -158
- {pulumi_snowflake-2.3.0a1752907264.dist-info → pulumi_snowflake-2.3.0a1753398370.dist-info}/WHEEL +0 -0
- {pulumi_snowflake-2.3.0a1752907264.dist-info → pulumi_snowflake-2.3.0a1753398370.dist-info}/top_level.txt +0 -0
|
@@ -2,8 +2,7 @@
|
|
|
2
2
|
# *** WARNING: this file was generated by pulumi-language-python. ***
|
|
3
3
|
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
4
|
|
|
5
|
-
import builtins
|
|
6
|
-
import copy
|
|
5
|
+
import builtins as _builtins
|
|
7
6
|
import warnings
|
|
8
7
|
import sys
|
|
9
8
|
import pulumi
|
|
@@ -22,29 +21,29 @@ __all__ = ['ApiAuthenticationIntegrationWithAuthorizationCodeGrantArgs', 'ApiAut
|
|
|
22
21
|
@pulumi.input_type
|
|
23
22
|
class ApiAuthenticationIntegrationWithAuthorizationCodeGrantArgs:
|
|
24
23
|
def __init__(__self__, *,
|
|
25
|
-
enabled: pulumi.Input[
|
|
26
|
-
oauth_client_id: pulumi.Input[
|
|
27
|
-
oauth_client_secret: pulumi.Input[
|
|
28
|
-
comment: Optional[pulumi.Input[
|
|
29
|
-
name: Optional[pulumi.Input[
|
|
30
|
-
oauth_access_token_validity: Optional[pulumi.Input[
|
|
31
|
-
oauth_allowed_scopes: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
32
|
-
oauth_authorization_endpoint: Optional[pulumi.Input[
|
|
33
|
-
oauth_client_auth_method: Optional[pulumi.Input[
|
|
34
|
-
oauth_refresh_token_validity: Optional[pulumi.Input[
|
|
35
|
-
oauth_token_endpoint: Optional[pulumi.Input[
|
|
24
|
+
enabled: pulumi.Input[_builtins.bool],
|
|
25
|
+
oauth_client_id: pulumi.Input[_builtins.str],
|
|
26
|
+
oauth_client_secret: pulumi.Input[_builtins.str],
|
|
27
|
+
comment: Optional[pulumi.Input[_builtins.str]] = None,
|
|
28
|
+
name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
29
|
+
oauth_access_token_validity: Optional[pulumi.Input[_builtins.int]] = None,
|
|
30
|
+
oauth_allowed_scopes: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
|
|
31
|
+
oauth_authorization_endpoint: Optional[pulumi.Input[_builtins.str]] = None,
|
|
32
|
+
oauth_client_auth_method: Optional[pulumi.Input[_builtins.str]] = None,
|
|
33
|
+
oauth_refresh_token_validity: Optional[pulumi.Input[_builtins.int]] = None,
|
|
34
|
+
oauth_token_endpoint: Optional[pulumi.Input[_builtins.str]] = None):
|
|
36
35
|
"""
|
|
37
36
|
The set of arguments for constructing a ApiAuthenticationIntegrationWithAuthorizationCodeGrant resource.
|
|
38
|
-
:param pulumi.Input[
|
|
39
|
-
:param pulumi.Input[
|
|
40
|
-
:param pulumi.Input[
|
|
41
|
-
:param pulumi.Input[
|
|
42
|
-
:param pulumi.Input[
|
|
43
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
|
44
|
-
:param pulumi.Input[
|
|
45
|
-
:param pulumi.Input[
|
|
46
|
-
:param pulumi.Input[
|
|
47
|
-
:param pulumi.Input[
|
|
37
|
+
:param pulumi.Input[_builtins.bool] enabled: Specifies whether this security integration is enabled or disabled.
|
|
38
|
+
:param pulumi.Input[_builtins.str] oauth_client_id: Specifies the client ID for the OAuth application in the external service.
|
|
39
|
+
:param pulumi.Input[_builtins.str] comment: Specifies a comment for the integration.
|
|
40
|
+
:param pulumi.Input[_builtins.str] name: Specifies the identifier (i.e. name) for the integration. This value must be unique in your account. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
|
|
41
|
+
:param pulumi.Input[_builtins.int] oauth_access_token_validity: (Default: fallback to Snowflake default - uses special value that cannot be set in the configuration manually (`-1`)) Specifies the default lifetime of the OAuth access token (in seconds) issued by an OAuth server.
|
|
42
|
+
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] oauth_allowed_scopes: Specifies a list of scopes to use when making a request from the OAuth by a role with USAGE on the integration during the OAuth client credentials flow.
|
|
43
|
+
:param pulumi.Input[_builtins.str] oauth_authorization_endpoint: Specifies the URL for authenticating to the external service. If removed from the config, the resource is recreated.
|
|
44
|
+
:param pulumi.Input[_builtins.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`.
|
|
45
|
+
:param pulumi.Input[_builtins.int] oauth_refresh_token_validity: Specifies the value to determine the validity of the refresh token obtained from the OAuth server.
|
|
46
|
+
:param pulumi.Input[_builtins.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.
|
|
48
47
|
"""
|
|
49
48
|
pulumi.set(__self__, "enabled", enabled)
|
|
50
49
|
pulumi.set(__self__, "oauth_client_id", oauth_client_id)
|
|
@@ -66,167 +65,167 @@ class ApiAuthenticationIntegrationWithAuthorizationCodeGrantArgs:
|
|
|
66
65
|
if oauth_token_endpoint is not None:
|
|
67
66
|
pulumi.set(__self__, "oauth_token_endpoint", oauth_token_endpoint)
|
|
68
67
|
|
|
69
|
-
@property
|
|
68
|
+
@_builtins.property
|
|
70
69
|
@pulumi.getter
|
|
71
|
-
def enabled(self) -> pulumi.Input[
|
|
70
|
+
def enabled(self) -> pulumi.Input[_builtins.bool]:
|
|
72
71
|
"""
|
|
73
72
|
Specifies whether this security integration is enabled or disabled.
|
|
74
73
|
"""
|
|
75
74
|
return pulumi.get(self, "enabled")
|
|
76
75
|
|
|
77
76
|
@enabled.setter
|
|
78
|
-
def enabled(self, value: pulumi.Input[
|
|
77
|
+
def enabled(self, value: pulumi.Input[_builtins.bool]):
|
|
79
78
|
pulumi.set(self, "enabled", value)
|
|
80
79
|
|
|
81
|
-
@property
|
|
80
|
+
@_builtins.property
|
|
82
81
|
@pulumi.getter(name="oauthClientId")
|
|
83
|
-
def oauth_client_id(self) -> pulumi.Input[
|
|
82
|
+
def oauth_client_id(self) -> pulumi.Input[_builtins.str]:
|
|
84
83
|
"""
|
|
85
84
|
Specifies the client ID for the OAuth application in the external service.
|
|
86
85
|
"""
|
|
87
86
|
return pulumi.get(self, "oauth_client_id")
|
|
88
87
|
|
|
89
88
|
@oauth_client_id.setter
|
|
90
|
-
def oauth_client_id(self, value: pulumi.Input[
|
|
89
|
+
def oauth_client_id(self, value: pulumi.Input[_builtins.str]):
|
|
91
90
|
pulumi.set(self, "oauth_client_id", value)
|
|
92
91
|
|
|
93
|
-
@property
|
|
92
|
+
@_builtins.property
|
|
94
93
|
@pulumi.getter(name="oauthClientSecret")
|
|
95
|
-
def oauth_client_secret(self) -> pulumi.Input[
|
|
94
|
+
def oauth_client_secret(self) -> pulumi.Input[_builtins.str]:
|
|
96
95
|
return pulumi.get(self, "oauth_client_secret")
|
|
97
96
|
|
|
98
97
|
@oauth_client_secret.setter
|
|
99
|
-
def oauth_client_secret(self, value: pulumi.Input[
|
|
98
|
+
def oauth_client_secret(self, value: pulumi.Input[_builtins.str]):
|
|
100
99
|
pulumi.set(self, "oauth_client_secret", value)
|
|
101
100
|
|
|
102
|
-
@property
|
|
101
|
+
@_builtins.property
|
|
103
102
|
@pulumi.getter
|
|
104
|
-
def comment(self) -> Optional[pulumi.Input[
|
|
103
|
+
def comment(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
105
104
|
"""
|
|
106
105
|
Specifies a comment for the integration.
|
|
107
106
|
"""
|
|
108
107
|
return pulumi.get(self, "comment")
|
|
109
108
|
|
|
110
109
|
@comment.setter
|
|
111
|
-
def comment(self, value: Optional[pulumi.Input[
|
|
110
|
+
def comment(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
112
111
|
pulumi.set(self, "comment", value)
|
|
113
112
|
|
|
114
|
-
@property
|
|
113
|
+
@_builtins.property
|
|
115
114
|
@pulumi.getter
|
|
116
|
-
def name(self) -> Optional[pulumi.Input[
|
|
115
|
+
def name(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
117
116
|
"""
|
|
118
117
|
Specifies the identifier (i.e. name) for the integration. This value must be unique in your account. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
|
|
119
118
|
"""
|
|
120
119
|
return pulumi.get(self, "name")
|
|
121
120
|
|
|
122
121
|
@name.setter
|
|
123
|
-
def name(self, value: Optional[pulumi.Input[
|
|
122
|
+
def name(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
124
123
|
pulumi.set(self, "name", value)
|
|
125
124
|
|
|
126
|
-
@property
|
|
125
|
+
@_builtins.property
|
|
127
126
|
@pulumi.getter(name="oauthAccessTokenValidity")
|
|
128
|
-
def oauth_access_token_validity(self) -> Optional[pulumi.Input[
|
|
127
|
+
def oauth_access_token_validity(self) -> Optional[pulumi.Input[_builtins.int]]:
|
|
129
128
|
"""
|
|
130
129
|
(Default: fallback to Snowflake default - uses special value that cannot be set in the configuration manually (`-1`)) Specifies the default lifetime of the OAuth access token (in seconds) issued by an OAuth server.
|
|
131
130
|
"""
|
|
132
131
|
return pulumi.get(self, "oauth_access_token_validity")
|
|
133
132
|
|
|
134
133
|
@oauth_access_token_validity.setter
|
|
135
|
-
def oauth_access_token_validity(self, value: Optional[pulumi.Input[
|
|
134
|
+
def oauth_access_token_validity(self, value: Optional[pulumi.Input[_builtins.int]]):
|
|
136
135
|
pulumi.set(self, "oauth_access_token_validity", value)
|
|
137
136
|
|
|
138
|
-
@property
|
|
137
|
+
@_builtins.property
|
|
139
138
|
@pulumi.getter(name="oauthAllowedScopes")
|
|
140
|
-
def oauth_allowed_scopes(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
139
|
+
def oauth_allowed_scopes(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]:
|
|
141
140
|
"""
|
|
142
141
|
Specifies a list of scopes to use when making a request from the OAuth by a role with USAGE on the integration during the OAuth client credentials flow.
|
|
143
142
|
"""
|
|
144
143
|
return pulumi.get(self, "oauth_allowed_scopes")
|
|
145
144
|
|
|
146
145
|
@oauth_allowed_scopes.setter
|
|
147
|
-
def oauth_allowed_scopes(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
146
|
+
def oauth_allowed_scopes(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]):
|
|
148
147
|
pulumi.set(self, "oauth_allowed_scopes", value)
|
|
149
148
|
|
|
150
|
-
@property
|
|
149
|
+
@_builtins.property
|
|
151
150
|
@pulumi.getter(name="oauthAuthorizationEndpoint")
|
|
152
|
-
def oauth_authorization_endpoint(self) -> Optional[pulumi.Input[
|
|
151
|
+
def oauth_authorization_endpoint(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
153
152
|
"""
|
|
154
153
|
Specifies the URL for authenticating to the external service. If removed from the config, the resource is recreated.
|
|
155
154
|
"""
|
|
156
155
|
return pulumi.get(self, "oauth_authorization_endpoint")
|
|
157
156
|
|
|
158
157
|
@oauth_authorization_endpoint.setter
|
|
159
|
-
def oauth_authorization_endpoint(self, value: Optional[pulumi.Input[
|
|
158
|
+
def oauth_authorization_endpoint(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
160
159
|
pulumi.set(self, "oauth_authorization_endpoint", value)
|
|
161
160
|
|
|
162
|
-
@property
|
|
161
|
+
@_builtins.property
|
|
163
162
|
@pulumi.getter(name="oauthClientAuthMethod")
|
|
164
|
-
def oauth_client_auth_method(self) -> Optional[pulumi.Input[
|
|
163
|
+
def oauth_client_auth_method(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
165
164
|
"""
|
|
166
165
|
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`.
|
|
167
166
|
"""
|
|
168
167
|
return pulumi.get(self, "oauth_client_auth_method")
|
|
169
168
|
|
|
170
169
|
@oauth_client_auth_method.setter
|
|
171
|
-
def oauth_client_auth_method(self, value: Optional[pulumi.Input[
|
|
170
|
+
def oauth_client_auth_method(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
172
171
|
pulumi.set(self, "oauth_client_auth_method", value)
|
|
173
172
|
|
|
174
|
-
@property
|
|
173
|
+
@_builtins.property
|
|
175
174
|
@pulumi.getter(name="oauthRefreshTokenValidity")
|
|
176
|
-
def oauth_refresh_token_validity(self) -> Optional[pulumi.Input[
|
|
175
|
+
def oauth_refresh_token_validity(self) -> Optional[pulumi.Input[_builtins.int]]:
|
|
177
176
|
"""
|
|
178
177
|
Specifies the value to determine the validity of the refresh token obtained from the OAuth server.
|
|
179
178
|
"""
|
|
180
179
|
return pulumi.get(self, "oauth_refresh_token_validity")
|
|
181
180
|
|
|
182
181
|
@oauth_refresh_token_validity.setter
|
|
183
|
-
def oauth_refresh_token_validity(self, value: Optional[pulumi.Input[
|
|
182
|
+
def oauth_refresh_token_validity(self, value: Optional[pulumi.Input[_builtins.int]]):
|
|
184
183
|
pulumi.set(self, "oauth_refresh_token_validity", value)
|
|
185
184
|
|
|
186
|
-
@property
|
|
185
|
+
@_builtins.property
|
|
187
186
|
@pulumi.getter(name="oauthTokenEndpoint")
|
|
188
|
-
def oauth_token_endpoint(self) -> Optional[pulumi.Input[
|
|
187
|
+
def oauth_token_endpoint(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
189
188
|
"""
|
|
190
189
|
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.
|
|
191
190
|
"""
|
|
192
191
|
return pulumi.get(self, "oauth_token_endpoint")
|
|
193
192
|
|
|
194
193
|
@oauth_token_endpoint.setter
|
|
195
|
-
def oauth_token_endpoint(self, value: Optional[pulumi.Input[
|
|
194
|
+
def oauth_token_endpoint(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
196
195
|
pulumi.set(self, "oauth_token_endpoint", value)
|
|
197
196
|
|
|
198
197
|
|
|
199
198
|
@pulumi.input_type
|
|
200
199
|
class _ApiAuthenticationIntegrationWithAuthorizationCodeGrantState:
|
|
201
200
|
def __init__(__self__, *,
|
|
202
|
-
comment: Optional[pulumi.Input[
|
|
201
|
+
comment: Optional[pulumi.Input[_builtins.str]] = None,
|
|
203
202
|
describe_outputs: Optional[pulumi.Input[Sequence[pulumi.Input['ApiAuthenticationIntegrationWithAuthorizationCodeGrantDescribeOutputArgs']]]] = None,
|
|
204
|
-
enabled: Optional[pulumi.Input[
|
|
205
|
-
fully_qualified_name: Optional[pulumi.Input[
|
|
206
|
-
name: Optional[pulumi.Input[
|
|
207
|
-
oauth_access_token_validity: Optional[pulumi.Input[
|
|
208
|
-
oauth_allowed_scopes: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
209
|
-
oauth_authorization_endpoint: Optional[pulumi.Input[
|
|
210
|
-
oauth_client_auth_method: Optional[pulumi.Input[
|
|
211
|
-
oauth_client_id: Optional[pulumi.Input[
|
|
212
|
-
oauth_client_secret: Optional[pulumi.Input[
|
|
213
|
-
oauth_refresh_token_validity: Optional[pulumi.Input[
|
|
214
|
-
oauth_token_endpoint: Optional[pulumi.Input[
|
|
203
|
+
enabled: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
204
|
+
fully_qualified_name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
205
|
+
name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
206
|
+
oauth_access_token_validity: Optional[pulumi.Input[_builtins.int]] = None,
|
|
207
|
+
oauth_allowed_scopes: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
|
|
208
|
+
oauth_authorization_endpoint: Optional[pulumi.Input[_builtins.str]] = None,
|
|
209
|
+
oauth_client_auth_method: Optional[pulumi.Input[_builtins.str]] = None,
|
|
210
|
+
oauth_client_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
211
|
+
oauth_client_secret: Optional[pulumi.Input[_builtins.str]] = None,
|
|
212
|
+
oauth_refresh_token_validity: Optional[pulumi.Input[_builtins.int]] = None,
|
|
213
|
+
oauth_token_endpoint: Optional[pulumi.Input[_builtins.str]] = None,
|
|
215
214
|
show_outputs: Optional[pulumi.Input[Sequence[pulumi.Input['ApiAuthenticationIntegrationWithAuthorizationCodeGrantShowOutputArgs']]]] = None):
|
|
216
215
|
"""
|
|
217
216
|
Input properties used for looking up and filtering ApiAuthenticationIntegrationWithAuthorizationCodeGrant resources.
|
|
218
|
-
:param pulumi.Input[
|
|
217
|
+
:param pulumi.Input[_builtins.str] comment: Specifies a comment for the integration.
|
|
219
218
|
:param pulumi.Input[Sequence[pulumi.Input['ApiAuthenticationIntegrationWithAuthorizationCodeGrantDescribeOutputArgs']]] describe_outputs: Outputs the result of `DESCRIBE SECURITY INTEGRATIONS` for the given security integration.
|
|
220
|
-
:param pulumi.Input[
|
|
221
|
-
:param pulumi.Input[
|
|
222
|
-
:param pulumi.Input[
|
|
223
|
-
:param pulumi.Input[
|
|
224
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
|
225
|
-
:param pulumi.Input[
|
|
226
|
-
:param pulumi.Input[
|
|
227
|
-
:param pulumi.Input[
|
|
228
|
-
:param pulumi.Input[
|
|
229
|
-
:param pulumi.Input[
|
|
219
|
+
:param pulumi.Input[_builtins.bool] enabled: Specifies whether this security integration is enabled or disabled.
|
|
220
|
+
:param pulumi.Input[_builtins.str] fully_qualified_name: Fully qualified name of the resource. For more information, see [object name resolution](https://docs.snowflake.com/en/sql-reference/name-resolution).
|
|
221
|
+
:param pulumi.Input[_builtins.str] name: Specifies the identifier (i.e. name) for the integration. This value must be unique in your account. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
|
|
222
|
+
:param pulumi.Input[_builtins.int] oauth_access_token_validity: (Default: fallback to Snowflake default - uses special value that cannot be set in the configuration manually (`-1`)) Specifies the default lifetime of the OAuth access token (in seconds) issued by an OAuth server.
|
|
223
|
+
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] oauth_allowed_scopes: Specifies a list of scopes to use when making a request from the OAuth by a role with USAGE on the integration during the OAuth client credentials flow.
|
|
224
|
+
:param pulumi.Input[_builtins.str] oauth_authorization_endpoint: Specifies the URL for authenticating to the external service. If removed from the config, the resource is recreated.
|
|
225
|
+
:param pulumi.Input[_builtins.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`.
|
|
226
|
+
:param pulumi.Input[_builtins.str] oauth_client_id: Specifies the client ID for the OAuth application in the external service.
|
|
227
|
+
:param pulumi.Input[_builtins.int] oauth_refresh_token_validity: Specifies the value to determine the validity of the refresh token obtained from the OAuth server.
|
|
228
|
+
:param pulumi.Input[_builtins.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.
|
|
230
229
|
:param pulumi.Input[Sequence[pulumi.Input['ApiAuthenticationIntegrationWithAuthorizationCodeGrantShowOutputArgs']]] show_outputs: Outputs the result of `SHOW SECURITY INTEGRATIONS` for the given security integration.
|
|
231
230
|
"""
|
|
232
231
|
if comment is not None:
|
|
@@ -258,19 +257,19 @@ class _ApiAuthenticationIntegrationWithAuthorizationCodeGrantState:
|
|
|
258
257
|
if show_outputs is not None:
|
|
259
258
|
pulumi.set(__self__, "show_outputs", show_outputs)
|
|
260
259
|
|
|
261
|
-
@property
|
|
260
|
+
@_builtins.property
|
|
262
261
|
@pulumi.getter
|
|
263
|
-
def comment(self) -> Optional[pulumi.Input[
|
|
262
|
+
def comment(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
264
263
|
"""
|
|
265
264
|
Specifies a comment for the integration.
|
|
266
265
|
"""
|
|
267
266
|
return pulumi.get(self, "comment")
|
|
268
267
|
|
|
269
268
|
@comment.setter
|
|
270
|
-
def comment(self, value: Optional[pulumi.Input[
|
|
269
|
+
def comment(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
271
270
|
pulumi.set(self, "comment", value)
|
|
272
271
|
|
|
273
|
-
@property
|
|
272
|
+
@_builtins.property
|
|
274
273
|
@pulumi.getter(name="describeOutputs")
|
|
275
274
|
def describe_outputs(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['ApiAuthenticationIntegrationWithAuthorizationCodeGrantDescribeOutputArgs']]]]:
|
|
276
275
|
"""
|
|
@@ -282,136 +281,136 @@ class _ApiAuthenticationIntegrationWithAuthorizationCodeGrantState:
|
|
|
282
281
|
def describe_outputs(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['ApiAuthenticationIntegrationWithAuthorizationCodeGrantDescribeOutputArgs']]]]):
|
|
283
282
|
pulumi.set(self, "describe_outputs", value)
|
|
284
283
|
|
|
285
|
-
@property
|
|
284
|
+
@_builtins.property
|
|
286
285
|
@pulumi.getter
|
|
287
|
-
def enabled(self) -> Optional[pulumi.Input[
|
|
286
|
+
def enabled(self) -> Optional[pulumi.Input[_builtins.bool]]:
|
|
288
287
|
"""
|
|
289
288
|
Specifies whether this security integration is enabled or disabled.
|
|
290
289
|
"""
|
|
291
290
|
return pulumi.get(self, "enabled")
|
|
292
291
|
|
|
293
292
|
@enabled.setter
|
|
294
|
-
def enabled(self, value: Optional[pulumi.Input[
|
|
293
|
+
def enabled(self, value: Optional[pulumi.Input[_builtins.bool]]):
|
|
295
294
|
pulumi.set(self, "enabled", value)
|
|
296
295
|
|
|
297
|
-
@property
|
|
296
|
+
@_builtins.property
|
|
298
297
|
@pulumi.getter(name="fullyQualifiedName")
|
|
299
|
-
def fully_qualified_name(self) -> Optional[pulumi.Input[
|
|
298
|
+
def fully_qualified_name(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
300
299
|
"""
|
|
301
300
|
Fully qualified name of the resource. For more information, see [object name resolution](https://docs.snowflake.com/en/sql-reference/name-resolution).
|
|
302
301
|
"""
|
|
303
302
|
return pulumi.get(self, "fully_qualified_name")
|
|
304
303
|
|
|
305
304
|
@fully_qualified_name.setter
|
|
306
|
-
def fully_qualified_name(self, value: Optional[pulumi.Input[
|
|
305
|
+
def fully_qualified_name(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
307
306
|
pulumi.set(self, "fully_qualified_name", value)
|
|
308
307
|
|
|
309
|
-
@property
|
|
308
|
+
@_builtins.property
|
|
310
309
|
@pulumi.getter
|
|
311
|
-
def name(self) -> Optional[pulumi.Input[
|
|
310
|
+
def name(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
312
311
|
"""
|
|
313
312
|
Specifies the identifier (i.e. name) for the integration. This value must be unique in your account. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
|
|
314
313
|
"""
|
|
315
314
|
return pulumi.get(self, "name")
|
|
316
315
|
|
|
317
316
|
@name.setter
|
|
318
|
-
def name(self, value: Optional[pulumi.Input[
|
|
317
|
+
def name(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
319
318
|
pulumi.set(self, "name", value)
|
|
320
319
|
|
|
321
|
-
@property
|
|
320
|
+
@_builtins.property
|
|
322
321
|
@pulumi.getter(name="oauthAccessTokenValidity")
|
|
323
|
-
def oauth_access_token_validity(self) -> Optional[pulumi.Input[
|
|
322
|
+
def oauth_access_token_validity(self) -> Optional[pulumi.Input[_builtins.int]]:
|
|
324
323
|
"""
|
|
325
324
|
(Default: fallback to Snowflake default - uses special value that cannot be set in the configuration manually (`-1`)) Specifies the default lifetime of the OAuth access token (in seconds) issued by an OAuth server.
|
|
326
325
|
"""
|
|
327
326
|
return pulumi.get(self, "oauth_access_token_validity")
|
|
328
327
|
|
|
329
328
|
@oauth_access_token_validity.setter
|
|
330
|
-
def oauth_access_token_validity(self, value: Optional[pulumi.Input[
|
|
329
|
+
def oauth_access_token_validity(self, value: Optional[pulumi.Input[_builtins.int]]):
|
|
331
330
|
pulumi.set(self, "oauth_access_token_validity", value)
|
|
332
331
|
|
|
333
|
-
@property
|
|
332
|
+
@_builtins.property
|
|
334
333
|
@pulumi.getter(name="oauthAllowedScopes")
|
|
335
|
-
def oauth_allowed_scopes(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
334
|
+
def oauth_allowed_scopes(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]:
|
|
336
335
|
"""
|
|
337
336
|
Specifies a list of scopes to use when making a request from the OAuth by a role with USAGE on the integration during the OAuth client credentials flow.
|
|
338
337
|
"""
|
|
339
338
|
return pulumi.get(self, "oauth_allowed_scopes")
|
|
340
339
|
|
|
341
340
|
@oauth_allowed_scopes.setter
|
|
342
|
-
def oauth_allowed_scopes(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
341
|
+
def oauth_allowed_scopes(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]):
|
|
343
342
|
pulumi.set(self, "oauth_allowed_scopes", value)
|
|
344
343
|
|
|
345
|
-
@property
|
|
344
|
+
@_builtins.property
|
|
346
345
|
@pulumi.getter(name="oauthAuthorizationEndpoint")
|
|
347
|
-
def oauth_authorization_endpoint(self) -> Optional[pulumi.Input[
|
|
346
|
+
def oauth_authorization_endpoint(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
348
347
|
"""
|
|
349
348
|
Specifies the URL for authenticating to the external service. If removed from the config, the resource is recreated.
|
|
350
349
|
"""
|
|
351
350
|
return pulumi.get(self, "oauth_authorization_endpoint")
|
|
352
351
|
|
|
353
352
|
@oauth_authorization_endpoint.setter
|
|
354
|
-
def oauth_authorization_endpoint(self, value: Optional[pulumi.Input[
|
|
353
|
+
def oauth_authorization_endpoint(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
355
354
|
pulumi.set(self, "oauth_authorization_endpoint", value)
|
|
356
355
|
|
|
357
|
-
@property
|
|
356
|
+
@_builtins.property
|
|
358
357
|
@pulumi.getter(name="oauthClientAuthMethod")
|
|
359
|
-
def oauth_client_auth_method(self) -> Optional[pulumi.Input[
|
|
358
|
+
def oauth_client_auth_method(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
360
359
|
"""
|
|
361
360
|
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`.
|
|
362
361
|
"""
|
|
363
362
|
return pulumi.get(self, "oauth_client_auth_method")
|
|
364
363
|
|
|
365
364
|
@oauth_client_auth_method.setter
|
|
366
|
-
def oauth_client_auth_method(self, value: Optional[pulumi.Input[
|
|
365
|
+
def oauth_client_auth_method(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
367
366
|
pulumi.set(self, "oauth_client_auth_method", value)
|
|
368
367
|
|
|
369
|
-
@property
|
|
368
|
+
@_builtins.property
|
|
370
369
|
@pulumi.getter(name="oauthClientId")
|
|
371
|
-
def oauth_client_id(self) -> Optional[pulumi.Input[
|
|
370
|
+
def oauth_client_id(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
372
371
|
"""
|
|
373
372
|
Specifies the client ID for the OAuth application in the external service.
|
|
374
373
|
"""
|
|
375
374
|
return pulumi.get(self, "oauth_client_id")
|
|
376
375
|
|
|
377
376
|
@oauth_client_id.setter
|
|
378
|
-
def oauth_client_id(self, value: Optional[pulumi.Input[
|
|
377
|
+
def oauth_client_id(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
379
378
|
pulumi.set(self, "oauth_client_id", value)
|
|
380
379
|
|
|
381
|
-
@property
|
|
380
|
+
@_builtins.property
|
|
382
381
|
@pulumi.getter(name="oauthClientSecret")
|
|
383
|
-
def oauth_client_secret(self) -> Optional[pulumi.Input[
|
|
382
|
+
def oauth_client_secret(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
384
383
|
return pulumi.get(self, "oauth_client_secret")
|
|
385
384
|
|
|
386
385
|
@oauth_client_secret.setter
|
|
387
|
-
def oauth_client_secret(self, value: Optional[pulumi.Input[
|
|
386
|
+
def oauth_client_secret(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
388
387
|
pulumi.set(self, "oauth_client_secret", value)
|
|
389
388
|
|
|
390
|
-
@property
|
|
389
|
+
@_builtins.property
|
|
391
390
|
@pulumi.getter(name="oauthRefreshTokenValidity")
|
|
392
|
-
def oauth_refresh_token_validity(self) -> Optional[pulumi.Input[
|
|
391
|
+
def oauth_refresh_token_validity(self) -> Optional[pulumi.Input[_builtins.int]]:
|
|
393
392
|
"""
|
|
394
393
|
Specifies the value to determine the validity of the refresh token obtained from the OAuth server.
|
|
395
394
|
"""
|
|
396
395
|
return pulumi.get(self, "oauth_refresh_token_validity")
|
|
397
396
|
|
|
398
397
|
@oauth_refresh_token_validity.setter
|
|
399
|
-
def oauth_refresh_token_validity(self, value: Optional[pulumi.Input[
|
|
398
|
+
def oauth_refresh_token_validity(self, value: Optional[pulumi.Input[_builtins.int]]):
|
|
400
399
|
pulumi.set(self, "oauth_refresh_token_validity", value)
|
|
401
400
|
|
|
402
|
-
@property
|
|
401
|
+
@_builtins.property
|
|
403
402
|
@pulumi.getter(name="oauthTokenEndpoint")
|
|
404
|
-
def oauth_token_endpoint(self) -> Optional[pulumi.Input[
|
|
403
|
+
def oauth_token_endpoint(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
405
404
|
"""
|
|
406
405
|
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.
|
|
407
406
|
"""
|
|
408
407
|
return pulumi.get(self, "oauth_token_endpoint")
|
|
409
408
|
|
|
410
409
|
@oauth_token_endpoint.setter
|
|
411
|
-
def oauth_token_endpoint(self, value: Optional[pulumi.Input[
|
|
410
|
+
def oauth_token_endpoint(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
412
411
|
pulumi.set(self, "oauth_token_endpoint", value)
|
|
413
412
|
|
|
414
|
-
@property
|
|
413
|
+
@_builtins.property
|
|
415
414
|
@pulumi.getter(name="showOutputs")
|
|
416
415
|
def show_outputs(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['ApiAuthenticationIntegrationWithAuthorizationCodeGrantShowOutputArgs']]]]:
|
|
417
416
|
"""
|
|
@@ -430,17 +429,17 @@ class ApiAuthenticationIntegrationWithAuthorizationCodeGrant(pulumi.CustomResour
|
|
|
430
429
|
def __init__(__self__,
|
|
431
430
|
resource_name: str,
|
|
432
431
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
433
|
-
comment: Optional[pulumi.Input[
|
|
434
|
-
enabled: Optional[pulumi.Input[
|
|
435
|
-
name: Optional[pulumi.Input[
|
|
436
|
-
oauth_access_token_validity: Optional[pulumi.Input[
|
|
437
|
-
oauth_allowed_scopes: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
438
|
-
oauth_authorization_endpoint: Optional[pulumi.Input[
|
|
439
|
-
oauth_client_auth_method: Optional[pulumi.Input[
|
|
440
|
-
oauth_client_id: Optional[pulumi.Input[
|
|
441
|
-
oauth_client_secret: Optional[pulumi.Input[
|
|
442
|
-
oauth_refresh_token_validity: Optional[pulumi.Input[
|
|
443
|
-
oauth_token_endpoint: Optional[pulumi.Input[
|
|
432
|
+
comment: Optional[pulumi.Input[_builtins.str]] = None,
|
|
433
|
+
enabled: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
434
|
+
name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
435
|
+
oauth_access_token_validity: Optional[pulumi.Input[_builtins.int]] = None,
|
|
436
|
+
oauth_allowed_scopes: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
|
|
437
|
+
oauth_authorization_endpoint: Optional[pulumi.Input[_builtins.str]] = None,
|
|
438
|
+
oauth_client_auth_method: Optional[pulumi.Input[_builtins.str]] = None,
|
|
439
|
+
oauth_client_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
440
|
+
oauth_client_secret: Optional[pulumi.Input[_builtins.str]] = None,
|
|
441
|
+
oauth_refresh_token_validity: Optional[pulumi.Input[_builtins.int]] = None,
|
|
442
|
+
oauth_token_endpoint: Optional[pulumi.Input[_builtins.str]] = None,
|
|
444
443
|
__props__=None):
|
|
445
444
|
"""
|
|
446
445
|
## Import
|
|
@@ -451,16 +450,16 @@ class ApiAuthenticationIntegrationWithAuthorizationCodeGrant(pulumi.CustomResour
|
|
|
451
450
|
|
|
452
451
|
:param str resource_name: The name of the resource.
|
|
453
452
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
454
|
-
:param pulumi.Input[
|
|
455
|
-
:param pulumi.Input[
|
|
456
|
-
:param pulumi.Input[
|
|
457
|
-
:param pulumi.Input[
|
|
458
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
|
459
|
-
:param pulumi.Input[
|
|
460
|
-
:param pulumi.Input[
|
|
461
|
-
:param pulumi.Input[
|
|
462
|
-
:param pulumi.Input[
|
|
463
|
-
:param pulumi.Input[
|
|
453
|
+
:param pulumi.Input[_builtins.str] comment: Specifies a comment for the integration.
|
|
454
|
+
:param pulumi.Input[_builtins.bool] enabled: Specifies whether this security integration is enabled or disabled.
|
|
455
|
+
:param pulumi.Input[_builtins.str] name: Specifies the identifier (i.e. name) for the integration. This value must be unique in your account. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
|
|
456
|
+
:param pulumi.Input[_builtins.int] oauth_access_token_validity: (Default: fallback to Snowflake default - uses special value that cannot be set in the configuration manually (`-1`)) Specifies the default lifetime of the OAuth access token (in seconds) issued by an OAuth server.
|
|
457
|
+
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] oauth_allowed_scopes: Specifies a list of scopes to use when making a request from the OAuth by a role with USAGE on the integration during the OAuth client credentials flow.
|
|
458
|
+
:param pulumi.Input[_builtins.str] oauth_authorization_endpoint: Specifies the URL for authenticating to the external service. If removed from the config, the resource is recreated.
|
|
459
|
+
:param pulumi.Input[_builtins.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`.
|
|
460
|
+
:param pulumi.Input[_builtins.str] oauth_client_id: Specifies the client ID for the OAuth application in the external service.
|
|
461
|
+
:param pulumi.Input[_builtins.int] oauth_refresh_token_validity: Specifies the value to determine the validity of the refresh token obtained from the OAuth server.
|
|
462
|
+
:param pulumi.Input[_builtins.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.
|
|
464
463
|
"""
|
|
465
464
|
...
|
|
466
465
|
@overload
|
|
@@ -490,17 +489,17 @@ class ApiAuthenticationIntegrationWithAuthorizationCodeGrant(pulumi.CustomResour
|
|
|
490
489
|
def _internal_init(__self__,
|
|
491
490
|
resource_name: str,
|
|
492
491
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
493
|
-
comment: Optional[pulumi.Input[
|
|
494
|
-
enabled: Optional[pulumi.Input[
|
|
495
|
-
name: Optional[pulumi.Input[
|
|
496
|
-
oauth_access_token_validity: Optional[pulumi.Input[
|
|
497
|
-
oauth_allowed_scopes: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
498
|
-
oauth_authorization_endpoint: Optional[pulumi.Input[
|
|
499
|
-
oauth_client_auth_method: Optional[pulumi.Input[
|
|
500
|
-
oauth_client_id: Optional[pulumi.Input[
|
|
501
|
-
oauth_client_secret: Optional[pulumi.Input[
|
|
502
|
-
oauth_refresh_token_validity: Optional[pulumi.Input[
|
|
503
|
-
oauth_token_endpoint: Optional[pulumi.Input[
|
|
492
|
+
comment: Optional[pulumi.Input[_builtins.str]] = None,
|
|
493
|
+
enabled: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
494
|
+
name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
495
|
+
oauth_access_token_validity: Optional[pulumi.Input[_builtins.int]] = None,
|
|
496
|
+
oauth_allowed_scopes: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
|
|
497
|
+
oauth_authorization_endpoint: Optional[pulumi.Input[_builtins.str]] = None,
|
|
498
|
+
oauth_client_auth_method: Optional[pulumi.Input[_builtins.str]] = None,
|
|
499
|
+
oauth_client_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
500
|
+
oauth_client_secret: Optional[pulumi.Input[_builtins.str]] = None,
|
|
501
|
+
oauth_refresh_token_validity: Optional[pulumi.Input[_builtins.int]] = None,
|
|
502
|
+
oauth_token_endpoint: Optional[pulumi.Input[_builtins.str]] = None,
|
|
504
503
|
__props__=None):
|
|
505
504
|
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
|
506
505
|
if not isinstance(opts, pulumi.ResourceOptions):
|
|
@@ -542,19 +541,19 @@ class ApiAuthenticationIntegrationWithAuthorizationCodeGrant(pulumi.CustomResour
|
|
|
542
541
|
def get(resource_name: str,
|
|
543
542
|
id: pulumi.Input[str],
|
|
544
543
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
545
|
-
comment: Optional[pulumi.Input[
|
|
544
|
+
comment: Optional[pulumi.Input[_builtins.str]] = None,
|
|
546
545
|
describe_outputs: Optional[pulumi.Input[Sequence[pulumi.Input[Union['ApiAuthenticationIntegrationWithAuthorizationCodeGrantDescribeOutputArgs', 'ApiAuthenticationIntegrationWithAuthorizationCodeGrantDescribeOutputArgsDict']]]]] = None,
|
|
547
|
-
enabled: Optional[pulumi.Input[
|
|
548
|
-
fully_qualified_name: Optional[pulumi.Input[
|
|
549
|
-
name: Optional[pulumi.Input[
|
|
550
|
-
oauth_access_token_validity: Optional[pulumi.Input[
|
|
551
|
-
oauth_allowed_scopes: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
552
|
-
oauth_authorization_endpoint: Optional[pulumi.Input[
|
|
553
|
-
oauth_client_auth_method: Optional[pulumi.Input[
|
|
554
|
-
oauth_client_id: Optional[pulumi.Input[
|
|
555
|
-
oauth_client_secret: Optional[pulumi.Input[
|
|
556
|
-
oauth_refresh_token_validity: Optional[pulumi.Input[
|
|
557
|
-
oauth_token_endpoint: Optional[pulumi.Input[
|
|
546
|
+
enabled: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
547
|
+
fully_qualified_name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
548
|
+
name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
549
|
+
oauth_access_token_validity: Optional[pulumi.Input[_builtins.int]] = None,
|
|
550
|
+
oauth_allowed_scopes: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
|
|
551
|
+
oauth_authorization_endpoint: Optional[pulumi.Input[_builtins.str]] = None,
|
|
552
|
+
oauth_client_auth_method: Optional[pulumi.Input[_builtins.str]] = None,
|
|
553
|
+
oauth_client_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
554
|
+
oauth_client_secret: Optional[pulumi.Input[_builtins.str]] = None,
|
|
555
|
+
oauth_refresh_token_validity: Optional[pulumi.Input[_builtins.int]] = None,
|
|
556
|
+
oauth_token_endpoint: Optional[pulumi.Input[_builtins.str]] = None,
|
|
558
557
|
show_outputs: Optional[pulumi.Input[Sequence[pulumi.Input[Union['ApiAuthenticationIntegrationWithAuthorizationCodeGrantShowOutputArgs', 'ApiAuthenticationIntegrationWithAuthorizationCodeGrantShowOutputArgsDict']]]]] = None) -> 'ApiAuthenticationIntegrationWithAuthorizationCodeGrant':
|
|
559
558
|
"""
|
|
560
559
|
Get an existing ApiAuthenticationIntegrationWithAuthorizationCodeGrant resource's state with the given name, id, and optional extra
|
|
@@ -563,18 +562,18 @@ class ApiAuthenticationIntegrationWithAuthorizationCodeGrant(pulumi.CustomResour
|
|
|
563
562
|
:param str resource_name: The unique name of the resulting resource.
|
|
564
563
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
565
564
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
566
|
-
:param pulumi.Input[
|
|
565
|
+
:param pulumi.Input[_builtins.str] comment: Specifies a comment for the integration.
|
|
567
566
|
:param pulumi.Input[Sequence[pulumi.Input[Union['ApiAuthenticationIntegrationWithAuthorizationCodeGrantDescribeOutputArgs', 'ApiAuthenticationIntegrationWithAuthorizationCodeGrantDescribeOutputArgsDict']]]] describe_outputs: Outputs the result of `DESCRIBE SECURITY INTEGRATIONS` for the given security integration.
|
|
568
|
-
:param pulumi.Input[
|
|
569
|
-
:param pulumi.Input[
|
|
570
|
-
:param pulumi.Input[
|
|
571
|
-
:param pulumi.Input[
|
|
572
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
|
573
|
-
:param pulumi.Input[
|
|
574
|
-
:param pulumi.Input[
|
|
575
|
-
:param pulumi.Input[
|
|
576
|
-
:param pulumi.Input[
|
|
577
|
-
:param pulumi.Input[
|
|
567
|
+
:param pulumi.Input[_builtins.bool] enabled: Specifies whether this security integration is enabled or disabled.
|
|
568
|
+
:param pulumi.Input[_builtins.str] fully_qualified_name: Fully qualified name of the resource. For more information, see [object name resolution](https://docs.snowflake.com/en/sql-reference/name-resolution).
|
|
569
|
+
:param pulumi.Input[_builtins.str] name: Specifies the identifier (i.e. name) for the integration. This value must be unique in your account. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
|
|
570
|
+
:param pulumi.Input[_builtins.int] oauth_access_token_validity: (Default: fallback to Snowflake default - uses special value that cannot be set in the configuration manually (`-1`)) Specifies the default lifetime of the OAuth access token (in seconds) issued by an OAuth server.
|
|
571
|
+
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] oauth_allowed_scopes: Specifies a list of scopes to use when making a request from the OAuth by a role with USAGE on the integration during the OAuth client credentials flow.
|
|
572
|
+
:param pulumi.Input[_builtins.str] oauth_authorization_endpoint: Specifies the URL for authenticating to the external service. If removed from the config, the resource is recreated.
|
|
573
|
+
:param pulumi.Input[_builtins.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`.
|
|
574
|
+
:param pulumi.Input[_builtins.str] oauth_client_id: Specifies the client ID for the OAuth application in the external service.
|
|
575
|
+
:param pulumi.Input[_builtins.int] oauth_refresh_token_validity: Specifies the value to determine the validity of the refresh token obtained from the OAuth server.
|
|
576
|
+
:param pulumi.Input[_builtins.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.
|
|
578
577
|
:param pulumi.Input[Sequence[pulumi.Input[Union['ApiAuthenticationIntegrationWithAuthorizationCodeGrantShowOutputArgs', 'ApiAuthenticationIntegrationWithAuthorizationCodeGrantShowOutputArgsDict']]]] show_outputs: Outputs the result of `SHOW SECURITY INTEGRATIONS` for the given security integration.
|
|
579
578
|
"""
|
|
580
579
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
@@ -597,15 +596,15 @@ class ApiAuthenticationIntegrationWithAuthorizationCodeGrant(pulumi.CustomResour
|
|
|
597
596
|
__props__.__dict__["show_outputs"] = show_outputs
|
|
598
597
|
return ApiAuthenticationIntegrationWithAuthorizationCodeGrant(resource_name, opts=opts, __props__=__props__)
|
|
599
598
|
|
|
600
|
-
@property
|
|
599
|
+
@_builtins.property
|
|
601
600
|
@pulumi.getter
|
|
602
|
-
def comment(self) -> pulumi.Output[Optional[
|
|
601
|
+
def comment(self) -> pulumi.Output[Optional[_builtins.str]]:
|
|
603
602
|
"""
|
|
604
603
|
Specifies a comment for the integration.
|
|
605
604
|
"""
|
|
606
605
|
return pulumi.get(self, "comment")
|
|
607
606
|
|
|
608
|
-
@property
|
|
607
|
+
@_builtins.property
|
|
609
608
|
@pulumi.getter(name="describeOutputs")
|
|
610
609
|
def describe_outputs(self) -> pulumi.Output[Sequence['outputs.ApiAuthenticationIntegrationWithAuthorizationCodeGrantDescribeOutput']]:
|
|
611
610
|
"""
|
|
@@ -613,92 +612,92 @@ class ApiAuthenticationIntegrationWithAuthorizationCodeGrant(pulumi.CustomResour
|
|
|
613
612
|
"""
|
|
614
613
|
return pulumi.get(self, "describe_outputs")
|
|
615
614
|
|
|
616
|
-
@property
|
|
615
|
+
@_builtins.property
|
|
617
616
|
@pulumi.getter
|
|
618
|
-
def enabled(self) -> pulumi.Output[
|
|
617
|
+
def enabled(self) -> pulumi.Output[_builtins.bool]:
|
|
619
618
|
"""
|
|
620
619
|
Specifies whether this security integration is enabled or disabled.
|
|
621
620
|
"""
|
|
622
621
|
return pulumi.get(self, "enabled")
|
|
623
622
|
|
|
624
|
-
@property
|
|
623
|
+
@_builtins.property
|
|
625
624
|
@pulumi.getter(name="fullyQualifiedName")
|
|
626
|
-
def fully_qualified_name(self) -> pulumi.Output[
|
|
625
|
+
def fully_qualified_name(self) -> pulumi.Output[_builtins.str]:
|
|
627
626
|
"""
|
|
628
627
|
Fully qualified name of the resource. For more information, see [object name resolution](https://docs.snowflake.com/en/sql-reference/name-resolution).
|
|
629
628
|
"""
|
|
630
629
|
return pulumi.get(self, "fully_qualified_name")
|
|
631
630
|
|
|
632
|
-
@property
|
|
631
|
+
@_builtins.property
|
|
633
632
|
@pulumi.getter
|
|
634
|
-
def name(self) -> pulumi.Output[
|
|
633
|
+
def name(self) -> pulumi.Output[_builtins.str]:
|
|
635
634
|
"""
|
|
636
635
|
Specifies the identifier (i.e. name) for the integration. This value must be unique in your account. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
|
|
637
636
|
"""
|
|
638
637
|
return pulumi.get(self, "name")
|
|
639
638
|
|
|
640
|
-
@property
|
|
639
|
+
@_builtins.property
|
|
641
640
|
@pulumi.getter(name="oauthAccessTokenValidity")
|
|
642
|
-
def oauth_access_token_validity(self) -> pulumi.Output[Optional[
|
|
641
|
+
def oauth_access_token_validity(self) -> pulumi.Output[Optional[_builtins.int]]:
|
|
643
642
|
"""
|
|
644
643
|
(Default: fallback to Snowflake default - uses special value that cannot be set in the configuration manually (`-1`)) Specifies the default lifetime of the OAuth access token (in seconds) issued by an OAuth server.
|
|
645
644
|
"""
|
|
646
645
|
return pulumi.get(self, "oauth_access_token_validity")
|
|
647
646
|
|
|
648
|
-
@property
|
|
647
|
+
@_builtins.property
|
|
649
648
|
@pulumi.getter(name="oauthAllowedScopes")
|
|
650
|
-
def oauth_allowed_scopes(self) -> pulumi.Output[Optional[Sequence[
|
|
649
|
+
def oauth_allowed_scopes(self) -> pulumi.Output[Optional[Sequence[_builtins.str]]]:
|
|
651
650
|
"""
|
|
652
651
|
Specifies a list of scopes to use when making a request from the OAuth by a role with USAGE on the integration during the OAuth client credentials flow.
|
|
653
652
|
"""
|
|
654
653
|
return pulumi.get(self, "oauth_allowed_scopes")
|
|
655
654
|
|
|
656
|
-
@property
|
|
655
|
+
@_builtins.property
|
|
657
656
|
@pulumi.getter(name="oauthAuthorizationEndpoint")
|
|
658
|
-
def oauth_authorization_endpoint(self) -> pulumi.Output[Optional[
|
|
657
|
+
def oauth_authorization_endpoint(self) -> pulumi.Output[Optional[_builtins.str]]:
|
|
659
658
|
"""
|
|
660
659
|
Specifies the URL for authenticating to the external service. If removed from the config, the resource is recreated.
|
|
661
660
|
"""
|
|
662
661
|
return pulumi.get(self, "oauth_authorization_endpoint")
|
|
663
662
|
|
|
664
|
-
@property
|
|
663
|
+
@_builtins.property
|
|
665
664
|
@pulumi.getter(name="oauthClientAuthMethod")
|
|
666
|
-
def oauth_client_auth_method(self) -> pulumi.Output[Optional[
|
|
665
|
+
def oauth_client_auth_method(self) -> pulumi.Output[Optional[_builtins.str]]:
|
|
667
666
|
"""
|
|
668
667
|
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`.
|
|
669
668
|
"""
|
|
670
669
|
return pulumi.get(self, "oauth_client_auth_method")
|
|
671
670
|
|
|
672
|
-
@property
|
|
671
|
+
@_builtins.property
|
|
673
672
|
@pulumi.getter(name="oauthClientId")
|
|
674
|
-
def oauth_client_id(self) -> pulumi.Output[
|
|
673
|
+
def oauth_client_id(self) -> pulumi.Output[_builtins.str]:
|
|
675
674
|
"""
|
|
676
675
|
Specifies the client ID for the OAuth application in the external service.
|
|
677
676
|
"""
|
|
678
677
|
return pulumi.get(self, "oauth_client_id")
|
|
679
678
|
|
|
680
|
-
@property
|
|
679
|
+
@_builtins.property
|
|
681
680
|
@pulumi.getter(name="oauthClientSecret")
|
|
682
|
-
def oauth_client_secret(self) -> pulumi.Output[
|
|
681
|
+
def oauth_client_secret(self) -> pulumi.Output[_builtins.str]:
|
|
683
682
|
return pulumi.get(self, "oauth_client_secret")
|
|
684
683
|
|
|
685
|
-
@property
|
|
684
|
+
@_builtins.property
|
|
686
685
|
@pulumi.getter(name="oauthRefreshTokenValidity")
|
|
687
|
-
def oauth_refresh_token_validity(self) -> pulumi.Output[Optional[
|
|
686
|
+
def oauth_refresh_token_validity(self) -> pulumi.Output[Optional[_builtins.int]]:
|
|
688
687
|
"""
|
|
689
688
|
Specifies the value to determine the validity of the refresh token obtained from the OAuth server.
|
|
690
689
|
"""
|
|
691
690
|
return pulumi.get(self, "oauth_refresh_token_validity")
|
|
692
691
|
|
|
693
|
-
@property
|
|
692
|
+
@_builtins.property
|
|
694
693
|
@pulumi.getter(name="oauthTokenEndpoint")
|
|
695
|
-
def oauth_token_endpoint(self) -> pulumi.Output[Optional[
|
|
694
|
+
def oauth_token_endpoint(self) -> pulumi.Output[Optional[_builtins.str]]:
|
|
696
695
|
"""
|
|
697
696
|
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.
|
|
698
697
|
"""
|
|
699
698
|
return pulumi.get(self, "oauth_token_endpoint")
|
|
700
699
|
|
|
701
|
-
@property
|
|
700
|
+
@_builtins.property
|
|
702
701
|
@pulumi.getter(name="showOutputs")
|
|
703
702
|
def show_outputs(self) -> pulumi.Output[Sequence['outputs.ApiAuthenticationIntegrationWithAuthorizationCodeGrantShowOutput']]:
|
|
704
703
|
"""
|