pulumi-snowflake 1.2.0a1743489585__py3-none-any.whl → 1.2.0a1744183688__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 -0
- pulumi_snowflake/_inputs.py +12288 -12287
- pulumi_snowflake/account.py +186 -185
- pulumi_snowflake/account_authentication_policy_attachment.py +15 -14
- pulumi_snowflake/account_parameter.py +29 -28
- pulumi_snowflake/account_password_policy_attachment.py +15 -14
- pulumi_snowflake/account_role.py +32 -31
- pulumi_snowflake/alert.py +120 -119
- pulumi_snowflake/api_authentication_integration_with_authorization_code_grant.py +158 -157
- pulumi_snowflake/api_authentication_integration_with_client_credentials.py +144 -143
- pulumi_snowflake/api_authentication_integration_with_jwt_bearer.py +154 -153
- pulumi_snowflake/api_integration.py +203 -202
- pulumi_snowflake/authentication_policy.py +134 -133
- pulumi_snowflake/config/__init__.py +1 -0
- pulumi_snowflake/config/__init__.pyi +1 -0
- pulumi_snowflake/config/outputs.py +16 -15
- pulumi_snowflake/config/vars.py +1 -0
- pulumi_snowflake/cortex_search_service.py +141 -140
- pulumi_snowflake/database.py +288 -287
- pulumi_snowflake/database_role.py +50 -49
- pulumi_snowflake/dynamic_table.py +218 -217
- pulumi_snowflake/email_notification_integration.py +56 -55
- pulumi_snowflake/execute.py +50 -49
- pulumi_snowflake/external_function.py +225 -224
- pulumi_snowflake/external_oauth_integration.py +232 -231
- pulumi_snowflake/external_table.py +197 -196
- pulumi_snowflake/external_volume.py +50 -49
- pulumi_snowflake/failover_group.py +106 -105
- pulumi_snowflake/file_format.py +512 -511
- pulumi_snowflake/function_java.py +249 -248
- pulumi_snowflake/function_javascript.py +193 -192
- pulumi_snowflake/function_python.py +263 -262
- pulumi_snowflake/function_scala.py +249 -248
- pulumi_snowflake/function_sql.py +179 -178
- pulumi_snowflake/get_account_roles.py +12 -11
- pulumi_snowflake/get_accounts.py +12 -11
- pulumi_snowflake/get_alerts.py +17 -16
- pulumi_snowflake/get_connections.py +7 -6
- pulumi_snowflake/get_cortex_search_services.py +12 -11
- pulumi_snowflake/get_current_account.py +5 -4
- pulumi_snowflake/get_current_role.py +3 -2
- pulumi_snowflake/get_database.py +15 -14
- pulumi_snowflake/get_database_role.py +14 -13
- pulumi_snowflake/get_database_roles.py +12 -11
- pulumi_snowflake/get_databases.py +22 -21
- pulumi_snowflake/get_dynamic_tables.py +7 -6
- pulumi_snowflake/get_external_functions.py +12 -11
- pulumi_snowflake/get_external_tables.py +12 -11
- pulumi_snowflake/get_failover_groups.py +7 -6
- pulumi_snowflake/get_file_formats.py +12 -11
- pulumi_snowflake/get_functions.py +12 -11
- pulumi_snowflake/get_grants.py +2 -1
- pulumi_snowflake/get_masking_policies.py +12 -11
- pulumi_snowflake/get_materialized_views.py +12 -11
- pulumi_snowflake/get_network_policies.py +12 -11
- pulumi_snowflake/get_parameters.py +27 -26
- pulumi_snowflake/get_pipes.py +12 -11
- pulumi_snowflake/get_procedures.py +12 -11
- pulumi_snowflake/get_resource_monitors.py +7 -6
- pulumi_snowflake/get_row_access_policies.py +12 -11
- pulumi_snowflake/get_schemas.py +22 -21
- pulumi_snowflake/get_secrets.py +12 -11
- pulumi_snowflake/get_security_integrations.py +12 -11
- pulumi_snowflake/get_sequences.py +12 -11
- pulumi_snowflake/get_shares.py +7 -6
- pulumi_snowflake/get_stages.py +12 -11
- pulumi_snowflake/get_storage_integrations.py +2 -1
- pulumi_snowflake/get_streamlits.py +12 -11
- pulumi_snowflake/get_streams.py +17 -16
- pulumi_snowflake/get_system_generate_scim_access_token.py +8 -7
- pulumi_snowflake/get_system_get_aws_sns_iam_policy.py +8 -7
- pulumi_snowflake/get_system_get_private_link_config.py +11 -10
- pulumi_snowflake/get_system_get_snowflake_platform_info.py +4 -3
- pulumi_snowflake/get_tables.py +12 -11
- pulumi_snowflake/get_tags.py +7 -6
- pulumi_snowflake/get_tasks.py +22 -21
- pulumi_snowflake/get_users.py +22 -21
- pulumi_snowflake/get_views.py +17 -16
- pulumi_snowflake/get_warehouses.py +17 -16
- pulumi_snowflake/grant_account_role.py +43 -42
- pulumi_snowflake/grant_application_role.py +43 -42
- pulumi_snowflake/grant_database_role.py +57 -56
- pulumi_snowflake/grant_ownership.py +43 -42
- pulumi_snowflake/grant_privileges_to_account_role.py +95 -94
- pulumi_snowflake/grant_privileges_to_database_role.py +95 -94
- pulumi_snowflake/grant_privileges_to_share.py +127 -126
- pulumi_snowflake/legacy_service_user.py +1039 -1038
- pulumi_snowflake/managed_account.py +113 -112
- pulumi_snowflake/masking_policy.py +106 -105
- pulumi_snowflake/materialized_view.py +120 -119
- pulumi_snowflake/network_policy.py +92 -91
- pulumi_snowflake/network_policy_attachment.py +43 -42
- pulumi_snowflake/network_rule.py +106 -105
- pulumi_snowflake/notification_integration.py +238 -237
- pulumi_snowflake/oauth_integration_for_custom_clients.py +210 -209
- pulumi_snowflake/oauth_integration_for_partner_applications.py +134 -133
- pulumi_snowflake/object_parameter.py +57 -56
- pulumi_snowflake/outputs.py +9273 -9272
- pulumi_snowflake/password_policy.py +246 -245
- pulumi_snowflake/pipe.py +148 -147
- pulumi_snowflake/primary_connection.py +55 -54
- pulumi_snowflake/procedure_java.py +267 -266
- pulumi_snowflake/procedure_javascript.py +197 -196
- pulumi_snowflake/procedure_python.py +267 -266
- pulumi_snowflake/procedure_scala.py +267 -266
- pulumi_snowflake/procedure_sql.py +197 -196
- pulumi_snowflake/provider.py +303 -302
- pulumi_snowflake/pulumi-plugin.json +1 -1
- pulumi_snowflake/resource_monitor.py +134 -133
- pulumi_snowflake/row_access_policy.py +78 -77
- pulumi_snowflake/saml2_integration.py +246 -245
- pulumi_snowflake/schema.py +316 -315
- pulumi_snowflake/scim_integration.py +106 -105
- pulumi_snowflake/secondary_connection.py +57 -56
- pulumi_snowflake/secondary_database.py +288 -287
- pulumi_snowflake/secret_with_authorization_code_grant.py +109 -108
- pulumi_snowflake/secret_with_basic_authentication.py +95 -94
- pulumi_snowflake/secret_with_client_credentials.py +99 -98
- pulumi_snowflake/secret_with_generic_string.py +81 -80
- pulumi_snowflake/sequence.py +99 -98
- pulumi_snowflake/service_user.py +1015 -1014
- pulumi_snowflake/share.py +50 -49
- pulumi_snowflake/shared_database.py +246 -245
- pulumi_snowflake/stage.py +190 -189
- pulumi_snowflake/storage_integration.py +166 -165
- pulumi_snowflake/stream_on_directory_table.py +100 -99
- pulumi_snowflake/stream_on_external_table.py +114 -113
- pulumi_snowflake/stream_on_table.py +124 -123
- pulumi_snowflake/stream_on_view.py +124 -123
- pulumi_snowflake/streamlit.py +148 -147
- pulumi_snowflake/table.py +113 -112
- pulumi_snowflake/table_column_masking_policy_application.py +43 -42
- pulumi_snowflake/table_constraint.py +155 -154
- pulumi_snowflake/tag.py +92 -91
- pulumi_snowflake/tag_association.py +71 -70
- pulumi_snowflake/task.py +1002 -1001
- pulumi_snowflake/user.py +1101 -1100
- pulumi_snowflake/user_authentication_policy_attachment.py +29 -28
- pulumi_snowflake/user_password_policy_attachment.py +29 -28
- pulumi_snowflake/user_public_keys.py +43 -42
- pulumi_snowflake/view.py +136 -135
- pulumi_snowflake/warehouse.py +232 -231
- {pulumi_snowflake-1.2.0a1743489585.dist-info → pulumi_snowflake-1.2.0a1744183688.dist-info}/METADATA +1 -1
- pulumi_snowflake-1.2.0a1744183688.dist-info/RECORD +148 -0
- pulumi_snowflake-1.2.0a1743489585.dist-info/RECORD +0 -148
- {pulumi_snowflake-1.2.0a1743489585.dist-info → pulumi_snowflake-1.2.0a1744183688.dist-info}/WHEEL +0 -0
- {pulumi_snowflake-1.2.0a1743489585.dist-info → pulumi_snowflake-1.2.0a1744183688.dist-info}/top_level.txt +0 -0
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
|
3
3
|
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
4
|
|
|
5
|
+
import builtins
|
|
5
6
|
import copy
|
|
6
7
|
import warnings
|
|
7
8
|
import sys
|
|
@@ -21,28 +22,28 @@ __all__ = ['ApiAuthenticationIntegrationWithJwtBearerArgs', 'ApiAuthenticationIn
|
|
|
21
22
|
@pulumi.input_type
|
|
22
23
|
class ApiAuthenticationIntegrationWithJwtBearerArgs:
|
|
23
24
|
def __init__(__self__, *,
|
|
24
|
-
enabled: pulumi.Input[bool],
|
|
25
|
-
oauth_assertion_issuer: pulumi.Input[str],
|
|
26
|
-
oauth_client_id: pulumi.Input[str],
|
|
27
|
-
oauth_client_secret: pulumi.Input[str],
|
|
28
|
-
comment: Optional[pulumi.Input[str]] = None,
|
|
29
|
-
name: Optional[pulumi.Input[str]] = None,
|
|
30
|
-
oauth_access_token_validity: Optional[pulumi.Input[int]] = None,
|
|
31
|
-
oauth_authorization_endpoint: Optional[pulumi.Input[str]] = None,
|
|
32
|
-
oauth_client_auth_method: Optional[pulumi.Input[str]] = None,
|
|
33
|
-
oauth_refresh_token_validity: Optional[pulumi.Input[int]] = None,
|
|
34
|
-
oauth_token_endpoint: Optional[pulumi.Input[str]] = None):
|
|
25
|
+
enabled: pulumi.Input[builtins.bool],
|
|
26
|
+
oauth_assertion_issuer: pulumi.Input[builtins.str],
|
|
27
|
+
oauth_client_id: pulumi.Input[builtins.str],
|
|
28
|
+
oauth_client_secret: pulumi.Input[builtins.str],
|
|
29
|
+
comment: Optional[pulumi.Input[builtins.str]] = None,
|
|
30
|
+
name: Optional[pulumi.Input[builtins.str]] = None,
|
|
31
|
+
oauth_access_token_validity: Optional[pulumi.Input[builtins.int]] = None,
|
|
32
|
+
oauth_authorization_endpoint: Optional[pulumi.Input[builtins.str]] = None,
|
|
33
|
+
oauth_client_auth_method: Optional[pulumi.Input[builtins.str]] = None,
|
|
34
|
+
oauth_refresh_token_validity: Optional[pulumi.Input[builtins.int]] = None,
|
|
35
|
+
oauth_token_endpoint: Optional[pulumi.Input[builtins.str]] = None):
|
|
35
36
|
"""
|
|
36
37
|
The set of arguments for constructing a ApiAuthenticationIntegrationWithJwtBearer resource.
|
|
37
|
-
:param pulumi.Input[bool] enabled: Specifies whether this security integration is enabled or disabled.
|
|
38
|
-
:param pulumi.Input[str] oauth_client_id: Specifies the client ID for the OAuth application in the external service.
|
|
39
|
-
:param pulumi.Input[str] comment: Specifies a comment for the integration.
|
|
40
|
-
:param pulumi.Input[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[int] oauth_access_token_validity: Specifies the default lifetime of the OAuth access token (in seconds) issued by an OAuth server.
|
|
42
|
-
:param pulumi.Input[str] oauth_authorization_endpoint: Specifies the URL for authenticating to the external service.
|
|
43
|
-
:param pulumi.Input[str] oauth_client_auth_method: Specifies that POST is used as the authentication method to the external service. If removed from the config, the resource is recreated. Valid values are (case-insensitive): `CLIENT_SECRET_POST`.
|
|
44
|
-
:param pulumi.Input[int] oauth_refresh_token_validity: Specifies the value to determine the validity of the refresh token obtained from the OAuth server.
|
|
45
|
-
:param pulumi.Input[str] oauth_token_endpoint: Specifies the token endpoint used by the client to obtain an access token by presenting its authorization grant or refresh token. The token endpoint is used with every authorization grant except for the implicit grant type (since an access token is issued directly). If removed from the config, the resource is recreated.
|
|
38
|
+
:param pulumi.Input[builtins.bool] enabled: Specifies whether this security integration is enabled or disabled.
|
|
39
|
+
:param pulumi.Input[builtins.str] oauth_client_id: Specifies the client ID for the OAuth application in the external service.
|
|
40
|
+
:param pulumi.Input[builtins.str] comment: Specifies a comment for the integration.
|
|
41
|
+
: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: `|`, `.`, `"`.
|
|
42
|
+
:param pulumi.Input[builtins.int] oauth_access_token_validity: Specifies the default lifetime of the OAuth access token (in seconds) issued by an OAuth server.
|
|
43
|
+
:param pulumi.Input[builtins.str] oauth_authorization_endpoint: Specifies the URL for authenticating to the external service.
|
|
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.
|
|
46
47
|
"""
|
|
47
48
|
pulumi.set(__self__, "enabled", enabled)
|
|
48
49
|
pulumi.set(__self__, "oauth_assertion_issuer", oauth_assertion_issuer)
|
|
@@ -65,161 +66,161 @@ class ApiAuthenticationIntegrationWithJwtBearerArgs:
|
|
|
65
66
|
|
|
66
67
|
@property
|
|
67
68
|
@pulumi.getter
|
|
68
|
-
def enabled(self) -> pulumi.Input[bool]:
|
|
69
|
+
def enabled(self) -> pulumi.Input[builtins.bool]:
|
|
69
70
|
"""
|
|
70
71
|
Specifies whether this security integration is enabled or disabled.
|
|
71
72
|
"""
|
|
72
73
|
return pulumi.get(self, "enabled")
|
|
73
74
|
|
|
74
75
|
@enabled.setter
|
|
75
|
-
def enabled(self, value: pulumi.Input[bool]):
|
|
76
|
+
def enabled(self, value: pulumi.Input[builtins.bool]):
|
|
76
77
|
pulumi.set(self, "enabled", value)
|
|
77
78
|
|
|
78
79
|
@property
|
|
79
80
|
@pulumi.getter(name="oauthAssertionIssuer")
|
|
80
|
-
def oauth_assertion_issuer(self) -> pulumi.Input[str]:
|
|
81
|
+
def oauth_assertion_issuer(self) -> pulumi.Input[builtins.str]:
|
|
81
82
|
return pulumi.get(self, "oauth_assertion_issuer")
|
|
82
83
|
|
|
83
84
|
@oauth_assertion_issuer.setter
|
|
84
|
-
def oauth_assertion_issuer(self, value: pulumi.Input[str]):
|
|
85
|
+
def oauth_assertion_issuer(self, value: pulumi.Input[builtins.str]):
|
|
85
86
|
pulumi.set(self, "oauth_assertion_issuer", value)
|
|
86
87
|
|
|
87
88
|
@property
|
|
88
89
|
@pulumi.getter(name="oauthClientId")
|
|
89
|
-
def oauth_client_id(self) -> pulumi.Input[str]:
|
|
90
|
+
def oauth_client_id(self) -> pulumi.Input[builtins.str]:
|
|
90
91
|
"""
|
|
91
92
|
Specifies the client ID for the OAuth application in the external service.
|
|
92
93
|
"""
|
|
93
94
|
return pulumi.get(self, "oauth_client_id")
|
|
94
95
|
|
|
95
96
|
@oauth_client_id.setter
|
|
96
|
-
def oauth_client_id(self, value: pulumi.Input[str]):
|
|
97
|
+
def oauth_client_id(self, value: pulumi.Input[builtins.str]):
|
|
97
98
|
pulumi.set(self, "oauth_client_id", value)
|
|
98
99
|
|
|
99
100
|
@property
|
|
100
101
|
@pulumi.getter(name="oauthClientSecret")
|
|
101
|
-
def oauth_client_secret(self) -> pulumi.Input[str]:
|
|
102
|
+
def oauth_client_secret(self) -> pulumi.Input[builtins.str]:
|
|
102
103
|
return pulumi.get(self, "oauth_client_secret")
|
|
103
104
|
|
|
104
105
|
@oauth_client_secret.setter
|
|
105
|
-
def oauth_client_secret(self, value: pulumi.Input[str]):
|
|
106
|
+
def oauth_client_secret(self, value: pulumi.Input[builtins.str]):
|
|
106
107
|
pulumi.set(self, "oauth_client_secret", value)
|
|
107
108
|
|
|
108
109
|
@property
|
|
109
110
|
@pulumi.getter
|
|
110
|
-
def comment(self) -> Optional[pulumi.Input[str]]:
|
|
111
|
+
def comment(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
111
112
|
"""
|
|
112
113
|
Specifies a comment for the integration.
|
|
113
114
|
"""
|
|
114
115
|
return pulumi.get(self, "comment")
|
|
115
116
|
|
|
116
117
|
@comment.setter
|
|
117
|
-
def comment(self, value: Optional[pulumi.Input[str]]):
|
|
118
|
+
def comment(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
118
119
|
pulumi.set(self, "comment", value)
|
|
119
120
|
|
|
120
121
|
@property
|
|
121
122
|
@pulumi.getter
|
|
122
|
-
def name(self) -> Optional[pulumi.Input[str]]:
|
|
123
|
+
def name(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
123
124
|
"""
|
|
124
125
|
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: `|`, `.`, `"`.
|
|
125
126
|
"""
|
|
126
127
|
return pulumi.get(self, "name")
|
|
127
128
|
|
|
128
129
|
@name.setter
|
|
129
|
-
def name(self, value: Optional[pulumi.Input[str]]):
|
|
130
|
+
def name(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
130
131
|
pulumi.set(self, "name", value)
|
|
131
132
|
|
|
132
133
|
@property
|
|
133
134
|
@pulumi.getter(name="oauthAccessTokenValidity")
|
|
134
|
-
def oauth_access_token_validity(self) -> Optional[pulumi.Input[int]]:
|
|
135
|
+
def oauth_access_token_validity(self) -> Optional[pulumi.Input[builtins.int]]:
|
|
135
136
|
"""
|
|
136
137
|
Specifies the default lifetime of the OAuth access token (in seconds) issued by an OAuth server.
|
|
137
138
|
"""
|
|
138
139
|
return pulumi.get(self, "oauth_access_token_validity")
|
|
139
140
|
|
|
140
141
|
@oauth_access_token_validity.setter
|
|
141
|
-
def oauth_access_token_validity(self, value: Optional[pulumi.Input[int]]):
|
|
142
|
+
def oauth_access_token_validity(self, value: Optional[pulumi.Input[builtins.int]]):
|
|
142
143
|
pulumi.set(self, "oauth_access_token_validity", value)
|
|
143
144
|
|
|
144
145
|
@property
|
|
145
146
|
@pulumi.getter(name="oauthAuthorizationEndpoint")
|
|
146
|
-
def oauth_authorization_endpoint(self) -> Optional[pulumi.Input[str]]:
|
|
147
|
+
def oauth_authorization_endpoint(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
147
148
|
"""
|
|
148
149
|
Specifies the URL for authenticating to the external service.
|
|
149
150
|
"""
|
|
150
151
|
return pulumi.get(self, "oauth_authorization_endpoint")
|
|
151
152
|
|
|
152
153
|
@oauth_authorization_endpoint.setter
|
|
153
|
-
def oauth_authorization_endpoint(self, value: Optional[pulumi.Input[str]]):
|
|
154
|
+
def oauth_authorization_endpoint(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
154
155
|
pulumi.set(self, "oauth_authorization_endpoint", value)
|
|
155
156
|
|
|
156
157
|
@property
|
|
157
158
|
@pulumi.getter(name="oauthClientAuthMethod")
|
|
158
|
-
def oauth_client_auth_method(self) -> Optional[pulumi.Input[str]]:
|
|
159
|
+
def oauth_client_auth_method(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
159
160
|
"""
|
|
160
161
|
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`.
|
|
161
162
|
"""
|
|
162
163
|
return pulumi.get(self, "oauth_client_auth_method")
|
|
163
164
|
|
|
164
165
|
@oauth_client_auth_method.setter
|
|
165
|
-
def oauth_client_auth_method(self, value: Optional[pulumi.Input[str]]):
|
|
166
|
+
def oauth_client_auth_method(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
166
167
|
pulumi.set(self, "oauth_client_auth_method", value)
|
|
167
168
|
|
|
168
169
|
@property
|
|
169
170
|
@pulumi.getter(name="oauthRefreshTokenValidity")
|
|
170
|
-
def oauth_refresh_token_validity(self) -> Optional[pulumi.Input[int]]:
|
|
171
|
+
def oauth_refresh_token_validity(self) -> Optional[pulumi.Input[builtins.int]]:
|
|
171
172
|
"""
|
|
172
173
|
Specifies the value to determine the validity of the refresh token obtained from the OAuth server.
|
|
173
174
|
"""
|
|
174
175
|
return pulumi.get(self, "oauth_refresh_token_validity")
|
|
175
176
|
|
|
176
177
|
@oauth_refresh_token_validity.setter
|
|
177
|
-
def oauth_refresh_token_validity(self, value: Optional[pulumi.Input[int]]):
|
|
178
|
+
def oauth_refresh_token_validity(self, value: Optional[pulumi.Input[builtins.int]]):
|
|
178
179
|
pulumi.set(self, "oauth_refresh_token_validity", value)
|
|
179
180
|
|
|
180
181
|
@property
|
|
181
182
|
@pulumi.getter(name="oauthTokenEndpoint")
|
|
182
|
-
def oauth_token_endpoint(self) -> Optional[pulumi.Input[str]]:
|
|
183
|
+
def oauth_token_endpoint(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
183
184
|
"""
|
|
184
185
|
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.
|
|
185
186
|
"""
|
|
186
187
|
return pulumi.get(self, "oauth_token_endpoint")
|
|
187
188
|
|
|
188
189
|
@oauth_token_endpoint.setter
|
|
189
|
-
def oauth_token_endpoint(self, value: Optional[pulumi.Input[str]]):
|
|
190
|
+
def oauth_token_endpoint(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
190
191
|
pulumi.set(self, "oauth_token_endpoint", value)
|
|
191
192
|
|
|
192
193
|
|
|
193
194
|
@pulumi.input_type
|
|
194
195
|
class _ApiAuthenticationIntegrationWithJwtBearerState:
|
|
195
196
|
def __init__(__self__, *,
|
|
196
|
-
comment: Optional[pulumi.Input[str]] = None,
|
|
197
|
+
comment: Optional[pulumi.Input[builtins.str]] = None,
|
|
197
198
|
describe_outputs: Optional[pulumi.Input[Sequence[pulumi.Input['ApiAuthenticationIntegrationWithJwtBearerDescribeOutputArgs']]]] = None,
|
|
198
|
-
enabled: Optional[pulumi.Input[bool]] = None,
|
|
199
|
-
fully_qualified_name: Optional[pulumi.Input[str]] = None,
|
|
200
|
-
name: Optional[pulumi.Input[str]] = None,
|
|
201
|
-
oauth_access_token_validity: Optional[pulumi.Input[int]] = None,
|
|
202
|
-
oauth_assertion_issuer: Optional[pulumi.Input[str]] = None,
|
|
203
|
-
oauth_authorization_endpoint: Optional[pulumi.Input[str]] = None,
|
|
204
|
-
oauth_client_auth_method: Optional[pulumi.Input[str]] = None,
|
|
205
|
-
oauth_client_id: Optional[pulumi.Input[str]] = None,
|
|
206
|
-
oauth_client_secret: Optional[pulumi.Input[str]] = None,
|
|
207
|
-
oauth_refresh_token_validity: Optional[pulumi.Input[int]] = None,
|
|
208
|
-
oauth_token_endpoint: Optional[pulumi.Input[str]] = None,
|
|
199
|
+
enabled: Optional[pulumi.Input[builtins.bool]] = None,
|
|
200
|
+
fully_qualified_name: Optional[pulumi.Input[builtins.str]] = None,
|
|
201
|
+
name: Optional[pulumi.Input[builtins.str]] = None,
|
|
202
|
+
oauth_access_token_validity: Optional[pulumi.Input[builtins.int]] = None,
|
|
203
|
+
oauth_assertion_issuer: Optional[pulumi.Input[builtins.str]] = None,
|
|
204
|
+
oauth_authorization_endpoint: Optional[pulumi.Input[builtins.str]] = None,
|
|
205
|
+
oauth_client_auth_method: Optional[pulumi.Input[builtins.str]] = None,
|
|
206
|
+
oauth_client_id: Optional[pulumi.Input[builtins.str]] = None,
|
|
207
|
+
oauth_client_secret: Optional[pulumi.Input[builtins.str]] = None,
|
|
208
|
+
oauth_refresh_token_validity: Optional[pulumi.Input[builtins.int]] = None,
|
|
209
|
+
oauth_token_endpoint: Optional[pulumi.Input[builtins.str]] = None,
|
|
209
210
|
show_outputs: Optional[pulumi.Input[Sequence[pulumi.Input['ApiAuthenticationIntegrationWithJwtBearerShowOutputArgs']]]] = None):
|
|
210
211
|
"""
|
|
211
212
|
Input properties used for looking up and filtering ApiAuthenticationIntegrationWithJwtBearer resources.
|
|
212
|
-
:param pulumi.Input[str] comment: Specifies a comment for the integration.
|
|
213
|
+
:param pulumi.Input[builtins.str] comment: Specifies a comment for the integration.
|
|
213
214
|
:param pulumi.Input[Sequence[pulumi.Input['ApiAuthenticationIntegrationWithJwtBearerDescribeOutputArgs']]] describe_outputs: Outputs the result of `DESCRIBE SECURITY INTEGRATIONS` for the given security integration.
|
|
214
|
-
:param pulumi.Input[bool] enabled: Specifies whether this security integration is enabled or disabled.
|
|
215
|
-
: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).
|
|
216
|
-
:param pulumi.Input[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: `|`, `.`, `"`.
|
|
217
|
-
:param pulumi.Input[int] oauth_access_token_validity: Specifies the default lifetime of the OAuth access token (in seconds) issued by an OAuth server.
|
|
218
|
-
:param pulumi.Input[str] oauth_authorization_endpoint: Specifies the URL for authenticating to the external service.
|
|
219
|
-
:param pulumi.Input[str] oauth_client_auth_method: Specifies that POST is used as the authentication method to the external service. If removed from the config, the resource is recreated. Valid values are (case-insensitive): `CLIENT_SECRET_POST`.
|
|
220
|
-
:param pulumi.Input[str] oauth_client_id: Specifies the client ID for the OAuth application in the external service.
|
|
221
|
-
:param pulumi.Input[int] oauth_refresh_token_validity: Specifies the value to determine the validity of the refresh token obtained from the OAuth server.
|
|
222
|
-
:param pulumi.Input[str] oauth_token_endpoint: Specifies the token endpoint used by the client to obtain an access token by presenting its authorization grant or refresh token. The token endpoint is used with every authorization grant except for the implicit grant type (since an access token is issued directly). If removed from the config, the resource is recreated.
|
|
215
|
+
:param pulumi.Input[builtins.bool] enabled: Specifies whether this security integration is enabled or disabled.
|
|
216
|
+
: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).
|
|
217
|
+
: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: `|`, `.`, `"`.
|
|
218
|
+
:param pulumi.Input[builtins.int] oauth_access_token_validity: Specifies the default lifetime of the OAuth access token (in seconds) issued by an OAuth server.
|
|
219
|
+
:param pulumi.Input[builtins.str] oauth_authorization_endpoint: Specifies the URL for authenticating to the external service.
|
|
220
|
+
: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`.
|
|
221
|
+
:param pulumi.Input[builtins.str] oauth_client_id: Specifies the client ID for the OAuth application in the external service.
|
|
222
|
+
: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.
|
|
223
|
+
: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.
|
|
223
224
|
:param pulumi.Input[Sequence[pulumi.Input['ApiAuthenticationIntegrationWithJwtBearerShowOutputArgs']]] show_outputs: Outputs the result of `SHOW SECURITY INTEGRATIONS` for the given security integration.
|
|
224
225
|
"""
|
|
225
226
|
if comment is not None:
|
|
@@ -253,14 +254,14 @@ class _ApiAuthenticationIntegrationWithJwtBearerState:
|
|
|
253
254
|
|
|
254
255
|
@property
|
|
255
256
|
@pulumi.getter
|
|
256
|
-
def comment(self) -> Optional[pulumi.Input[str]]:
|
|
257
|
+
def comment(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
257
258
|
"""
|
|
258
259
|
Specifies a comment for the integration.
|
|
259
260
|
"""
|
|
260
261
|
return pulumi.get(self, "comment")
|
|
261
262
|
|
|
262
263
|
@comment.setter
|
|
263
|
-
def comment(self, value: Optional[pulumi.Input[str]]):
|
|
264
|
+
def comment(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
264
265
|
pulumi.set(self, "comment", value)
|
|
265
266
|
|
|
266
267
|
@property
|
|
@@ -277,128 +278,128 @@ class _ApiAuthenticationIntegrationWithJwtBearerState:
|
|
|
277
278
|
|
|
278
279
|
@property
|
|
279
280
|
@pulumi.getter
|
|
280
|
-
def enabled(self) -> Optional[pulumi.Input[bool]]:
|
|
281
|
+
def enabled(self) -> Optional[pulumi.Input[builtins.bool]]:
|
|
281
282
|
"""
|
|
282
283
|
Specifies whether this security integration is enabled or disabled.
|
|
283
284
|
"""
|
|
284
285
|
return pulumi.get(self, "enabled")
|
|
285
286
|
|
|
286
287
|
@enabled.setter
|
|
287
|
-
def enabled(self, value: Optional[pulumi.Input[bool]]):
|
|
288
|
+
def enabled(self, value: Optional[pulumi.Input[builtins.bool]]):
|
|
288
289
|
pulumi.set(self, "enabled", value)
|
|
289
290
|
|
|
290
291
|
@property
|
|
291
292
|
@pulumi.getter(name="fullyQualifiedName")
|
|
292
|
-
def fully_qualified_name(self) -> Optional[pulumi.Input[str]]:
|
|
293
|
+
def fully_qualified_name(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
293
294
|
"""
|
|
294
295
|
Fully qualified name of the resource. For more information, see [object name resolution](https://docs.snowflake.com/en/sql-reference/name-resolution).
|
|
295
296
|
"""
|
|
296
297
|
return pulumi.get(self, "fully_qualified_name")
|
|
297
298
|
|
|
298
299
|
@fully_qualified_name.setter
|
|
299
|
-
def fully_qualified_name(self, value: Optional[pulumi.Input[str]]):
|
|
300
|
+
def fully_qualified_name(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
300
301
|
pulumi.set(self, "fully_qualified_name", value)
|
|
301
302
|
|
|
302
303
|
@property
|
|
303
304
|
@pulumi.getter
|
|
304
|
-
def name(self) -> Optional[pulumi.Input[str]]:
|
|
305
|
+
def name(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
305
306
|
"""
|
|
306
307
|
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: `|`, `.`, `"`.
|
|
307
308
|
"""
|
|
308
309
|
return pulumi.get(self, "name")
|
|
309
310
|
|
|
310
311
|
@name.setter
|
|
311
|
-
def name(self, value: Optional[pulumi.Input[str]]):
|
|
312
|
+
def name(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
312
313
|
pulumi.set(self, "name", value)
|
|
313
314
|
|
|
314
315
|
@property
|
|
315
316
|
@pulumi.getter(name="oauthAccessTokenValidity")
|
|
316
|
-
def oauth_access_token_validity(self) -> Optional[pulumi.Input[int]]:
|
|
317
|
+
def oauth_access_token_validity(self) -> Optional[pulumi.Input[builtins.int]]:
|
|
317
318
|
"""
|
|
318
319
|
Specifies the default lifetime of the OAuth access token (in seconds) issued by an OAuth server.
|
|
319
320
|
"""
|
|
320
321
|
return pulumi.get(self, "oauth_access_token_validity")
|
|
321
322
|
|
|
322
323
|
@oauth_access_token_validity.setter
|
|
323
|
-
def oauth_access_token_validity(self, value: Optional[pulumi.Input[int]]):
|
|
324
|
+
def oauth_access_token_validity(self, value: Optional[pulumi.Input[builtins.int]]):
|
|
324
325
|
pulumi.set(self, "oauth_access_token_validity", value)
|
|
325
326
|
|
|
326
327
|
@property
|
|
327
328
|
@pulumi.getter(name="oauthAssertionIssuer")
|
|
328
|
-
def oauth_assertion_issuer(self) -> Optional[pulumi.Input[str]]:
|
|
329
|
+
def oauth_assertion_issuer(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
329
330
|
return pulumi.get(self, "oauth_assertion_issuer")
|
|
330
331
|
|
|
331
332
|
@oauth_assertion_issuer.setter
|
|
332
|
-
def oauth_assertion_issuer(self, value: Optional[pulumi.Input[str]]):
|
|
333
|
+
def oauth_assertion_issuer(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
333
334
|
pulumi.set(self, "oauth_assertion_issuer", value)
|
|
334
335
|
|
|
335
336
|
@property
|
|
336
337
|
@pulumi.getter(name="oauthAuthorizationEndpoint")
|
|
337
|
-
def oauth_authorization_endpoint(self) -> Optional[pulumi.Input[str]]:
|
|
338
|
+
def oauth_authorization_endpoint(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
338
339
|
"""
|
|
339
340
|
Specifies the URL for authenticating to the external service.
|
|
340
341
|
"""
|
|
341
342
|
return pulumi.get(self, "oauth_authorization_endpoint")
|
|
342
343
|
|
|
343
344
|
@oauth_authorization_endpoint.setter
|
|
344
|
-
def oauth_authorization_endpoint(self, value: Optional[pulumi.Input[str]]):
|
|
345
|
+
def oauth_authorization_endpoint(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
345
346
|
pulumi.set(self, "oauth_authorization_endpoint", value)
|
|
346
347
|
|
|
347
348
|
@property
|
|
348
349
|
@pulumi.getter(name="oauthClientAuthMethod")
|
|
349
|
-
def oauth_client_auth_method(self) -> Optional[pulumi.Input[str]]:
|
|
350
|
+
def oauth_client_auth_method(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
350
351
|
"""
|
|
351
352
|
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`.
|
|
352
353
|
"""
|
|
353
354
|
return pulumi.get(self, "oauth_client_auth_method")
|
|
354
355
|
|
|
355
356
|
@oauth_client_auth_method.setter
|
|
356
|
-
def oauth_client_auth_method(self, value: Optional[pulumi.Input[str]]):
|
|
357
|
+
def oauth_client_auth_method(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
357
358
|
pulumi.set(self, "oauth_client_auth_method", value)
|
|
358
359
|
|
|
359
360
|
@property
|
|
360
361
|
@pulumi.getter(name="oauthClientId")
|
|
361
|
-
def oauth_client_id(self) -> Optional[pulumi.Input[str]]:
|
|
362
|
+
def oauth_client_id(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
362
363
|
"""
|
|
363
364
|
Specifies the client ID for the OAuth application in the external service.
|
|
364
365
|
"""
|
|
365
366
|
return pulumi.get(self, "oauth_client_id")
|
|
366
367
|
|
|
367
368
|
@oauth_client_id.setter
|
|
368
|
-
def oauth_client_id(self, value: Optional[pulumi.Input[str]]):
|
|
369
|
+
def oauth_client_id(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
369
370
|
pulumi.set(self, "oauth_client_id", value)
|
|
370
371
|
|
|
371
372
|
@property
|
|
372
373
|
@pulumi.getter(name="oauthClientSecret")
|
|
373
|
-
def oauth_client_secret(self) -> Optional[pulumi.Input[str]]:
|
|
374
|
+
def oauth_client_secret(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
374
375
|
return pulumi.get(self, "oauth_client_secret")
|
|
375
376
|
|
|
376
377
|
@oauth_client_secret.setter
|
|
377
|
-
def oauth_client_secret(self, value: Optional[pulumi.Input[str]]):
|
|
378
|
+
def oauth_client_secret(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
378
379
|
pulumi.set(self, "oauth_client_secret", value)
|
|
379
380
|
|
|
380
381
|
@property
|
|
381
382
|
@pulumi.getter(name="oauthRefreshTokenValidity")
|
|
382
|
-
def oauth_refresh_token_validity(self) -> Optional[pulumi.Input[int]]:
|
|
383
|
+
def oauth_refresh_token_validity(self) -> Optional[pulumi.Input[builtins.int]]:
|
|
383
384
|
"""
|
|
384
385
|
Specifies the value to determine the validity of the refresh token obtained from the OAuth server.
|
|
385
386
|
"""
|
|
386
387
|
return pulumi.get(self, "oauth_refresh_token_validity")
|
|
387
388
|
|
|
388
389
|
@oauth_refresh_token_validity.setter
|
|
389
|
-
def oauth_refresh_token_validity(self, value: Optional[pulumi.Input[int]]):
|
|
390
|
+
def oauth_refresh_token_validity(self, value: Optional[pulumi.Input[builtins.int]]):
|
|
390
391
|
pulumi.set(self, "oauth_refresh_token_validity", value)
|
|
391
392
|
|
|
392
393
|
@property
|
|
393
394
|
@pulumi.getter(name="oauthTokenEndpoint")
|
|
394
|
-
def oauth_token_endpoint(self) -> Optional[pulumi.Input[str]]:
|
|
395
|
+
def oauth_token_endpoint(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
395
396
|
"""
|
|
396
397
|
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.
|
|
397
398
|
"""
|
|
398
399
|
return pulumi.get(self, "oauth_token_endpoint")
|
|
399
400
|
|
|
400
401
|
@oauth_token_endpoint.setter
|
|
401
|
-
def oauth_token_endpoint(self, value: Optional[pulumi.Input[str]]):
|
|
402
|
+
def oauth_token_endpoint(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
402
403
|
pulumi.set(self, "oauth_token_endpoint", value)
|
|
403
404
|
|
|
404
405
|
@property
|
|
@@ -419,17 +420,17 @@ class ApiAuthenticationIntegrationWithJwtBearer(pulumi.CustomResource):
|
|
|
419
420
|
def __init__(__self__,
|
|
420
421
|
resource_name: str,
|
|
421
422
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
422
|
-
comment: Optional[pulumi.Input[str]] = None,
|
|
423
|
-
enabled: Optional[pulumi.Input[bool]] = None,
|
|
424
|
-
name: Optional[pulumi.Input[str]] = None,
|
|
425
|
-
oauth_access_token_validity: Optional[pulumi.Input[int]] = None,
|
|
426
|
-
oauth_assertion_issuer: Optional[pulumi.Input[str]] = None,
|
|
427
|
-
oauth_authorization_endpoint: Optional[pulumi.Input[str]] = None,
|
|
428
|
-
oauth_client_auth_method: Optional[pulumi.Input[str]] = None,
|
|
429
|
-
oauth_client_id: Optional[pulumi.Input[str]] = None,
|
|
430
|
-
oauth_client_secret: Optional[pulumi.Input[str]] = None,
|
|
431
|
-
oauth_refresh_token_validity: Optional[pulumi.Input[int]] = None,
|
|
432
|
-
oauth_token_endpoint: Optional[pulumi.Input[str]] = None,
|
|
423
|
+
comment: Optional[pulumi.Input[builtins.str]] = None,
|
|
424
|
+
enabled: Optional[pulumi.Input[builtins.bool]] = None,
|
|
425
|
+
name: Optional[pulumi.Input[builtins.str]] = None,
|
|
426
|
+
oauth_access_token_validity: Optional[pulumi.Input[builtins.int]] = None,
|
|
427
|
+
oauth_assertion_issuer: Optional[pulumi.Input[builtins.str]] = None,
|
|
428
|
+
oauth_authorization_endpoint: Optional[pulumi.Input[builtins.str]] = None,
|
|
429
|
+
oauth_client_auth_method: Optional[pulumi.Input[builtins.str]] = None,
|
|
430
|
+
oauth_client_id: Optional[pulumi.Input[builtins.str]] = None,
|
|
431
|
+
oauth_client_secret: Optional[pulumi.Input[builtins.str]] = None,
|
|
432
|
+
oauth_refresh_token_validity: Optional[pulumi.Input[builtins.int]] = None,
|
|
433
|
+
oauth_token_endpoint: Optional[pulumi.Input[builtins.str]] = None,
|
|
433
434
|
__props__=None):
|
|
434
435
|
"""
|
|
435
436
|
## Import
|
|
@@ -440,15 +441,15 @@ class ApiAuthenticationIntegrationWithJwtBearer(pulumi.CustomResource):
|
|
|
440
441
|
|
|
441
442
|
:param str resource_name: The name of the resource.
|
|
442
443
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
443
|
-
:param pulumi.Input[str] comment: Specifies a comment for the integration.
|
|
444
|
-
:param pulumi.Input[bool] enabled: Specifies whether this security integration is enabled or disabled.
|
|
445
|
-
:param pulumi.Input[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: `|`, `.`, `"`.
|
|
446
|
-
:param pulumi.Input[int] oauth_access_token_validity: Specifies the default lifetime of the OAuth access token (in seconds) issued by an OAuth server.
|
|
447
|
-
:param pulumi.Input[str] oauth_authorization_endpoint: Specifies the URL for authenticating to the external service.
|
|
448
|
-
:param pulumi.Input[str] oauth_client_auth_method: Specifies that POST is used as the authentication method to the external service. If removed from the config, the resource is recreated. Valid values are (case-insensitive): `CLIENT_SECRET_POST`.
|
|
449
|
-
:param pulumi.Input[str] oauth_client_id: Specifies the client ID for the OAuth application in the external service.
|
|
450
|
-
:param pulumi.Input[int] oauth_refresh_token_validity: Specifies the value to determine the validity of the refresh token obtained from the OAuth server.
|
|
451
|
-
:param pulumi.Input[str] oauth_token_endpoint: Specifies the token endpoint used by the client to obtain an access token by presenting its authorization grant or refresh token. The token endpoint is used with every authorization grant except for the implicit grant type (since an access token is issued directly). If removed from the config, the resource is recreated.
|
|
444
|
+
:param pulumi.Input[builtins.str] comment: Specifies a comment for the integration.
|
|
445
|
+
:param pulumi.Input[builtins.bool] enabled: Specifies whether this security integration is enabled or disabled.
|
|
446
|
+
: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: `|`, `.`, `"`.
|
|
447
|
+
:param pulumi.Input[builtins.int] oauth_access_token_validity: Specifies the default lifetime of the OAuth access token (in seconds) issued by an OAuth server.
|
|
448
|
+
:param pulumi.Input[builtins.str] oauth_authorization_endpoint: Specifies the URL for authenticating to the external service.
|
|
449
|
+
: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`.
|
|
450
|
+
:param pulumi.Input[builtins.str] oauth_client_id: Specifies the client ID for the OAuth application in the external service.
|
|
451
|
+
: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.
|
|
452
|
+
: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.
|
|
452
453
|
"""
|
|
453
454
|
...
|
|
454
455
|
@overload
|
|
@@ -478,17 +479,17 @@ class ApiAuthenticationIntegrationWithJwtBearer(pulumi.CustomResource):
|
|
|
478
479
|
def _internal_init(__self__,
|
|
479
480
|
resource_name: str,
|
|
480
481
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
481
|
-
comment: Optional[pulumi.Input[str]] = None,
|
|
482
|
-
enabled: Optional[pulumi.Input[bool]] = None,
|
|
483
|
-
name: Optional[pulumi.Input[str]] = None,
|
|
484
|
-
oauth_access_token_validity: Optional[pulumi.Input[int]] = None,
|
|
485
|
-
oauth_assertion_issuer: Optional[pulumi.Input[str]] = None,
|
|
486
|
-
oauth_authorization_endpoint: Optional[pulumi.Input[str]] = None,
|
|
487
|
-
oauth_client_auth_method: Optional[pulumi.Input[str]] = None,
|
|
488
|
-
oauth_client_id: Optional[pulumi.Input[str]] = None,
|
|
489
|
-
oauth_client_secret: Optional[pulumi.Input[str]] = None,
|
|
490
|
-
oauth_refresh_token_validity: Optional[pulumi.Input[int]] = None,
|
|
491
|
-
oauth_token_endpoint: Optional[pulumi.Input[str]] = None,
|
|
482
|
+
comment: Optional[pulumi.Input[builtins.str]] = None,
|
|
483
|
+
enabled: Optional[pulumi.Input[builtins.bool]] = None,
|
|
484
|
+
name: Optional[pulumi.Input[builtins.str]] = None,
|
|
485
|
+
oauth_access_token_validity: Optional[pulumi.Input[builtins.int]] = None,
|
|
486
|
+
oauth_assertion_issuer: Optional[pulumi.Input[builtins.str]] = None,
|
|
487
|
+
oauth_authorization_endpoint: Optional[pulumi.Input[builtins.str]] = None,
|
|
488
|
+
oauth_client_auth_method: Optional[pulumi.Input[builtins.str]] = None,
|
|
489
|
+
oauth_client_id: Optional[pulumi.Input[builtins.str]] = None,
|
|
490
|
+
oauth_client_secret: Optional[pulumi.Input[builtins.str]] = None,
|
|
491
|
+
oauth_refresh_token_validity: Optional[pulumi.Input[builtins.int]] = None,
|
|
492
|
+
oauth_token_endpoint: Optional[pulumi.Input[builtins.str]] = None,
|
|
492
493
|
__props__=None):
|
|
493
494
|
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
|
494
495
|
if not isinstance(opts, pulumi.ResourceOptions):
|
|
@@ -530,19 +531,19 @@ class ApiAuthenticationIntegrationWithJwtBearer(pulumi.CustomResource):
|
|
|
530
531
|
def get(resource_name: str,
|
|
531
532
|
id: pulumi.Input[str],
|
|
532
533
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
533
|
-
comment: Optional[pulumi.Input[str]] = None,
|
|
534
|
+
comment: Optional[pulumi.Input[builtins.str]] = None,
|
|
534
535
|
describe_outputs: Optional[pulumi.Input[Sequence[pulumi.Input[Union['ApiAuthenticationIntegrationWithJwtBearerDescribeOutputArgs', 'ApiAuthenticationIntegrationWithJwtBearerDescribeOutputArgsDict']]]]] = None,
|
|
535
|
-
enabled: Optional[pulumi.Input[bool]] = None,
|
|
536
|
-
fully_qualified_name: Optional[pulumi.Input[str]] = None,
|
|
537
|
-
name: Optional[pulumi.Input[str]] = None,
|
|
538
|
-
oauth_access_token_validity: Optional[pulumi.Input[int]] = None,
|
|
539
|
-
oauth_assertion_issuer: Optional[pulumi.Input[str]] = None,
|
|
540
|
-
oauth_authorization_endpoint: Optional[pulumi.Input[str]] = None,
|
|
541
|
-
oauth_client_auth_method: Optional[pulumi.Input[str]] = None,
|
|
542
|
-
oauth_client_id: Optional[pulumi.Input[str]] = None,
|
|
543
|
-
oauth_client_secret: Optional[pulumi.Input[str]] = None,
|
|
544
|
-
oauth_refresh_token_validity: Optional[pulumi.Input[int]] = None,
|
|
545
|
-
oauth_token_endpoint: Optional[pulumi.Input[str]] = None,
|
|
536
|
+
enabled: Optional[pulumi.Input[builtins.bool]] = None,
|
|
537
|
+
fully_qualified_name: Optional[pulumi.Input[builtins.str]] = None,
|
|
538
|
+
name: Optional[pulumi.Input[builtins.str]] = None,
|
|
539
|
+
oauth_access_token_validity: Optional[pulumi.Input[builtins.int]] = None,
|
|
540
|
+
oauth_assertion_issuer: Optional[pulumi.Input[builtins.str]] = None,
|
|
541
|
+
oauth_authorization_endpoint: Optional[pulumi.Input[builtins.str]] = None,
|
|
542
|
+
oauth_client_auth_method: Optional[pulumi.Input[builtins.str]] = None,
|
|
543
|
+
oauth_client_id: Optional[pulumi.Input[builtins.str]] = None,
|
|
544
|
+
oauth_client_secret: Optional[pulumi.Input[builtins.str]] = None,
|
|
545
|
+
oauth_refresh_token_validity: Optional[pulumi.Input[builtins.int]] = None,
|
|
546
|
+
oauth_token_endpoint: Optional[pulumi.Input[builtins.str]] = None,
|
|
546
547
|
show_outputs: Optional[pulumi.Input[Sequence[pulumi.Input[Union['ApiAuthenticationIntegrationWithJwtBearerShowOutputArgs', 'ApiAuthenticationIntegrationWithJwtBearerShowOutputArgsDict']]]]] = None) -> 'ApiAuthenticationIntegrationWithJwtBearer':
|
|
547
548
|
"""
|
|
548
549
|
Get an existing ApiAuthenticationIntegrationWithJwtBearer resource's state with the given name, id, and optional extra
|
|
@@ -551,17 +552,17 @@ class ApiAuthenticationIntegrationWithJwtBearer(pulumi.CustomResource):
|
|
|
551
552
|
:param str resource_name: The unique name of the resulting resource.
|
|
552
553
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
553
554
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
554
|
-
:param pulumi.Input[str] comment: Specifies a comment for the integration.
|
|
555
|
+
:param pulumi.Input[builtins.str] comment: Specifies a comment for the integration.
|
|
555
556
|
:param pulumi.Input[Sequence[pulumi.Input[Union['ApiAuthenticationIntegrationWithJwtBearerDescribeOutputArgs', 'ApiAuthenticationIntegrationWithJwtBearerDescribeOutputArgsDict']]]] describe_outputs: Outputs the result of `DESCRIBE SECURITY INTEGRATIONS` for the given security integration.
|
|
556
|
-
:param pulumi.Input[bool] enabled: Specifies whether this security integration is enabled or disabled.
|
|
557
|
-
: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).
|
|
558
|
-
:param pulumi.Input[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: `|`, `.`, `"`.
|
|
559
|
-
:param pulumi.Input[int] oauth_access_token_validity: Specifies the default lifetime of the OAuth access token (in seconds) issued by an OAuth server.
|
|
560
|
-
:param pulumi.Input[str] oauth_authorization_endpoint: Specifies the URL for authenticating to the external service.
|
|
561
|
-
:param pulumi.Input[str] oauth_client_auth_method: Specifies that POST is used as the authentication method to the external service. If removed from the config, the resource is recreated. Valid values are (case-insensitive): `CLIENT_SECRET_POST`.
|
|
562
|
-
:param pulumi.Input[str] oauth_client_id: Specifies the client ID for the OAuth application in the external service.
|
|
563
|
-
:param pulumi.Input[int] oauth_refresh_token_validity: Specifies the value to determine the validity of the refresh token obtained from the OAuth server.
|
|
564
|
-
:param pulumi.Input[str] oauth_token_endpoint: Specifies the token endpoint used by the client to obtain an access token by presenting its authorization grant or refresh token. The token endpoint is used with every authorization grant except for the implicit grant type (since an access token is issued directly). If removed from the config, the resource is recreated.
|
|
557
|
+
:param pulumi.Input[builtins.bool] enabled: Specifies whether this security integration is enabled or disabled.
|
|
558
|
+
: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).
|
|
559
|
+
: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: `|`, `.`, `"`.
|
|
560
|
+
:param pulumi.Input[builtins.int] oauth_access_token_validity: Specifies the default lifetime of the OAuth access token (in seconds) issued by an OAuth server.
|
|
561
|
+
:param pulumi.Input[builtins.str] oauth_authorization_endpoint: Specifies the URL for authenticating to the external service.
|
|
562
|
+
: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`.
|
|
563
|
+
:param pulumi.Input[builtins.str] oauth_client_id: Specifies the client ID for the OAuth application in the external service.
|
|
564
|
+
: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.
|
|
565
|
+
: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.
|
|
565
566
|
:param pulumi.Input[Sequence[pulumi.Input[Union['ApiAuthenticationIntegrationWithJwtBearerShowOutputArgs', 'ApiAuthenticationIntegrationWithJwtBearerShowOutputArgsDict']]]] show_outputs: Outputs the result of `SHOW SECURITY INTEGRATIONS` for the given security integration.
|
|
566
567
|
"""
|
|
567
568
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
@@ -586,7 +587,7 @@ class ApiAuthenticationIntegrationWithJwtBearer(pulumi.CustomResource):
|
|
|
586
587
|
|
|
587
588
|
@property
|
|
588
589
|
@pulumi.getter
|
|
589
|
-
def comment(self) -> pulumi.Output[Optional[str]]:
|
|
590
|
+
def comment(self) -> pulumi.Output[Optional[builtins.str]]:
|
|
590
591
|
"""
|
|
591
592
|
Specifies a comment for the integration.
|
|
592
593
|
"""
|
|
@@ -602,7 +603,7 @@ class ApiAuthenticationIntegrationWithJwtBearer(pulumi.CustomResource):
|
|
|
602
603
|
|
|
603
604
|
@property
|
|
604
605
|
@pulumi.getter
|
|
605
|
-
def enabled(self) -> pulumi.Output[bool]:
|
|
606
|
+
def enabled(self) -> pulumi.Output[builtins.bool]:
|
|
606
607
|
"""
|
|
607
608
|
Specifies whether this security integration is enabled or disabled.
|
|
608
609
|
"""
|
|
@@ -610,7 +611,7 @@ class ApiAuthenticationIntegrationWithJwtBearer(pulumi.CustomResource):
|
|
|
610
611
|
|
|
611
612
|
@property
|
|
612
613
|
@pulumi.getter(name="fullyQualifiedName")
|
|
613
|
-
def fully_qualified_name(self) -> pulumi.Output[str]:
|
|
614
|
+
def fully_qualified_name(self) -> pulumi.Output[builtins.str]:
|
|
614
615
|
"""
|
|
615
616
|
Fully qualified name of the resource. For more information, see [object name resolution](https://docs.snowflake.com/en/sql-reference/name-resolution).
|
|
616
617
|
"""
|
|
@@ -618,7 +619,7 @@ class ApiAuthenticationIntegrationWithJwtBearer(pulumi.CustomResource):
|
|
|
618
619
|
|
|
619
620
|
@property
|
|
620
621
|
@pulumi.getter
|
|
621
|
-
def name(self) -> pulumi.Output[str]:
|
|
622
|
+
def name(self) -> pulumi.Output[builtins.str]:
|
|
622
623
|
"""
|
|
623
624
|
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: `|`, `.`, `"`.
|
|
624
625
|
"""
|
|
@@ -626,7 +627,7 @@ class ApiAuthenticationIntegrationWithJwtBearer(pulumi.CustomResource):
|
|
|
626
627
|
|
|
627
628
|
@property
|
|
628
629
|
@pulumi.getter(name="oauthAccessTokenValidity")
|
|
629
|
-
def oauth_access_token_validity(self) -> pulumi.Output[Optional[int]]:
|
|
630
|
+
def oauth_access_token_validity(self) -> pulumi.Output[Optional[builtins.int]]:
|
|
630
631
|
"""
|
|
631
632
|
Specifies the default lifetime of the OAuth access token (in seconds) issued by an OAuth server.
|
|
632
633
|
"""
|
|
@@ -634,12 +635,12 @@ class ApiAuthenticationIntegrationWithJwtBearer(pulumi.CustomResource):
|
|
|
634
635
|
|
|
635
636
|
@property
|
|
636
637
|
@pulumi.getter(name="oauthAssertionIssuer")
|
|
637
|
-
def oauth_assertion_issuer(self) -> pulumi.Output[str]:
|
|
638
|
+
def oauth_assertion_issuer(self) -> pulumi.Output[builtins.str]:
|
|
638
639
|
return pulumi.get(self, "oauth_assertion_issuer")
|
|
639
640
|
|
|
640
641
|
@property
|
|
641
642
|
@pulumi.getter(name="oauthAuthorizationEndpoint")
|
|
642
|
-
def oauth_authorization_endpoint(self) -> pulumi.Output[Optional[str]]:
|
|
643
|
+
def oauth_authorization_endpoint(self) -> pulumi.Output[Optional[builtins.str]]:
|
|
643
644
|
"""
|
|
644
645
|
Specifies the URL for authenticating to the external service.
|
|
645
646
|
"""
|
|
@@ -647,7 +648,7 @@ class ApiAuthenticationIntegrationWithJwtBearer(pulumi.CustomResource):
|
|
|
647
648
|
|
|
648
649
|
@property
|
|
649
650
|
@pulumi.getter(name="oauthClientAuthMethod")
|
|
650
|
-
def oauth_client_auth_method(self) -> pulumi.Output[Optional[str]]:
|
|
651
|
+
def oauth_client_auth_method(self) -> pulumi.Output[Optional[builtins.str]]:
|
|
651
652
|
"""
|
|
652
653
|
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`.
|
|
653
654
|
"""
|
|
@@ -655,7 +656,7 @@ class ApiAuthenticationIntegrationWithJwtBearer(pulumi.CustomResource):
|
|
|
655
656
|
|
|
656
657
|
@property
|
|
657
658
|
@pulumi.getter(name="oauthClientId")
|
|
658
|
-
def oauth_client_id(self) -> pulumi.Output[str]:
|
|
659
|
+
def oauth_client_id(self) -> pulumi.Output[builtins.str]:
|
|
659
660
|
"""
|
|
660
661
|
Specifies the client ID for the OAuth application in the external service.
|
|
661
662
|
"""
|
|
@@ -663,12 +664,12 @@ class ApiAuthenticationIntegrationWithJwtBearer(pulumi.CustomResource):
|
|
|
663
664
|
|
|
664
665
|
@property
|
|
665
666
|
@pulumi.getter(name="oauthClientSecret")
|
|
666
|
-
def oauth_client_secret(self) -> pulumi.Output[str]:
|
|
667
|
+
def oauth_client_secret(self) -> pulumi.Output[builtins.str]:
|
|
667
668
|
return pulumi.get(self, "oauth_client_secret")
|
|
668
669
|
|
|
669
670
|
@property
|
|
670
671
|
@pulumi.getter(name="oauthRefreshTokenValidity")
|
|
671
|
-
def oauth_refresh_token_validity(self) -> pulumi.Output[Optional[int]]:
|
|
672
|
+
def oauth_refresh_token_validity(self) -> pulumi.Output[Optional[builtins.int]]:
|
|
672
673
|
"""
|
|
673
674
|
Specifies the value to determine the validity of the refresh token obtained from the OAuth server.
|
|
674
675
|
"""
|
|
@@ -676,7 +677,7 @@ class ApiAuthenticationIntegrationWithJwtBearer(pulumi.CustomResource):
|
|
|
676
677
|
|
|
677
678
|
@property
|
|
678
679
|
@pulumi.getter(name="oauthTokenEndpoint")
|
|
679
|
-
def oauth_token_endpoint(self) -> pulumi.Output[Optional[str]]:
|
|
680
|
+
def oauth_token_endpoint(self) -> pulumi.Output[Optional[builtins.str]]:
|
|
680
681
|
"""
|
|
681
682
|
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.
|
|
682
683
|
"""
|