pulumi-snowflake 0.50.3a1710160126__py3-none-any.whl → 1.2.0a1736849992__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 +224 -172
- pulumi_snowflake/_inputs.py +52857 -1665
- pulumi_snowflake/_utilities.py +41 -5
- pulumi_snowflake/account.py +188 -218
- pulumi_snowflake/account_authentication_policy_attachment.py +149 -0
- pulumi_snowflake/account_parameter.py +21 -48
- pulumi_snowflake/account_password_policy_attachment.py +7 -32
- pulumi_snowflake/account_role.py +250 -0
- pulumi_snowflake/alert.py +38 -47
- pulumi_snowflake/api_authentication_integration_with_authorization_code_grant.py +704 -0
- pulumi_snowflake/api_authentication_integration_with_client_credentials.py +657 -0
- pulumi_snowflake/api_authentication_integration_with_jwt_bearer.py +692 -0
- pulumi_snowflake/api_integration.py +33 -52
- pulumi_snowflake/authentication_policy.py +622 -0
- pulumi_snowflake/config/__init__.pyi +76 -99
- pulumi_snowflake/config/outputs.py +5 -0
- pulumi_snowflake/config/vars.py +93 -124
- pulumi_snowflake/cortex_search_service.py +596 -0
- pulumi_snowflake/database.py +819 -213
- pulumi_snowflake/database_role.py +81 -44
- pulumi_snowflake/dynamic_table.py +42 -49
- pulumi_snowflake/email_notification_integration.py +33 -28
- pulumi_snowflake/{unsafe_execute.py → execute.py} +36 -39
- pulumi_snowflake/external_function.py +54 -75
- pulumi_snowflake/external_oauth_integration.py +593 -542
- pulumi_snowflake/external_table.py +67 -90
- pulumi_snowflake/external_volume.py +382 -0
- pulumi_snowflake/failover_group.py +57 -98
- pulumi_snowflake/file_format.py +33 -28
- pulumi_snowflake/function_java.py +1211 -0
- pulumi_snowflake/function_javascript.py +882 -0
- pulumi_snowflake/function_python.py +1212 -0
- pulumi_snowflake/function_scala.py +1212 -0
- pulumi_snowflake/function_sql.py +835 -0
- pulumi_snowflake/get_account_roles.py +129 -0
- pulumi_snowflake/get_accounts.py +53 -22
- pulumi_snowflake/get_alerts.py +22 -9
- pulumi_snowflake/get_connections.py +109 -0
- pulumi_snowflake/get_cortex_search_services.py +216 -0
- pulumi_snowflake/get_current_account.py +24 -13
- pulumi_snowflake/get_current_role.py +14 -7
- pulumi_snowflake/get_database.py +25 -9
- pulumi_snowflake/get_database_role.py +162 -0
- pulumi_snowflake/get_database_roles.py +79 -47
- pulumi_snowflake/get_databases.py +91 -73
- pulumi_snowflake/get_dynamic_tables.py +36 -19
- pulumi_snowflake/get_external_functions.py +28 -9
- pulumi_snowflake/get_external_tables.py +28 -9
- pulumi_snowflake/get_failover_groups.py +18 -7
- pulumi_snowflake/get_file_formats.py +28 -9
- pulumi_snowflake/get_functions.py +28 -9
- pulumi_snowflake/get_grants.py +207 -84
- pulumi_snowflake/get_masking_policies.py +91 -51
- pulumi_snowflake/get_materialized_views.py +28 -9
- pulumi_snowflake/get_network_policies.py +129 -0
- pulumi_snowflake/get_parameters.py +38 -15
- pulumi_snowflake/get_pipes.py +28 -9
- pulumi_snowflake/get_procedures.py +28 -9
- pulumi_snowflake/get_resource_monitors.py +37 -24
- pulumi_snowflake/get_row_access_policies.py +91 -51
- pulumi_snowflake/get_schemas.py +145 -41
- pulumi_snowflake/get_secrets.py +200 -0
- pulumi_snowflake/get_security_integrations.py +129 -0
- pulumi_snowflake/get_sequences.py +28 -9
- pulumi_snowflake/get_shares.py +18 -9
- pulumi_snowflake/get_stages.py +28 -9
- pulumi_snowflake/get_storage_integrations.py +16 -9
- pulumi_snowflake/get_streamlits.py +170 -0
- pulumi_snowflake/get_streams.py +114 -54
- pulumi_snowflake/get_system_generate_scim_access_token.py +18 -9
- pulumi_snowflake/get_system_get_aws_sns_iam_policy.py +32 -7
- pulumi_snowflake/get_system_get_private_link_config.py +120 -5
- pulumi_snowflake/get_system_get_snowflake_platform_info.py +15 -7
- pulumi_snowflake/get_tables.py +28 -9
- pulumi_snowflake/get_tags.py +130 -0
- pulumi_snowflake/get_tasks.py +134 -54
- pulumi_snowflake/get_users.py +116 -44
- pulumi_snowflake/get_views.py +114 -54
- pulumi_snowflake/get_warehouses.py +79 -26
- pulumi_snowflake/grant_account_role.py +28 -75
- pulumi_snowflake/grant_application_role.py +257 -0
- pulumi_snowflake/grant_database_role.py +35 -94
- pulumi_snowflake/grant_ownership.py +382 -0
- pulumi_snowflake/grant_privileges_to_account_role.py +42 -78
- pulumi_snowflake/grant_privileges_to_database_role.py +37 -383
- pulumi_snowflake/grant_privileges_to_share.py +96 -44
- pulumi_snowflake/legacy_service_user.py +3670 -0
- pulumi_snowflake/managed_account.py +40 -11
- pulumi_snowflake/masking_policy.py +213 -310
- pulumi_snowflake/materialized_view.py +62 -71
- pulumi_snowflake/network_policy.py +217 -61
- pulumi_snowflake/network_policy_attachment.py +5 -34
- pulumi_snowflake/network_rule.py +473 -0
- pulumi_snowflake/notification_integration.py +49 -84
- pulumi_snowflake/oauth_integration_for_custom_clients.py +906 -0
- pulumi_snowflake/{oauth_integration.py → oauth_integration_for_partner_applications.py} +191 -192
- pulumi_snowflake/object_parameter.py +10 -101
- pulumi_snowflake/outputs.py +49200 -2928
- pulumi_snowflake/password_policy.py +41 -28
- pulumi_snowflake/pipe.py +33 -4
- pulumi_snowflake/primary_connection.py +330 -0
- pulumi_snowflake/procedure_java.py +1273 -0
- pulumi_snowflake/procedure_javascript.py +895 -0
- pulumi_snowflake/procedure_python.py +1226 -0
- pulumi_snowflake/procedure_scala.py +1273 -0
- pulumi_snowflake/procedure_sql.py +895 -0
- pulumi_snowflake/provider.py +378 -613
- pulumi_snowflake/pulumi-plugin.json +2 -1
- pulumi_snowflake/resource_monitor.py +118 -327
- pulumi_snowflake/row_access_policy.py +200 -149
- pulumi_snowflake/{saml_integration.py → saml2_integration.py} +356 -299
- pulumi_snowflake/schema.py +949 -178
- pulumi_snowflake/scim_integration.py +286 -109
- pulumi_snowflake/secondary_connection.py +339 -0
- pulumi_snowflake/secondary_database.py +1080 -0
- pulumi_snowflake/secret_with_authorization_code_grant.py +548 -0
- pulumi_snowflake/secret_with_basic_authentication.py +500 -0
- pulumi_snowflake/secret_with_client_credentials.py +511 -0
- pulumi_snowflake/secret_with_generic_string.py +452 -0
- pulumi_snowflake/sequence.py +9 -34
- pulumi_snowflake/service_user.py +3585 -0
- pulumi_snowflake/share.py +33 -28
- pulumi_snowflake/shared_database.py +939 -0
- pulumi_snowflake/stage.py +95 -84
- pulumi_snowflake/storage_integration.py +46 -4
- pulumi_snowflake/stream_on_directory_table.py +517 -0
- pulumi_snowflake/stream_on_external_table.py +632 -0
- pulumi_snowflake/stream_on_table.py +666 -0
- pulumi_snowflake/stream_on_view.py +666 -0
- pulumi_snowflake/streamlit.py +671 -0
- pulumi_snowflake/table.py +86 -97
- pulumi_snowflake/table_column_masking_policy_application.py +7 -14
- pulumi_snowflake/table_constraint.py +29 -172
- pulumi_snowflake/tag.py +142 -74
- pulumi_snowflake/tag_association.py +40 -215
- pulumi_snowflake/task.py +3048 -418
- pulumi_snowflake/user.py +3351 -384
- pulumi_snowflake/user_authentication_policy_attachment.py +197 -0
- pulumi_snowflake/user_password_policy_attachment.py +5 -4
- pulumi_snowflake/user_public_keys.py +5 -0
- pulumi_snowflake/view.py +466 -215
- pulumi_snowflake/warehouse.py +184 -168
- {pulumi_snowflake-0.50.3a1710160126.dist-info → pulumi_snowflake-1.2.0a1736849992.dist-info}/METADATA +7 -6
- pulumi_snowflake-1.2.0a1736849992.dist-info/RECORD +148 -0
- {pulumi_snowflake-0.50.3a1710160126.dist-info → pulumi_snowflake-1.2.0a1736849992.dist-info}/WHEEL +1 -1
- pulumi_snowflake/account_grant.py +0 -343
- pulumi_snowflake/database_grant.py +0 -495
- pulumi_snowflake/external_table_grant.py +0 -690
- pulumi_snowflake/failover_group_grant.py +0 -388
- pulumi_snowflake/file_format_grant.py +0 -635
- pulumi_snowflake/function.py +0 -872
- pulumi_snowflake/function_grant.py +0 -745
- pulumi_snowflake/get_role.py +0 -121
- pulumi_snowflake/get_roles.py +0 -120
- pulumi_snowflake/grant_privileges_to_role.py +0 -825
- pulumi_snowflake/integration_grant.py +0 -440
- pulumi_snowflake/masking_policy_grant.py +0 -542
- pulumi_snowflake/materialized_view_grant.py +0 -689
- pulumi_snowflake/pipe_grant.py +0 -587
- pulumi_snowflake/procedure.py +0 -887
- pulumi_snowflake/procedure_grant.py +0 -745
- pulumi_snowflake/resource_monitor_grant.py +0 -387
- pulumi_snowflake/role.py +0 -273
- pulumi_snowflake/role_grants.py +0 -352
- pulumi_snowflake/role_ownership_grant.py +0 -338
- pulumi_snowflake/row_access_policy_grant.py +0 -540
- pulumi_snowflake/schema_grant.py +0 -647
- pulumi_snowflake/sequence_grant.py +0 -635
- pulumi_snowflake/session_parameter.py +0 -332
- pulumi_snowflake/stage_grant.py +0 -635
- pulumi_snowflake/stream.py +0 -614
- pulumi_snowflake/stream_grant.py +0 -635
- pulumi_snowflake/table_grant.py +0 -677
- pulumi_snowflake/tag_grant.py +0 -532
- pulumi_snowflake/tag_masking_policy_association.py +0 -210
- pulumi_snowflake/task_grant.py +0 -635
- pulumi_snowflake/user_grant.py +0 -394
- pulumi_snowflake/user_ownership_grant.py +0 -286
- pulumi_snowflake/view_grant.py +0 -705
- pulumi_snowflake/warehouse_grant.py +0 -440
- pulumi_snowflake-0.50.3a1710160126.dist-info/RECORD +0 -136
- {pulumi_snowflake-0.50.3a1710160126.dist-info → pulumi_snowflake-1.2.0a1736849992.dist-info}/top_level.txt +0 -0
|
@@ -4,9 +4,14 @@
|
|
|
4
4
|
|
|
5
5
|
import copy
|
|
6
6
|
import warnings
|
|
7
|
+
import sys
|
|
7
8
|
import pulumi
|
|
8
9
|
import pulumi.runtime
|
|
9
10
|
from typing import Any, Mapping, Optional, Sequence, Union, overload
|
|
11
|
+
if sys.version_info >= (3, 11):
|
|
12
|
+
from typing import NotRequired, TypedDict, TypeAlias
|
|
13
|
+
else:
|
|
14
|
+
from typing_extensions import NotRequired, TypedDict, TypeAlias
|
|
10
15
|
from . import _utilities
|
|
11
16
|
|
|
12
17
|
__all__ = ['NotificationIntegrationArgs', 'NotificationIntegration']
|
|
@@ -121,13 +126,11 @@ class NotificationIntegrationArgs:
|
|
|
121
126
|
|
|
122
127
|
@property
|
|
123
128
|
@pulumi.getter(name="awsSqsArn")
|
|
129
|
+
@_utilities.deprecated("""No longer supported notification method""")
|
|
124
130
|
def aws_sqs_arn(self) -> Optional[pulumi.Input[str]]:
|
|
125
131
|
"""
|
|
126
132
|
AWS SQS queue ARN for notification integration to connect to
|
|
127
133
|
"""
|
|
128
|
-
warnings.warn("""No longer supported notification method""", DeprecationWarning)
|
|
129
|
-
pulumi.log.warn("""aws_sqs_arn is deprecated: No longer supported notification method""")
|
|
130
|
-
|
|
131
134
|
return pulumi.get(self, "aws_sqs_arn")
|
|
132
135
|
|
|
133
136
|
@aws_sqs_arn.setter
|
|
@@ -136,13 +139,11 @@ class NotificationIntegrationArgs:
|
|
|
136
139
|
|
|
137
140
|
@property
|
|
138
141
|
@pulumi.getter(name="awsSqsRoleArn")
|
|
142
|
+
@_utilities.deprecated("""No longer supported notification method""")
|
|
139
143
|
def aws_sqs_role_arn(self) -> Optional[pulumi.Input[str]]:
|
|
140
144
|
"""
|
|
141
145
|
AWS IAM role ARN for notification integration to assume
|
|
142
146
|
"""
|
|
143
|
-
warnings.warn("""No longer supported notification method""", DeprecationWarning)
|
|
144
|
-
pulumi.log.warn("""aws_sqs_role_arn is deprecated: No longer supported notification method""")
|
|
145
|
-
|
|
146
147
|
return pulumi.get(self, "aws_sqs_role_arn")
|
|
147
148
|
|
|
148
149
|
@aws_sqs_role_arn.setter
|
|
@@ -187,13 +188,11 @@ class NotificationIntegrationArgs:
|
|
|
187
188
|
|
|
188
189
|
@property
|
|
189
190
|
@pulumi.getter
|
|
191
|
+
@_utilities.deprecated("""Will be removed - it is added automatically on the SDK level.""")
|
|
190
192
|
def direction(self) -> Optional[pulumi.Input[str]]:
|
|
191
193
|
"""
|
|
192
194
|
Direction of the cloud messaging with respect to Snowflake (required only for error notifications)
|
|
193
195
|
"""
|
|
194
|
-
warnings.warn("""Will be removed - it is added automatically on the SDK level.""", DeprecationWarning)
|
|
195
|
-
pulumi.log.warn("""direction is deprecated: Will be removed - it is added automatically on the SDK level.""")
|
|
196
|
-
|
|
197
196
|
return pulumi.get(self, "direction")
|
|
198
197
|
|
|
199
198
|
@direction.setter
|
|
@@ -244,13 +243,11 @@ class NotificationIntegrationArgs:
|
|
|
244
243
|
|
|
245
244
|
@property
|
|
246
245
|
@pulumi.getter
|
|
246
|
+
@_utilities.deprecated("""Will be removed - it is added automatically on the SDK level.""")
|
|
247
247
|
def type(self) -> Optional[pulumi.Input[str]]:
|
|
248
248
|
"""
|
|
249
249
|
A type of integration
|
|
250
250
|
"""
|
|
251
|
-
warnings.warn("""Will be removed - it is added automatically on the SDK level.""", DeprecationWarning)
|
|
252
|
-
pulumi.log.warn("""type is deprecated: Will be removed - it is added automatically on the SDK level.""")
|
|
253
|
-
|
|
254
251
|
return pulumi.get(self, "type")
|
|
255
252
|
|
|
256
253
|
@type.setter
|
|
@@ -275,6 +272,7 @@ class _NotificationIntegrationState:
|
|
|
275
272
|
created_on: Optional[pulumi.Input[str]] = None,
|
|
276
273
|
direction: Optional[pulumi.Input[str]] = None,
|
|
277
274
|
enabled: Optional[pulumi.Input[bool]] = None,
|
|
275
|
+
fully_qualified_name: Optional[pulumi.Input[str]] = None,
|
|
278
276
|
gcp_pubsub_service_account: Optional[pulumi.Input[str]] = None,
|
|
279
277
|
gcp_pubsub_subscription_name: Optional[pulumi.Input[str]] = None,
|
|
280
278
|
gcp_pubsub_topic_name: Optional[pulumi.Input[str]] = None,
|
|
@@ -296,6 +294,7 @@ class _NotificationIntegrationState:
|
|
|
296
294
|
:param pulumi.Input[str] comment: A comment for the integration
|
|
297
295
|
:param pulumi.Input[str] created_on: Date and time when the notification integration was created.
|
|
298
296
|
:param pulumi.Input[str] direction: Direction of the cloud messaging with respect to Snowflake (required only for error notifications)
|
|
297
|
+
: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).
|
|
299
298
|
:param pulumi.Input[str] gcp_pubsub_service_account: The GCP service account identifier that Snowflake will use when assuming the GCP role
|
|
300
299
|
:param pulumi.Input[str] gcp_pubsub_subscription_name: The subscription id that Snowflake will listen to when using the GCP_PUBSUB provider.
|
|
301
300
|
:param pulumi.Input[str] gcp_pubsub_topic_name: The topic id that Snowflake will use to push notifications.
|
|
@@ -345,6 +344,8 @@ class _NotificationIntegrationState:
|
|
|
345
344
|
pulumi.set(__self__, "direction", direction)
|
|
346
345
|
if enabled is not None:
|
|
347
346
|
pulumi.set(__self__, "enabled", enabled)
|
|
347
|
+
if fully_qualified_name is not None:
|
|
348
|
+
pulumi.set(__self__, "fully_qualified_name", fully_qualified_name)
|
|
348
349
|
if gcp_pubsub_service_account is not None:
|
|
349
350
|
pulumi.set(__self__, "gcp_pubsub_service_account", gcp_pubsub_service_account)
|
|
350
351
|
if gcp_pubsub_subscription_name is not None:
|
|
@@ -411,13 +412,11 @@ class _NotificationIntegrationState:
|
|
|
411
412
|
|
|
412
413
|
@property
|
|
413
414
|
@pulumi.getter(name="awsSqsArn")
|
|
415
|
+
@_utilities.deprecated("""No longer supported notification method""")
|
|
414
416
|
def aws_sqs_arn(self) -> Optional[pulumi.Input[str]]:
|
|
415
417
|
"""
|
|
416
418
|
AWS SQS queue ARN for notification integration to connect to
|
|
417
419
|
"""
|
|
418
|
-
warnings.warn("""No longer supported notification method""", DeprecationWarning)
|
|
419
|
-
pulumi.log.warn("""aws_sqs_arn is deprecated: No longer supported notification method""")
|
|
420
|
-
|
|
421
420
|
return pulumi.get(self, "aws_sqs_arn")
|
|
422
421
|
|
|
423
422
|
@aws_sqs_arn.setter
|
|
@@ -426,13 +425,11 @@ class _NotificationIntegrationState:
|
|
|
426
425
|
|
|
427
426
|
@property
|
|
428
427
|
@pulumi.getter(name="awsSqsExternalId")
|
|
428
|
+
@_utilities.deprecated("""No longer supported notification method""")
|
|
429
429
|
def aws_sqs_external_id(self) -> Optional[pulumi.Input[str]]:
|
|
430
430
|
"""
|
|
431
431
|
The external ID that Snowflake will use when assuming the AWS role
|
|
432
432
|
"""
|
|
433
|
-
warnings.warn("""No longer supported notification method""", DeprecationWarning)
|
|
434
|
-
pulumi.log.warn("""aws_sqs_external_id is deprecated: No longer supported notification method""")
|
|
435
|
-
|
|
436
433
|
return pulumi.get(self, "aws_sqs_external_id")
|
|
437
434
|
|
|
438
435
|
@aws_sqs_external_id.setter
|
|
@@ -441,13 +438,11 @@ class _NotificationIntegrationState:
|
|
|
441
438
|
|
|
442
439
|
@property
|
|
443
440
|
@pulumi.getter(name="awsSqsIamUserArn")
|
|
441
|
+
@_utilities.deprecated("""No longer supported notification method""")
|
|
444
442
|
def aws_sqs_iam_user_arn(self) -> Optional[pulumi.Input[str]]:
|
|
445
443
|
"""
|
|
446
444
|
The Snowflake user that will attempt to assume the AWS role.
|
|
447
445
|
"""
|
|
448
|
-
warnings.warn("""No longer supported notification method""", DeprecationWarning)
|
|
449
|
-
pulumi.log.warn("""aws_sqs_iam_user_arn is deprecated: No longer supported notification method""")
|
|
450
|
-
|
|
451
446
|
return pulumi.get(self, "aws_sqs_iam_user_arn")
|
|
452
447
|
|
|
453
448
|
@aws_sqs_iam_user_arn.setter
|
|
@@ -456,13 +451,11 @@ class _NotificationIntegrationState:
|
|
|
456
451
|
|
|
457
452
|
@property
|
|
458
453
|
@pulumi.getter(name="awsSqsRoleArn")
|
|
454
|
+
@_utilities.deprecated("""No longer supported notification method""")
|
|
459
455
|
def aws_sqs_role_arn(self) -> Optional[pulumi.Input[str]]:
|
|
460
456
|
"""
|
|
461
457
|
AWS IAM role ARN for notification integration to assume
|
|
462
458
|
"""
|
|
463
|
-
warnings.warn("""No longer supported notification method""", DeprecationWarning)
|
|
464
|
-
pulumi.log.warn("""aws_sqs_role_arn is deprecated: No longer supported notification method""")
|
|
465
|
-
|
|
466
459
|
return pulumi.get(self, "aws_sqs_role_arn")
|
|
467
460
|
|
|
468
461
|
@aws_sqs_role_arn.setter
|
|
@@ -519,13 +512,11 @@ class _NotificationIntegrationState:
|
|
|
519
512
|
|
|
520
513
|
@property
|
|
521
514
|
@pulumi.getter
|
|
515
|
+
@_utilities.deprecated("""Will be removed - it is added automatically on the SDK level.""")
|
|
522
516
|
def direction(self) -> Optional[pulumi.Input[str]]:
|
|
523
517
|
"""
|
|
524
518
|
Direction of the cloud messaging with respect to Snowflake (required only for error notifications)
|
|
525
519
|
"""
|
|
526
|
-
warnings.warn("""Will be removed - it is added automatically on the SDK level.""", DeprecationWarning)
|
|
527
|
-
pulumi.log.warn("""direction is deprecated: Will be removed - it is added automatically on the SDK level.""")
|
|
528
|
-
|
|
529
520
|
return pulumi.get(self, "direction")
|
|
530
521
|
|
|
531
522
|
@direction.setter
|
|
@@ -541,6 +532,18 @@ class _NotificationIntegrationState:
|
|
|
541
532
|
def enabled(self, value: Optional[pulumi.Input[bool]]):
|
|
542
533
|
pulumi.set(self, "enabled", value)
|
|
543
534
|
|
|
535
|
+
@property
|
|
536
|
+
@pulumi.getter(name="fullyQualifiedName")
|
|
537
|
+
def fully_qualified_name(self) -> Optional[pulumi.Input[str]]:
|
|
538
|
+
"""
|
|
539
|
+
Fully qualified name of the resource. For more information, see [object name resolution](https://docs.snowflake.com/en/sql-reference/name-resolution).
|
|
540
|
+
"""
|
|
541
|
+
return pulumi.get(self, "fully_qualified_name")
|
|
542
|
+
|
|
543
|
+
@fully_qualified_name.setter
|
|
544
|
+
def fully_qualified_name(self, value: Optional[pulumi.Input[str]]):
|
|
545
|
+
pulumi.set(self, "fully_qualified_name", value)
|
|
546
|
+
|
|
544
547
|
@property
|
|
545
548
|
@pulumi.getter(name="gcpPubsubServiceAccount")
|
|
546
549
|
def gcp_pubsub_service_account(self) -> Optional[pulumi.Input[str]]:
|
|
@@ -600,13 +603,11 @@ class _NotificationIntegrationState:
|
|
|
600
603
|
|
|
601
604
|
@property
|
|
602
605
|
@pulumi.getter
|
|
606
|
+
@_utilities.deprecated("""Will be removed - it is added automatically on the SDK level.""")
|
|
603
607
|
def type(self) -> Optional[pulumi.Input[str]]:
|
|
604
608
|
"""
|
|
605
609
|
A type of integration
|
|
606
610
|
"""
|
|
607
|
-
warnings.warn("""Will be removed - it is added automatically on the SDK level.""", DeprecationWarning)
|
|
608
|
-
pulumi.log.warn("""type is deprecated: Will be removed - it is added automatically on the SDK level.""")
|
|
609
|
-
|
|
610
611
|
return pulumi.get(self, "type")
|
|
611
612
|
|
|
612
613
|
@type.setter
|
|
@@ -635,24 +636,6 @@ class NotificationIntegration(pulumi.CustomResource):
|
|
|
635
636
|
type: Optional[pulumi.Input[str]] = None,
|
|
636
637
|
__props__=None):
|
|
637
638
|
"""
|
|
638
|
-
## Example Usage
|
|
639
|
-
|
|
640
|
-
<!--Start PulumiCodeChooser -->
|
|
641
|
-
```python
|
|
642
|
-
import pulumi
|
|
643
|
-
import pulumi_snowflake as snowflake
|
|
644
|
-
|
|
645
|
-
integration = snowflake.NotificationIntegration("integration",
|
|
646
|
-
azure_storage_queue_primary_uri="...",
|
|
647
|
-
azure_tenant_id="...",
|
|
648
|
-
comment="A notification integration.",
|
|
649
|
-
direction="OUTBOUND",
|
|
650
|
-
enabled=True,
|
|
651
|
-
notification_provider="AZURE_STORAGE_QUEUE",
|
|
652
|
-
type="QUEUE")
|
|
653
|
-
```
|
|
654
|
-
<!--End PulumiCodeChooser -->
|
|
655
|
-
|
|
656
639
|
## Import
|
|
657
640
|
|
|
658
641
|
```sh
|
|
@@ -681,24 +664,6 @@ class NotificationIntegration(pulumi.CustomResource):
|
|
|
681
664
|
args: NotificationIntegrationArgs,
|
|
682
665
|
opts: Optional[pulumi.ResourceOptions] = None):
|
|
683
666
|
"""
|
|
684
|
-
## Example Usage
|
|
685
|
-
|
|
686
|
-
<!--Start PulumiCodeChooser -->
|
|
687
|
-
```python
|
|
688
|
-
import pulumi
|
|
689
|
-
import pulumi_snowflake as snowflake
|
|
690
|
-
|
|
691
|
-
integration = snowflake.NotificationIntegration("integration",
|
|
692
|
-
azure_storage_queue_primary_uri="...",
|
|
693
|
-
azure_tenant_id="...",
|
|
694
|
-
comment="A notification integration.",
|
|
695
|
-
direction="OUTBOUND",
|
|
696
|
-
enabled=True,
|
|
697
|
-
notification_provider="AZURE_STORAGE_QUEUE",
|
|
698
|
-
type="QUEUE")
|
|
699
|
-
```
|
|
700
|
-
<!--End PulumiCodeChooser -->
|
|
701
|
-
|
|
702
667
|
## Import
|
|
703
668
|
|
|
704
669
|
```sh
|
|
@@ -764,6 +729,7 @@ class NotificationIntegration(pulumi.CustomResource):
|
|
|
764
729
|
__props__.__dict__["aws_sqs_external_id"] = None
|
|
765
730
|
__props__.__dict__["aws_sqs_iam_user_arn"] = None
|
|
766
731
|
__props__.__dict__["created_on"] = None
|
|
732
|
+
__props__.__dict__["fully_qualified_name"] = None
|
|
767
733
|
__props__.__dict__["gcp_pubsub_service_account"] = None
|
|
768
734
|
super(NotificationIntegration, __self__).__init__(
|
|
769
735
|
'snowflake:index/notificationIntegration:NotificationIntegration',
|
|
@@ -789,6 +755,7 @@ class NotificationIntegration(pulumi.CustomResource):
|
|
|
789
755
|
created_on: Optional[pulumi.Input[str]] = None,
|
|
790
756
|
direction: Optional[pulumi.Input[str]] = None,
|
|
791
757
|
enabled: Optional[pulumi.Input[bool]] = None,
|
|
758
|
+
fully_qualified_name: Optional[pulumi.Input[str]] = None,
|
|
792
759
|
gcp_pubsub_service_account: Optional[pulumi.Input[str]] = None,
|
|
793
760
|
gcp_pubsub_subscription_name: Optional[pulumi.Input[str]] = None,
|
|
794
761
|
gcp_pubsub_topic_name: Optional[pulumi.Input[str]] = None,
|
|
@@ -815,6 +782,7 @@ class NotificationIntegration(pulumi.CustomResource):
|
|
|
815
782
|
:param pulumi.Input[str] comment: A comment for the integration
|
|
816
783
|
:param pulumi.Input[str] created_on: Date and time when the notification integration was created.
|
|
817
784
|
:param pulumi.Input[str] direction: Direction of the cloud messaging with respect to Snowflake (required only for error notifications)
|
|
785
|
+
: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).
|
|
818
786
|
:param pulumi.Input[str] gcp_pubsub_service_account: The GCP service account identifier that Snowflake will use when assuming the GCP role
|
|
819
787
|
:param pulumi.Input[str] gcp_pubsub_subscription_name: The subscription id that Snowflake will listen to when using the GCP_PUBSUB provider.
|
|
820
788
|
:param pulumi.Input[str] gcp_pubsub_topic_name: The topic id that Snowflake will use to push notifications.
|
|
@@ -839,6 +807,7 @@ class NotificationIntegration(pulumi.CustomResource):
|
|
|
839
807
|
__props__.__dict__["created_on"] = created_on
|
|
840
808
|
__props__.__dict__["direction"] = direction
|
|
841
809
|
__props__.__dict__["enabled"] = enabled
|
|
810
|
+
__props__.__dict__["fully_qualified_name"] = fully_qualified_name
|
|
842
811
|
__props__.__dict__["gcp_pubsub_service_account"] = gcp_pubsub_service_account
|
|
843
812
|
__props__.__dict__["gcp_pubsub_subscription_name"] = gcp_pubsub_subscription_name
|
|
844
813
|
__props__.__dict__["gcp_pubsub_topic_name"] = gcp_pubsub_topic_name
|
|
@@ -881,46 +850,38 @@ class NotificationIntegration(pulumi.CustomResource):
|
|
|
881
850
|
|
|
882
851
|
@property
|
|
883
852
|
@pulumi.getter(name="awsSqsArn")
|
|
853
|
+
@_utilities.deprecated("""No longer supported notification method""")
|
|
884
854
|
def aws_sqs_arn(self) -> pulumi.Output[Optional[str]]:
|
|
885
855
|
"""
|
|
886
856
|
AWS SQS queue ARN for notification integration to connect to
|
|
887
857
|
"""
|
|
888
|
-
warnings.warn("""No longer supported notification method""", DeprecationWarning)
|
|
889
|
-
pulumi.log.warn("""aws_sqs_arn is deprecated: No longer supported notification method""")
|
|
890
|
-
|
|
891
858
|
return pulumi.get(self, "aws_sqs_arn")
|
|
892
859
|
|
|
893
860
|
@property
|
|
894
861
|
@pulumi.getter(name="awsSqsExternalId")
|
|
862
|
+
@_utilities.deprecated("""No longer supported notification method""")
|
|
895
863
|
def aws_sqs_external_id(self) -> pulumi.Output[str]:
|
|
896
864
|
"""
|
|
897
865
|
The external ID that Snowflake will use when assuming the AWS role
|
|
898
866
|
"""
|
|
899
|
-
warnings.warn("""No longer supported notification method""", DeprecationWarning)
|
|
900
|
-
pulumi.log.warn("""aws_sqs_external_id is deprecated: No longer supported notification method""")
|
|
901
|
-
|
|
902
867
|
return pulumi.get(self, "aws_sqs_external_id")
|
|
903
868
|
|
|
904
869
|
@property
|
|
905
870
|
@pulumi.getter(name="awsSqsIamUserArn")
|
|
871
|
+
@_utilities.deprecated("""No longer supported notification method""")
|
|
906
872
|
def aws_sqs_iam_user_arn(self) -> pulumi.Output[str]:
|
|
907
873
|
"""
|
|
908
874
|
The Snowflake user that will attempt to assume the AWS role.
|
|
909
875
|
"""
|
|
910
|
-
warnings.warn("""No longer supported notification method""", DeprecationWarning)
|
|
911
|
-
pulumi.log.warn("""aws_sqs_iam_user_arn is deprecated: No longer supported notification method""")
|
|
912
|
-
|
|
913
876
|
return pulumi.get(self, "aws_sqs_iam_user_arn")
|
|
914
877
|
|
|
915
878
|
@property
|
|
916
879
|
@pulumi.getter(name="awsSqsRoleArn")
|
|
880
|
+
@_utilities.deprecated("""No longer supported notification method""")
|
|
917
881
|
def aws_sqs_role_arn(self) -> pulumi.Output[Optional[str]]:
|
|
918
882
|
"""
|
|
919
883
|
AWS IAM role ARN for notification integration to assume
|
|
920
884
|
"""
|
|
921
|
-
warnings.warn("""No longer supported notification method""", DeprecationWarning)
|
|
922
|
-
pulumi.log.warn("""aws_sqs_role_arn is deprecated: No longer supported notification method""")
|
|
923
|
-
|
|
924
885
|
return pulumi.get(self, "aws_sqs_role_arn")
|
|
925
886
|
|
|
926
887
|
@property
|
|
@@ -957,13 +918,11 @@ class NotificationIntegration(pulumi.CustomResource):
|
|
|
957
918
|
|
|
958
919
|
@property
|
|
959
920
|
@pulumi.getter
|
|
921
|
+
@_utilities.deprecated("""Will be removed - it is added automatically on the SDK level.""")
|
|
960
922
|
def direction(self) -> pulumi.Output[Optional[str]]:
|
|
961
923
|
"""
|
|
962
924
|
Direction of the cloud messaging with respect to Snowflake (required only for error notifications)
|
|
963
925
|
"""
|
|
964
|
-
warnings.warn("""Will be removed - it is added automatically on the SDK level.""", DeprecationWarning)
|
|
965
|
-
pulumi.log.warn("""direction is deprecated: Will be removed - it is added automatically on the SDK level.""")
|
|
966
|
-
|
|
967
926
|
return pulumi.get(self, "direction")
|
|
968
927
|
|
|
969
928
|
@property
|
|
@@ -971,6 +930,14 @@ class NotificationIntegration(pulumi.CustomResource):
|
|
|
971
930
|
def enabled(self) -> pulumi.Output[Optional[bool]]:
|
|
972
931
|
return pulumi.get(self, "enabled")
|
|
973
932
|
|
|
933
|
+
@property
|
|
934
|
+
@pulumi.getter(name="fullyQualifiedName")
|
|
935
|
+
def fully_qualified_name(self) -> pulumi.Output[str]:
|
|
936
|
+
"""
|
|
937
|
+
Fully qualified name of the resource. For more information, see [object name resolution](https://docs.snowflake.com/en/sql-reference/name-resolution).
|
|
938
|
+
"""
|
|
939
|
+
return pulumi.get(self, "fully_qualified_name")
|
|
940
|
+
|
|
974
941
|
@property
|
|
975
942
|
@pulumi.getter(name="gcpPubsubServiceAccount")
|
|
976
943
|
def gcp_pubsub_service_account(self) -> pulumi.Output[str]:
|
|
@@ -1010,12 +977,10 @@ class NotificationIntegration(pulumi.CustomResource):
|
|
|
1010
977
|
|
|
1011
978
|
@property
|
|
1012
979
|
@pulumi.getter
|
|
980
|
+
@_utilities.deprecated("""Will be removed - it is added automatically on the SDK level.""")
|
|
1013
981
|
def type(self) -> pulumi.Output[Optional[str]]:
|
|
1014
982
|
"""
|
|
1015
983
|
A type of integration
|
|
1016
984
|
"""
|
|
1017
|
-
warnings.warn("""Will be removed - it is added automatically on the SDK level.""", DeprecationWarning)
|
|
1018
|
-
pulumi.log.warn("""type is deprecated: Will be removed - it is added automatically on the SDK level.""")
|
|
1019
|
-
|
|
1020
985
|
return pulumi.get(self, "type")
|
|
1021
986
|
|