pulumi-databricks 1.74.0a1753335781__py3-none-any.whl → 1.77.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- pulumi_databricks/__init__.py +185 -12
- pulumi_databricks/_inputs.py +30467 -20225
- pulumi_databricks/access_control_rule_set.py +28 -29
- pulumi_databricks/account_federation_policy.py +473 -0
- pulumi_databricks/account_network_policy.py +74 -43
- pulumi_databricks/account_setting_v2.py +759 -0
- pulumi_databricks/aibi_dashboard_embedding_access_policy_setting.py +30 -31
- pulumi_databricks/aibi_dashboard_embedding_approved_domains_setting.py +30 -31
- pulumi_databricks/alert.py +185 -186
- pulumi_databricks/alert_v2.py +369 -211
- pulumi_databricks/app.py +315 -209
- pulumi_databricks/apps_settings_custom_template.py +531 -0
- pulumi_databricks/artifact_allowlist.py +72 -73
- pulumi_databricks/automatic_cluster_update_workspace_setting.py +30 -31
- pulumi_databricks/budget.py +84 -85
- pulumi_databricks/budget_policy.py +75 -53
- pulumi_databricks/catalog.py +544 -225
- pulumi_databricks/catalog_workspace_binding.py +82 -83
- pulumi_databricks/cluster.py +561 -683
- pulumi_databricks/cluster_policy.py +115 -116
- pulumi_databricks/compliance_security_profile_workspace_setting.py +30 -31
- pulumi_databricks/config/__init__.py +1 -1
- pulumi_databricks/config/__init__.pyi +3 -2
- pulumi_databricks/config/vars.py +40 -37
- pulumi_databricks/connection.py +346 -211
- pulumi_databricks/credential.py +262 -263
- pulumi_databricks/custom_app_integration.py +175 -176
- pulumi_databricks/dashboard.py +207 -208
- pulumi_databricks/data_quality_monitor.py +453 -0
- pulumi_databricks/data_quality_refresh.py +492 -0
- pulumi_databricks/database_database_catalog.py +437 -0
- pulumi_databricks/database_instance.py +938 -137
- pulumi_databricks/database_synced_database_table.py +589 -0
- pulumi_databricks/dbfs_file.py +87 -84
- pulumi_databricks/default_namespace_setting.py +30 -31
- pulumi_databricks/directory.py +61 -62
- pulumi_databricks/disable_legacy_access_setting.py +109 -33
- pulumi_databricks/disable_legacy_dbfs_setting.py +58 -39
- pulumi_databricks/disable_legacy_features_setting.py +62 -37
- pulumi_databricks/enhanced_security_monitoring_workspace_setting.py +30 -31
- pulumi_databricks/entitlements.py +148 -149
- pulumi_databricks/entity_tag_assignment.py +409 -0
- pulumi_databricks/external_location.py +276 -290
- pulumi_databricks/external_metadata.py +726 -0
- pulumi_databricks/feature_engineering_feature.py +480 -0
- pulumi_databricks/feature_engineering_materialized_feature.py +397 -0
- pulumi_databricks/file.py +96 -97
- pulumi_databricks/get_account_federation_policies.py +127 -0
- pulumi_databricks/get_account_federation_policy.py +214 -0
- pulumi_databricks/get_account_network_policies.py +36 -7
- pulumi_databricks/get_account_network_policy.py +33 -29
- pulumi_databricks/get_account_setting_v2.py +331 -0
- pulumi_databricks/get_alert_v2.py +100 -84
- pulumi_databricks/get_alerts_v2.py +35 -17
- pulumi_databricks/get_app.py +31 -20
- pulumi_databricks/get_apps.py +26 -15
- pulumi_databricks/get_apps_settings_custom_template.py +207 -0
- pulumi_databricks/get_apps_settings_custom_templates.py +133 -0
- pulumi_databricks/get_aws_assume_role_policy.py +27 -28
- pulumi_databricks/get_aws_bucket_policy.py +39 -40
- pulumi_databricks/get_aws_cross_account_policy.py +47 -48
- pulumi_databricks/get_aws_unity_catalog_assume_role_policy.py +35 -36
- pulumi_databricks/get_aws_unity_catalog_policy.py +35 -36
- pulumi_databricks/get_budget_policies.py +74 -11
- pulumi_databricks/get_budget_policy.py +43 -39
- pulumi_databricks/get_catalog.py +35 -19
- pulumi_databricks/get_catalogs.py +32 -14
- pulumi_databricks/get_cluster.py +41 -25
- pulumi_databricks/get_cluster_policy.py +72 -54
- pulumi_databricks/get_clusters.py +41 -25
- pulumi_databricks/get_current_config.py +23 -24
- pulumi_databricks/get_current_metastore.py +29 -13
- pulumi_databricks/get_current_user.py +17 -18
- pulumi_databricks/get_dashboards.py +34 -15
- pulumi_databricks/get_data_quality_monitor.py +210 -0
- pulumi_databricks/get_data_quality_monitors.py +143 -0
- pulumi_databricks/get_data_quality_refresh.py +270 -0
- pulumi_databricks/get_data_quality_refreshes.py +207 -0
- pulumi_databricks/get_database_database_catalog.py +176 -0
- pulumi_databricks/get_database_database_catalogs.py +120 -0
- pulumi_databricks/get_database_instance.py +274 -50
- pulumi_databricks/get_database_instances.py +35 -11
- pulumi_databricks/get_database_synced_database_table.py +225 -0
- pulumi_databricks/get_database_synced_database_tables.py +120 -0
- pulumi_databricks/get_dbfs_file.py +19 -20
- pulumi_databricks/get_dbfs_file_paths.py +16 -17
- pulumi_databricks/get_directory.py +43 -25
- pulumi_databricks/get_entity_tag_assignment.py +202 -0
- pulumi_databricks/get_entity_tag_assignments.py +187 -0
- pulumi_databricks/get_external_location.py +35 -19
- pulumi_databricks/get_external_locations.py +32 -14
- pulumi_databricks/get_external_metadata.py +292 -0
- pulumi_databricks/get_external_metadatas.py +135 -0
- pulumi_databricks/get_feature_engineering_feature.py +179 -0
- pulumi_databricks/get_feature_engineering_features.py +103 -0
- pulumi_databricks/get_feature_engineering_materialized_feature.py +180 -0
- pulumi_databricks/get_feature_engineering_materialized_features.py +123 -0
- pulumi_databricks/get_functions.py +38 -24
- pulumi_databricks/get_group.py +85 -86
- pulumi_databricks/get_instance_pool.py +10 -11
- pulumi_databricks/get_instance_profiles.py +25 -9
- pulumi_databricks/get_job.py +22 -23
- pulumi_databricks/get_jobs.py +44 -26
- pulumi_databricks/get_materialized_features_feature_tag.py +102 -0
- pulumi_databricks/get_materialized_features_feature_tags.py +133 -0
- pulumi_databricks/get_metastore.py +28 -29
- pulumi_databricks/get_metastores.py +9 -10
- pulumi_databricks/get_mlflow_experiment.py +62 -46
- pulumi_databricks/get_mlflow_model.py +47 -31
- pulumi_databricks/get_mlflow_models.py +32 -14
- pulumi_databricks/get_mws_credentials.py +9 -10
- pulumi_databricks/get_mws_network_connectivity_config.py +40 -41
- pulumi_databricks/get_mws_network_connectivity_configs.py +15 -16
- pulumi_databricks/get_mws_workspaces.py +5 -6
- pulumi_databricks/get_node_type.py +123 -87
- pulumi_databricks/get_notebook.py +37 -38
- pulumi_databricks/get_notebook_paths.py +16 -17
- pulumi_databricks/get_notification_destinations.py +33 -18
- pulumi_databricks/get_online_store.py +36 -27
- pulumi_databricks/get_online_stores.py +33 -13
- pulumi_databricks/get_pipelines.py +49 -31
- pulumi_databricks/get_policy_info.py +338 -0
- pulumi_databricks/get_policy_infos.py +169 -0
- pulumi_databricks/get_quality_monitor_v2.py +21 -18
- pulumi_databricks/get_quality_monitors_v2.py +26 -8
- pulumi_databricks/get_registered_model.py +41 -27
- pulumi_databricks/get_registered_model_versions.py +29 -15
- pulumi_databricks/get_rfa_access_request_destinations.py +126 -0
- pulumi_databricks/get_schema.py +32 -16
- pulumi_databricks/get_schemas.py +38 -20
- pulumi_databricks/get_service_principal.py +80 -58
- pulumi_databricks/get_service_principal_federation_policies.py +151 -0
- pulumi_databricks/get_service_principal_federation_policy.py +220 -0
- pulumi_databricks/get_service_principals.py +16 -17
- pulumi_databricks/get_serving_endpoints.py +23 -9
- pulumi_databricks/get_share.py +130 -32
- pulumi_databricks/get_shares.py +29 -11
- pulumi_databricks/get_spark_version.py +87 -69
- pulumi_databricks/get_sql_warehouse.py +124 -110
- pulumi_databricks/get_sql_warehouses.py +37 -19
- pulumi_databricks/get_storage_credential.py +32 -16
- pulumi_databricks/get_storage_credentials.py +32 -14
- pulumi_databricks/get_table.py +30 -14
- pulumi_databricks/get_tables.py +41 -23
- pulumi_databricks/get_tag_policies.py +139 -0
- pulumi_databricks/get_tag_policy.py +175 -0
- pulumi_databricks/get_user.py +33 -34
- pulumi_databricks/get_views.py +41 -23
- pulumi_databricks/get_volume.py +32 -16
- pulumi_databricks/get_volumes.py +41 -23
- pulumi_databricks/get_workspace_network_option.py +45 -26
- pulumi_databricks/get_workspace_setting_v2.py +331 -0
- pulumi_databricks/get_zones.py +39 -21
- pulumi_databricks/git_credential.py +242 -76
- pulumi_databricks/global_init_script.py +99 -100
- pulumi_databricks/grant.py +215 -212
- pulumi_databricks/grants.py +200 -211
- pulumi_databricks/group.py +176 -177
- pulumi_databricks/group_instance_profile.py +37 -38
- pulumi_databricks/group_member.py +37 -38
- pulumi_databricks/group_role.py +37 -38
- pulumi_databricks/instance_pool.py +168 -169
- pulumi_databricks/instance_profile.py +69 -70
- pulumi_databricks/ip_access_list.py +71 -72
- pulumi_databricks/job.py +426 -346
- pulumi_databricks/lakehouse_monitor.py +199 -200
- pulumi_databricks/library.py +264 -99
- pulumi_databricks/materialized_features_feature_tag.py +213 -0
- pulumi_databricks/metastore.py +254 -255
- pulumi_databricks/metastore_assignment.py +52 -53
- pulumi_databricks/metastore_data_access.py +153 -154
- pulumi_databricks/metastore_provider.py +69 -70
- pulumi_databricks/mlflow_experiment.py +108 -109
- pulumi_databricks/mlflow_model.py +45 -46
- pulumi_databricks/mlflow_webhook.py +75 -76
- pulumi_databricks/model_serving.py +195 -74
- pulumi_databricks/model_serving_provisioned_throughput.py +100 -54
- pulumi_databricks/mount.py +103 -104
- pulumi_databricks/mws_credentials.py +99 -100
- pulumi_databricks/mws_customer_managed_keys.py +75 -76
- pulumi_databricks/mws_log_delivery.py +188 -189
- pulumi_databricks/mws_ncc_binding.py +35 -36
- pulumi_databricks/mws_ncc_private_endpoint_rule.py +312 -289
- pulumi_databricks/mws_network_connectivity_config.py +136 -98
- pulumi_databricks/mws_networks.py +159 -160
- pulumi_databricks/mws_permission_assignment.py +70 -71
- pulumi_databricks/mws_private_access_settings.py +116 -117
- pulumi_databricks/mws_storage_configurations.py +74 -75
- pulumi_databricks/mws_vpc_endpoint.py +149 -150
- pulumi_databricks/mws_workspaces.py +464 -418
- pulumi_databricks/notebook.py +143 -144
- pulumi_databricks/notification_destination.py +38 -39
- pulumi_databricks/obo_token.py +63 -64
- pulumi_databricks/online_store.py +121 -70
- pulumi_databricks/online_table.py +41 -42
- pulumi_databricks/outputs.py +47821 -30802
- pulumi_databricks/permission_assignment.py +298 -57
- pulumi_databricks/permissions.py +523 -362
- pulumi_databricks/pipeline.py +515 -480
- pulumi_databricks/policy_info.py +916 -0
- pulumi_databricks/provider.py +283 -269
- pulumi_databricks/pulumi-plugin.json +1 -1
- pulumi_databricks/quality_monitor.py +263 -217
- pulumi_databricks/quality_monitor_v2.py +49 -46
- pulumi_databricks/query.py +227 -228
- pulumi_databricks/recipient.py +208 -209
- pulumi_databricks/registered_model.py +393 -122
- pulumi_databricks/repo.py +117 -118
- pulumi_databricks/restrict_workspace_admins_setting.py +30 -31
- pulumi_databricks/rfa_access_request_destinations.py +286 -0
- pulumi_databricks/schema.py +159 -160
- pulumi_databricks/secret.py +72 -73
- pulumi_databricks/secret_acl.py +52 -53
- pulumi_databricks/secret_scope.py +55 -56
- pulumi_databricks/service_principal.py +279 -278
- pulumi_databricks/service_principal_federation_policy.py +469 -0
- pulumi_databricks/service_principal_role.py +35 -36
- pulumi_databricks/service_principal_secret.py +156 -157
- pulumi_databricks/share.py +186 -187
- pulumi_databricks/sql_alert.py +98 -99
- pulumi_databricks/sql_dashboard.py +94 -95
- pulumi_databricks/sql_endpoint.py +298 -266
- pulumi_databricks/sql_global_config.py +103 -104
- pulumi_databricks/sql_permissions.py +121 -122
- pulumi_databricks/sql_query.py +150 -151
- pulumi_databricks/sql_table.py +310 -283
- pulumi_databricks/sql_visualization.py +92 -93
- pulumi_databricks/sql_widget.py +91 -88
- pulumi_databricks/storage_credential.py +236 -184
- pulumi_databricks/system_schema.py +50 -51
- pulumi_databricks/table.py +147 -148
- pulumi_databricks/tag_policy.py +357 -0
- pulumi_databricks/token.py +83 -84
- pulumi_databricks/user.py +284 -285
- pulumi_databricks/user_instance_profile.py +35 -36
- pulumi_databricks/user_role.py +35 -36
- pulumi_databricks/vector_search_endpoint.py +117 -118
- pulumi_databricks/vector_search_index.py +86 -87
- pulumi_databricks/volume.py +129 -130
- pulumi_databricks/workspace_binding.py +82 -131
- pulumi_databricks/workspace_conf.py +18 -19
- pulumi_databricks/workspace_file.py +100 -101
- pulumi_databricks/workspace_network_option.py +89 -40
- pulumi_databricks/workspace_setting_v2.py +759 -0
- {pulumi_databricks-1.74.0a1753335781.dist-info → pulumi_databricks-1.77.0.dist-info}/METADATA +1 -1
- pulumi_databricks-1.77.0.dist-info/RECORD +250 -0
- pulumi_databricks/get_recipient_federation_policies.py +0 -83
- pulumi_databricks/get_recipient_federation_policy.py +0 -166
- pulumi_databricks/recipient_federation_policy.py +0 -347
- pulumi_databricks-1.74.0a1753335781.dist-info/RECORD +0 -205
- {pulumi_databricks-1.74.0a1753335781.dist-info → pulumi_databricks-1.77.0.dist-info}/WHEEL +0 -0
- {pulumi_databricks-1.74.0a1753335781.dist-info → pulumi_databricks-1.77.0.dist-info}/top_level.txt +0 -0
pulumi_databricks/get_apps.py
CHANGED
|
@@ -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
|
|
@@ -15,6 +14,7 @@ else:
|
|
|
15
14
|
from typing_extensions import NotRequired, TypedDict, TypeAlias
|
|
16
15
|
from . import _utilities
|
|
17
16
|
from . import outputs
|
|
17
|
+
from ._inputs import *
|
|
18
18
|
|
|
19
19
|
__all__ = [
|
|
20
20
|
'GetAppsResult',
|
|
@@ -28,27 +28,35 @@ class GetAppsResult:
|
|
|
28
28
|
"""
|
|
29
29
|
A collection of values returned by getApps.
|
|
30
30
|
"""
|
|
31
|
-
def __init__(__self__, apps=None, id=None):
|
|
31
|
+
def __init__(__self__, apps=None, id=None, provider_config=None):
|
|
32
32
|
if apps and not isinstance(apps, list):
|
|
33
33
|
raise TypeError("Expected argument 'apps' to be a list")
|
|
34
34
|
pulumi.set(__self__, "apps", apps)
|
|
35
35
|
if id and not isinstance(id, str):
|
|
36
36
|
raise TypeError("Expected argument 'id' to be a str")
|
|
37
37
|
pulumi.set(__self__, "id", id)
|
|
38
|
+
if provider_config and not isinstance(provider_config, dict):
|
|
39
|
+
raise TypeError("Expected argument 'provider_config' to be a dict")
|
|
40
|
+
pulumi.set(__self__, "provider_config", provider_config)
|
|
38
41
|
|
|
39
|
-
@property
|
|
42
|
+
@_builtins.property
|
|
40
43
|
@pulumi.getter
|
|
41
44
|
def apps(self) -> Sequence['outputs.GetAppsAppResult']:
|
|
42
45
|
return pulumi.get(self, "apps")
|
|
43
46
|
|
|
44
|
-
@property
|
|
47
|
+
@_builtins.property
|
|
45
48
|
@pulumi.getter
|
|
46
|
-
def id(self) ->
|
|
49
|
+
def id(self) -> _builtins.str:
|
|
47
50
|
"""
|
|
48
51
|
The provider-assigned unique ID for this managed resource.
|
|
49
52
|
"""
|
|
50
53
|
return pulumi.get(self, "id")
|
|
51
54
|
|
|
55
|
+
@_builtins.property
|
|
56
|
+
@pulumi.getter(name="providerConfig")
|
|
57
|
+
def provider_config(self) -> Optional['outputs.GetAppsProviderConfigResult']:
|
|
58
|
+
return pulumi.get(self, "provider_config")
|
|
59
|
+
|
|
52
60
|
|
|
53
61
|
class AwaitableGetAppsResult(GetAppsResult):
|
|
54
62
|
# pylint: disable=using-constant-test
|
|
@@ -57,15 +65,15 @@ class AwaitableGetAppsResult(GetAppsResult):
|
|
|
57
65
|
yield self
|
|
58
66
|
return GetAppsResult(
|
|
59
67
|
apps=self.apps,
|
|
60
|
-
id=self.id
|
|
68
|
+
id=self.id,
|
|
69
|
+
provider_config=self.provider_config)
|
|
61
70
|
|
|
62
71
|
|
|
63
|
-
def get_apps(
|
|
72
|
+
def get_apps(provider_config: Optional[Union['GetAppsProviderConfigArgs', 'GetAppsProviderConfigArgsDict']] = None,
|
|
73
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetAppsResult:
|
|
64
74
|
"""
|
|
65
75
|
> This data source can only be used with a workspace-level provider!
|
|
66
76
|
|
|
67
|
-
> This feature is in [Public Preview](https://docs.databricks.com/release-notes/release-types.html).
|
|
68
|
-
|
|
69
77
|
[Databricks Apps](https://docs.databricks.com/en/dev-tools/databricks-apps/index.html) run directly on a customer’s Databricks instance, integrate with their data, use and extend Databricks services, and enable users to interact through single sign-on. This resource creates the application but does not handle app deployment, which should be handled separately as part of your CI/CD pipeline.
|
|
70
78
|
|
|
71
79
|
This data source allows you to fetch information about all Databricks Apps within a workspace.
|
|
@@ -90,18 +98,19 @@ def get_apps(opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetAppsRes
|
|
|
90
98
|
* Job to manage [Databricks Jobs](https://docs.databricks.com/jobs.html) to run non-interactive code.
|
|
91
99
|
"""
|
|
92
100
|
__args__ = dict()
|
|
101
|
+
__args__['providerConfig'] = provider_config
|
|
93
102
|
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
94
103
|
__ret__ = pulumi.runtime.invoke('databricks:index/getApps:getApps', __args__, opts=opts, typ=GetAppsResult).value
|
|
95
104
|
|
|
96
105
|
return AwaitableGetAppsResult(
|
|
97
106
|
apps=pulumi.get(__ret__, 'apps'),
|
|
98
|
-
id=pulumi.get(__ret__, 'id')
|
|
99
|
-
|
|
107
|
+
id=pulumi.get(__ret__, 'id'),
|
|
108
|
+
provider_config=pulumi.get(__ret__, 'provider_config'))
|
|
109
|
+
def get_apps_output(provider_config: Optional[pulumi.Input[Optional[Union['GetAppsProviderConfigArgs', 'GetAppsProviderConfigArgsDict']]]] = None,
|
|
110
|
+
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetAppsResult]:
|
|
100
111
|
"""
|
|
101
112
|
> This data source can only be used with a workspace-level provider!
|
|
102
113
|
|
|
103
|
-
> This feature is in [Public Preview](https://docs.databricks.com/release-notes/release-types.html).
|
|
104
|
-
|
|
105
114
|
[Databricks Apps](https://docs.databricks.com/en/dev-tools/databricks-apps/index.html) run directly on a customer’s Databricks instance, integrate with their data, use and extend Databricks services, and enable users to interact through single sign-on. This resource creates the application but does not handle app deployment, which should be handled separately as part of your CI/CD pipeline.
|
|
106
115
|
|
|
107
116
|
This data source allows you to fetch information about all Databricks Apps within a workspace.
|
|
@@ -126,8 +135,10 @@ def get_apps_output(opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutp
|
|
|
126
135
|
* Job to manage [Databricks Jobs](https://docs.databricks.com/jobs.html) to run non-interactive code.
|
|
127
136
|
"""
|
|
128
137
|
__args__ = dict()
|
|
138
|
+
__args__['providerConfig'] = provider_config
|
|
129
139
|
opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
130
140
|
__ret__ = pulumi.runtime.invoke_output('databricks:index/getApps:getApps', __args__, opts=opts, typ=GetAppsResult)
|
|
131
141
|
return __ret__.apply(lambda __response__: GetAppsResult(
|
|
132
142
|
apps=pulumi.get(__response__, 'apps'),
|
|
133
|
-
id=pulumi.get(__response__, 'id')
|
|
143
|
+
id=pulumi.get(__response__, 'id'),
|
|
144
|
+
provider_config=pulumi.get(__response__, 'provider_config')))
|
|
@@ -0,0 +1,207 @@
|
|
|
1
|
+
# coding=utf-8
|
|
2
|
+
# *** WARNING: this file was generated by pulumi-language-python. ***
|
|
3
|
+
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
|
|
5
|
+
import builtins as _builtins
|
|
6
|
+
import warnings
|
|
7
|
+
import sys
|
|
8
|
+
import pulumi
|
|
9
|
+
import pulumi.runtime
|
|
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
|
|
15
|
+
from . import _utilities
|
|
16
|
+
from . import outputs
|
|
17
|
+
|
|
18
|
+
__all__ = [
|
|
19
|
+
'GetAppsSettingsCustomTemplateResult',
|
|
20
|
+
'AwaitableGetAppsSettingsCustomTemplateResult',
|
|
21
|
+
'get_apps_settings_custom_template',
|
|
22
|
+
'get_apps_settings_custom_template_output',
|
|
23
|
+
]
|
|
24
|
+
|
|
25
|
+
@pulumi.output_type
|
|
26
|
+
class GetAppsSettingsCustomTemplateResult:
|
|
27
|
+
"""
|
|
28
|
+
A collection of values returned by getAppsSettingsCustomTemplate.
|
|
29
|
+
"""
|
|
30
|
+
def __init__(__self__, creator=None, description=None, git_provider=None, git_repo=None, id=None, manifest=None, name=None, path=None):
|
|
31
|
+
if creator and not isinstance(creator, str):
|
|
32
|
+
raise TypeError("Expected argument 'creator' to be a str")
|
|
33
|
+
pulumi.set(__self__, "creator", creator)
|
|
34
|
+
if description and not isinstance(description, str):
|
|
35
|
+
raise TypeError("Expected argument 'description' to be a str")
|
|
36
|
+
pulumi.set(__self__, "description", description)
|
|
37
|
+
if git_provider and not isinstance(git_provider, str):
|
|
38
|
+
raise TypeError("Expected argument 'git_provider' to be a str")
|
|
39
|
+
pulumi.set(__self__, "git_provider", git_provider)
|
|
40
|
+
if git_repo and not isinstance(git_repo, str):
|
|
41
|
+
raise TypeError("Expected argument 'git_repo' to be a str")
|
|
42
|
+
pulumi.set(__self__, "git_repo", git_repo)
|
|
43
|
+
if id and not isinstance(id, str):
|
|
44
|
+
raise TypeError("Expected argument 'id' to be a str")
|
|
45
|
+
pulumi.set(__self__, "id", id)
|
|
46
|
+
if manifest and not isinstance(manifest, dict):
|
|
47
|
+
raise TypeError("Expected argument 'manifest' to be a dict")
|
|
48
|
+
pulumi.set(__self__, "manifest", manifest)
|
|
49
|
+
if name and not isinstance(name, str):
|
|
50
|
+
raise TypeError("Expected argument 'name' to be a str")
|
|
51
|
+
pulumi.set(__self__, "name", name)
|
|
52
|
+
if path and not isinstance(path, str):
|
|
53
|
+
raise TypeError("Expected argument 'path' to be a str")
|
|
54
|
+
pulumi.set(__self__, "path", path)
|
|
55
|
+
|
|
56
|
+
@_builtins.property
|
|
57
|
+
@pulumi.getter
|
|
58
|
+
def creator(self) -> _builtins.str:
|
|
59
|
+
"""
|
|
60
|
+
(string)
|
|
61
|
+
"""
|
|
62
|
+
return pulumi.get(self, "creator")
|
|
63
|
+
|
|
64
|
+
@_builtins.property
|
|
65
|
+
@pulumi.getter
|
|
66
|
+
def description(self) -> _builtins.str:
|
|
67
|
+
"""
|
|
68
|
+
(string) - Description of the App Resource
|
|
69
|
+
"""
|
|
70
|
+
return pulumi.get(self, "description")
|
|
71
|
+
|
|
72
|
+
@_builtins.property
|
|
73
|
+
@pulumi.getter(name="gitProvider")
|
|
74
|
+
def git_provider(self) -> _builtins.str:
|
|
75
|
+
"""
|
|
76
|
+
(string) - The Git provider of the template
|
|
77
|
+
"""
|
|
78
|
+
return pulumi.get(self, "git_provider")
|
|
79
|
+
|
|
80
|
+
@_builtins.property
|
|
81
|
+
@pulumi.getter(name="gitRepo")
|
|
82
|
+
def git_repo(self) -> _builtins.str:
|
|
83
|
+
"""
|
|
84
|
+
(string) - The Git repository URL that the template resides in
|
|
85
|
+
"""
|
|
86
|
+
return pulumi.get(self, "git_repo")
|
|
87
|
+
|
|
88
|
+
@_builtins.property
|
|
89
|
+
@pulumi.getter
|
|
90
|
+
def id(self) -> _builtins.str:
|
|
91
|
+
"""
|
|
92
|
+
The provider-assigned unique ID for this managed resource.
|
|
93
|
+
"""
|
|
94
|
+
return pulumi.get(self, "id")
|
|
95
|
+
|
|
96
|
+
@_builtins.property
|
|
97
|
+
@pulumi.getter
|
|
98
|
+
def manifest(self) -> 'outputs.GetAppsSettingsCustomTemplateManifestResult':
|
|
99
|
+
"""
|
|
100
|
+
(AppManifest) - The manifest of the template. It defines fields and default values when installing the template
|
|
101
|
+
"""
|
|
102
|
+
return pulumi.get(self, "manifest")
|
|
103
|
+
|
|
104
|
+
@_builtins.property
|
|
105
|
+
@pulumi.getter
|
|
106
|
+
def name(self) -> _builtins.str:
|
|
107
|
+
"""
|
|
108
|
+
(string) - Name of the App Resource
|
|
109
|
+
"""
|
|
110
|
+
return pulumi.get(self, "name")
|
|
111
|
+
|
|
112
|
+
@_builtins.property
|
|
113
|
+
@pulumi.getter
|
|
114
|
+
def path(self) -> _builtins.str:
|
|
115
|
+
"""
|
|
116
|
+
(string) - The path to the template within the Git repository
|
|
117
|
+
"""
|
|
118
|
+
return pulumi.get(self, "path")
|
|
119
|
+
|
|
120
|
+
|
|
121
|
+
class AwaitableGetAppsSettingsCustomTemplateResult(GetAppsSettingsCustomTemplateResult):
|
|
122
|
+
# pylint: disable=using-constant-test
|
|
123
|
+
def __await__(self):
|
|
124
|
+
if False:
|
|
125
|
+
yield self
|
|
126
|
+
return GetAppsSettingsCustomTemplateResult(
|
|
127
|
+
creator=self.creator,
|
|
128
|
+
description=self.description,
|
|
129
|
+
git_provider=self.git_provider,
|
|
130
|
+
git_repo=self.git_repo,
|
|
131
|
+
id=self.id,
|
|
132
|
+
manifest=self.manifest,
|
|
133
|
+
name=self.name,
|
|
134
|
+
path=self.path)
|
|
135
|
+
|
|
136
|
+
|
|
137
|
+
def get_apps_settings_custom_template(name: Optional[_builtins.str] = None,
|
|
138
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetAppsSettingsCustomTemplateResult:
|
|
139
|
+
"""
|
|
140
|
+
[](https://docs.databricks.com/aws/en/release-notes/release-types)
|
|
141
|
+
|
|
142
|
+
This data source can be used to get a single Custom Template.
|
|
143
|
+
|
|
144
|
+
## Example Usage
|
|
145
|
+
|
|
146
|
+
Referring to a Custom Template by name:
|
|
147
|
+
|
|
148
|
+
```python
|
|
149
|
+
import pulumi
|
|
150
|
+
import pulumi_databricks as databricks
|
|
151
|
+
|
|
152
|
+
my_template = databricks.get_apps_settings_custom_template(name="my-custom-template")
|
|
153
|
+
```
|
|
154
|
+
|
|
155
|
+
|
|
156
|
+
:param _builtins.str name: The name of the template. It must contain only alphanumeric characters, hyphens, underscores, and whitespaces.
|
|
157
|
+
It must be unique within the workspace
|
|
158
|
+
"""
|
|
159
|
+
__args__ = dict()
|
|
160
|
+
__args__['name'] = name
|
|
161
|
+
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
162
|
+
__ret__ = pulumi.runtime.invoke('databricks:index/getAppsSettingsCustomTemplate:getAppsSettingsCustomTemplate', __args__, opts=opts, typ=GetAppsSettingsCustomTemplateResult).value
|
|
163
|
+
|
|
164
|
+
return AwaitableGetAppsSettingsCustomTemplateResult(
|
|
165
|
+
creator=pulumi.get(__ret__, 'creator'),
|
|
166
|
+
description=pulumi.get(__ret__, 'description'),
|
|
167
|
+
git_provider=pulumi.get(__ret__, 'git_provider'),
|
|
168
|
+
git_repo=pulumi.get(__ret__, 'git_repo'),
|
|
169
|
+
id=pulumi.get(__ret__, 'id'),
|
|
170
|
+
manifest=pulumi.get(__ret__, 'manifest'),
|
|
171
|
+
name=pulumi.get(__ret__, 'name'),
|
|
172
|
+
path=pulumi.get(__ret__, 'path'))
|
|
173
|
+
def get_apps_settings_custom_template_output(name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
174
|
+
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetAppsSettingsCustomTemplateResult]:
|
|
175
|
+
"""
|
|
176
|
+
[](https://docs.databricks.com/aws/en/release-notes/release-types)
|
|
177
|
+
|
|
178
|
+
This data source can be used to get a single Custom Template.
|
|
179
|
+
|
|
180
|
+
## Example Usage
|
|
181
|
+
|
|
182
|
+
Referring to a Custom Template by name:
|
|
183
|
+
|
|
184
|
+
```python
|
|
185
|
+
import pulumi
|
|
186
|
+
import pulumi_databricks as databricks
|
|
187
|
+
|
|
188
|
+
my_template = databricks.get_apps_settings_custom_template(name="my-custom-template")
|
|
189
|
+
```
|
|
190
|
+
|
|
191
|
+
|
|
192
|
+
:param _builtins.str name: The name of the template. It must contain only alphanumeric characters, hyphens, underscores, and whitespaces.
|
|
193
|
+
It must be unique within the workspace
|
|
194
|
+
"""
|
|
195
|
+
__args__ = dict()
|
|
196
|
+
__args__['name'] = name
|
|
197
|
+
opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
198
|
+
__ret__ = pulumi.runtime.invoke_output('databricks:index/getAppsSettingsCustomTemplate:getAppsSettingsCustomTemplate', __args__, opts=opts, typ=GetAppsSettingsCustomTemplateResult)
|
|
199
|
+
return __ret__.apply(lambda __response__: GetAppsSettingsCustomTemplateResult(
|
|
200
|
+
creator=pulumi.get(__response__, 'creator'),
|
|
201
|
+
description=pulumi.get(__response__, 'description'),
|
|
202
|
+
git_provider=pulumi.get(__response__, 'git_provider'),
|
|
203
|
+
git_repo=pulumi.get(__response__, 'git_repo'),
|
|
204
|
+
id=pulumi.get(__response__, 'id'),
|
|
205
|
+
manifest=pulumi.get(__response__, 'manifest'),
|
|
206
|
+
name=pulumi.get(__response__, 'name'),
|
|
207
|
+
path=pulumi.get(__response__, 'path')))
|
|
@@ -0,0 +1,133 @@
|
|
|
1
|
+
# coding=utf-8
|
|
2
|
+
# *** WARNING: this file was generated by pulumi-language-python. ***
|
|
3
|
+
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
|
|
5
|
+
import builtins as _builtins
|
|
6
|
+
import warnings
|
|
7
|
+
import sys
|
|
8
|
+
import pulumi
|
|
9
|
+
import pulumi.runtime
|
|
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
|
|
15
|
+
from . import _utilities
|
|
16
|
+
from . import outputs
|
|
17
|
+
|
|
18
|
+
__all__ = [
|
|
19
|
+
'GetAppsSettingsCustomTemplatesResult',
|
|
20
|
+
'AwaitableGetAppsSettingsCustomTemplatesResult',
|
|
21
|
+
'get_apps_settings_custom_templates',
|
|
22
|
+
'get_apps_settings_custom_templates_output',
|
|
23
|
+
]
|
|
24
|
+
|
|
25
|
+
@pulumi.output_type
|
|
26
|
+
class GetAppsSettingsCustomTemplatesResult:
|
|
27
|
+
"""
|
|
28
|
+
A collection of values returned by getAppsSettingsCustomTemplates.
|
|
29
|
+
"""
|
|
30
|
+
def __init__(__self__, id=None, page_size=None, templates=None):
|
|
31
|
+
if id and not isinstance(id, str):
|
|
32
|
+
raise TypeError("Expected argument 'id' to be a str")
|
|
33
|
+
pulumi.set(__self__, "id", id)
|
|
34
|
+
if page_size and not isinstance(page_size, int):
|
|
35
|
+
raise TypeError("Expected argument 'page_size' to be a int")
|
|
36
|
+
pulumi.set(__self__, "page_size", page_size)
|
|
37
|
+
if templates and not isinstance(templates, list):
|
|
38
|
+
raise TypeError("Expected argument 'templates' to be a list")
|
|
39
|
+
pulumi.set(__self__, "templates", templates)
|
|
40
|
+
|
|
41
|
+
@_builtins.property
|
|
42
|
+
@pulumi.getter
|
|
43
|
+
def id(self) -> _builtins.str:
|
|
44
|
+
"""
|
|
45
|
+
The provider-assigned unique ID for this managed resource.
|
|
46
|
+
"""
|
|
47
|
+
return pulumi.get(self, "id")
|
|
48
|
+
|
|
49
|
+
@_builtins.property
|
|
50
|
+
@pulumi.getter(name="pageSize")
|
|
51
|
+
def page_size(self) -> Optional[_builtins.int]:
|
|
52
|
+
return pulumi.get(self, "page_size")
|
|
53
|
+
|
|
54
|
+
@_builtins.property
|
|
55
|
+
@pulumi.getter
|
|
56
|
+
def templates(self) -> Sequence['outputs.GetAppsSettingsCustomTemplatesTemplateResult']:
|
|
57
|
+
return pulumi.get(self, "templates")
|
|
58
|
+
|
|
59
|
+
|
|
60
|
+
class AwaitableGetAppsSettingsCustomTemplatesResult(GetAppsSettingsCustomTemplatesResult):
|
|
61
|
+
# pylint: disable=using-constant-test
|
|
62
|
+
def __await__(self):
|
|
63
|
+
if False:
|
|
64
|
+
yield self
|
|
65
|
+
return GetAppsSettingsCustomTemplatesResult(
|
|
66
|
+
id=self.id,
|
|
67
|
+
page_size=self.page_size,
|
|
68
|
+
templates=self.templates)
|
|
69
|
+
|
|
70
|
+
|
|
71
|
+
def get_apps_settings_custom_templates(page_size: Optional[_builtins.int] = None,
|
|
72
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetAppsSettingsCustomTemplatesResult:
|
|
73
|
+
"""
|
|
74
|
+
[](https://docs.databricks.com/aws/en/release-notes/release-types)
|
|
75
|
+
|
|
76
|
+
This data source can be used to fetch the list of Custom Templates within the workspace.
|
|
77
|
+
The list can then be accessed via the data object's `templates` field.
|
|
78
|
+
|
|
79
|
+
## Example Usage
|
|
80
|
+
|
|
81
|
+
Getting a list of all Custom Templates:
|
|
82
|
+
|
|
83
|
+
```python
|
|
84
|
+
import pulumi
|
|
85
|
+
import pulumi_databricks as databricks
|
|
86
|
+
|
|
87
|
+
all = databricks.get_apps_settings_custom_templates()
|
|
88
|
+
pulumi.export("allCustomTemplates", all.templates)
|
|
89
|
+
```
|
|
90
|
+
|
|
91
|
+
|
|
92
|
+
:param _builtins.int page_size: Upper bound for items returned
|
|
93
|
+
"""
|
|
94
|
+
__args__ = dict()
|
|
95
|
+
__args__['pageSize'] = page_size
|
|
96
|
+
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
97
|
+
__ret__ = pulumi.runtime.invoke('databricks:index/getAppsSettingsCustomTemplates:getAppsSettingsCustomTemplates', __args__, opts=opts, typ=GetAppsSettingsCustomTemplatesResult).value
|
|
98
|
+
|
|
99
|
+
return AwaitableGetAppsSettingsCustomTemplatesResult(
|
|
100
|
+
id=pulumi.get(__ret__, 'id'),
|
|
101
|
+
page_size=pulumi.get(__ret__, 'page_size'),
|
|
102
|
+
templates=pulumi.get(__ret__, 'templates'))
|
|
103
|
+
def get_apps_settings_custom_templates_output(page_size: Optional[pulumi.Input[Optional[_builtins.int]]] = None,
|
|
104
|
+
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetAppsSettingsCustomTemplatesResult]:
|
|
105
|
+
"""
|
|
106
|
+
[](https://docs.databricks.com/aws/en/release-notes/release-types)
|
|
107
|
+
|
|
108
|
+
This data source can be used to fetch the list of Custom Templates within the workspace.
|
|
109
|
+
The list can then be accessed via the data object's `templates` field.
|
|
110
|
+
|
|
111
|
+
## Example Usage
|
|
112
|
+
|
|
113
|
+
Getting a list of all Custom Templates:
|
|
114
|
+
|
|
115
|
+
```python
|
|
116
|
+
import pulumi
|
|
117
|
+
import pulumi_databricks as databricks
|
|
118
|
+
|
|
119
|
+
all = databricks.get_apps_settings_custom_templates()
|
|
120
|
+
pulumi.export("allCustomTemplates", all.templates)
|
|
121
|
+
```
|
|
122
|
+
|
|
123
|
+
|
|
124
|
+
:param _builtins.int page_size: Upper bound for items returned
|
|
125
|
+
"""
|
|
126
|
+
__args__ = dict()
|
|
127
|
+
__args__['pageSize'] = page_size
|
|
128
|
+
opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
129
|
+
__ret__ = pulumi.runtime.invoke_output('databricks:index/getAppsSettingsCustomTemplates:getAppsSettingsCustomTemplates', __args__, opts=opts, typ=GetAppsSettingsCustomTemplatesResult)
|
|
130
|
+
return __ret__.apply(lambda __response__: GetAppsSettingsCustomTemplatesResult(
|
|
131
|
+
id=pulumi.get(__response__, 'id'),
|
|
132
|
+
page_size=pulumi.get(__response__, 'page_size'),
|
|
133
|
+
templates=pulumi.get(__response__, 'templates')))
|
|
@@ -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
|
|
@@ -47,38 +46,38 @@ class GetAwsAssumeRolePolicyResult:
|
|
|
47
46
|
raise TypeError("Expected argument 'json' to be a str")
|
|
48
47
|
pulumi.set(__self__, "json", json)
|
|
49
48
|
|
|
50
|
-
@property
|
|
49
|
+
@_builtins.property
|
|
51
50
|
@pulumi.getter(name="awsPartition")
|
|
52
|
-
def aws_partition(self) -> Optional[
|
|
51
|
+
def aws_partition(self) -> Optional[_builtins.str]:
|
|
53
52
|
return pulumi.get(self, "aws_partition")
|
|
54
53
|
|
|
55
|
-
@property
|
|
54
|
+
@_builtins.property
|
|
56
55
|
@pulumi.getter(name="databricksAccountId")
|
|
57
56
|
@_utilities.deprecated("""databricks_account_id will be will be removed in the next major release.""")
|
|
58
|
-
def databricks_account_id(self) -> Optional[
|
|
57
|
+
def databricks_account_id(self) -> Optional[_builtins.str]:
|
|
59
58
|
return pulumi.get(self, "databricks_account_id")
|
|
60
59
|
|
|
61
|
-
@property
|
|
60
|
+
@_builtins.property
|
|
62
61
|
@pulumi.getter(name="externalId")
|
|
63
|
-
def external_id(self) ->
|
|
62
|
+
def external_id(self) -> _builtins.str:
|
|
64
63
|
return pulumi.get(self, "external_id")
|
|
65
64
|
|
|
66
|
-
@property
|
|
65
|
+
@_builtins.property
|
|
67
66
|
@pulumi.getter(name="forLogDelivery")
|
|
68
|
-
def for_log_delivery(self) -> Optional[
|
|
67
|
+
def for_log_delivery(self) -> Optional[_builtins.bool]:
|
|
69
68
|
return pulumi.get(self, "for_log_delivery")
|
|
70
69
|
|
|
71
|
-
@property
|
|
70
|
+
@_builtins.property
|
|
72
71
|
@pulumi.getter
|
|
73
|
-
def id(self) ->
|
|
72
|
+
def id(self) -> _builtins.str:
|
|
74
73
|
"""
|
|
75
74
|
The provider-assigned unique ID for this managed resource.
|
|
76
75
|
"""
|
|
77
76
|
return pulumi.get(self, "id")
|
|
78
77
|
|
|
79
|
-
@property
|
|
78
|
+
@_builtins.property
|
|
80
79
|
@pulumi.getter
|
|
81
|
-
def json(self) ->
|
|
80
|
+
def json(self) -> _builtins.str:
|
|
82
81
|
"""
|
|
83
82
|
AWS IAM Policy JSON document
|
|
84
83
|
"""
|
|
@@ -99,10 +98,10 @@ class AwaitableGetAwsAssumeRolePolicyResult(GetAwsAssumeRolePolicyResult):
|
|
|
99
98
|
json=self.json)
|
|
100
99
|
|
|
101
100
|
|
|
102
|
-
def get_aws_assume_role_policy(aws_partition: Optional[
|
|
103
|
-
databricks_account_id: Optional[
|
|
104
|
-
external_id: Optional[
|
|
105
|
-
for_log_delivery: Optional[
|
|
101
|
+
def get_aws_assume_role_policy(aws_partition: Optional[_builtins.str] = None,
|
|
102
|
+
databricks_account_id: Optional[_builtins.str] = None,
|
|
103
|
+
external_id: Optional[_builtins.str] = None,
|
|
104
|
+
for_log_delivery: Optional[_builtins.bool] = None,
|
|
106
105
|
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetAwsAssumeRolePolicyResult:
|
|
107
106
|
"""
|
|
108
107
|
This data source constructs necessary AWS STS assume role policy for you.
|
|
@@ -149,9 +148,9 @@ def get_aws_assume_role_policy(aws_partition: Optional[builtins.str] = None,
|
|
|
149
148
|
* get_aws_cross_account_policy data to construct the necessary AWS cross-account policy for you, which is based on [official documentation](https://docs.databricks.com/administration-guide/account-api/iam-role.html#language-Your%C2%A0VPC,%C2%A0default).
|
|
150
149
|
|
|
151
150
|
|
|
152
|
-
:param
|
|
153
|
-
:param
|
|
154
|
-
:param
|
|
151
|
+
:param _builtins.str aws_partition: AWS partition. The options are `aws`, `aws-us-gov`, or `aws-us-gov-dod`. Defaults to `aws`
|
|
152
|
+
:param _builtins.str external_id: Account Id that could be found in the top right corner of [Accounts Console](https://accounts.cloud.databricks.com/).
|
|
153
|
+
:param _builtins.bool for_log_delivery: Either or not this assume role policy should be created for usage log delivery. Defaults to false.
|
|
155
154
|
"""
|
|
156
155
|
__args__ = dict()
|
|
157
156
|
__args__['awsPartition'] = aws_partition
|
|
@@ -168,10 +167,10 @@ def get_aws_assume_role_policy(aws_partition: Optional[builtins.str] = None,
|
|
|
168
167
|
for_log_delivery=pulumi.get(__ret__, 'for_log_delivery'),
|
|
169
168
|
id=pulumi.get(__ret__, 'id'),
|
|
170
169
|
json=pulumi.get(__ret__, 'json'))
|
|
171
|
-
def get_aws_assume_role_policy_output(aws_partition: Optional[pulumi.Input[Optional[
|
|
172
|
-
databricks_account_id: Optional[pulumi.Input[Optional[
|
|
173
|
-
external_id: Optional[pulumi.Input[
|
|
174
|
-
for_log_delivery: Optional[pulumi.Input[Optional[
|
|
170
|
+
def get_aws_assume_role_policy_output(aws_partition: Optional[pulumi.Input[Optional[_builtins.str]]] = None,
|
|
171
|
+
databricks_account_id: Optional[pulumi.Input[Optional[_builtins.str]]] = None,
|
|
172
|
+
external_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
173
|
+
for_log_delivery: Optional[pulumi.Input[Optional[_builtins.bool]]] = None,
|
|
175
174
|
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetAwsAssumeRolePolicyResult]:
|
|
176
175
|
"""
|
|
177
176
|
This data source constructs necessary AWS STS assume role policy for you.
|
|
@@ -218,9 +217,9 @@ def get_aws_assume_role_policy_output(aws_partition: Optional[pulumi.Input[Optio
|
|
|
218
217
|
* get_aws_cross_account_policy data to construct the necessary AWS cross-account policy for you, which is based on [official documentation](https://docs.databricks.com/administration-guide/account-api/iam-role.html#language-Your%C2%A0VPC,%C2%A0default).
|
|
219
218
|
|
|
220
219
|
|
|
221
|
-
:param
|
|
222
|
-
:param
|
|
223
|
-
:param
|
|
220
|
+
:param _builtins.str aws_partition: AWS partition. The options are `aws`, `aws-us-gov`, or `aws-us-gov-dod`. Defaults to `aws`
|
|
221
|
+
:param _builtins.str external_id: Account Id that could be found in the top right corner of [Accounts Console](https://accounts.cloud.databricks.com/).
|
|
222
|
+
:param _builtins.bool for_log_delivery: Either or not this assume role policy should be created for usage log delivery. Defaults to false.
|
|
224
223
|
"""
|
|
225
224
|
__args__ = dict()
|
|
226
225
|
__args__['awsPartition'] = aws_partition
|