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
|
@@ -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
|
|
@@ -20,16 +19,16 @@ __all__ = ['InstanceProfileArgs', 'InstanceProfile']
|
|
|
20
19
|
@pulumi.input_type
|
|
21
20
|
class InstanceProfileArgs:
|
|
22
21
|
def __init__(__self__, *,
|
|
23
|
-
instance_profile_arn: pulumi.Input[
|
|
24
|
-
iam_role_arn: Optional[pulumi.Input[
|
|
25
|
-
is_meta_instance_profile: Optional[pulumi.Input[
|
|
26
|
-
skip_validation: Optional[pulumi.Input[
|
|
22
|
+
instance_profile_arn: pulumi.Input[_builtins.str],
|
|
23
|
+
iam_role_arn: Optional[pulumi.Input[_builtins.str]] = None,
|
|
24
|
+
is_meta_instance_profile: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
25
|
+
skip_validation: Optional[pulumi.Input[_builtins.bool]] = None):
|
|
27
26
|
"""
|
|
28
27
|
The set of arguments for constructing a InstanceProfile resource.
|
|
29
|
-
:param pulumi.Input[
|
|
30
|
-
:param pulumi.Input[
|
|
31
|
-
:param pulumi.Input[
|
|
32
|
-
:param pulumi.Input[
|
|
28
|
+
:param pulumi.Input[_builtins.str] instance_profile_arn: `ARN` attribute of `aws_iam_instance_profile` output, the EC2 instance profile association to AWS IAM role. This ARN would be validated upon resource creation.
|
|
29
|
+
:param pulumi.Input[_builtins.str] iam_role_arn: The AWS IAM role ARN of the role associated with the instance profile. It must have the form `arn:aws:iam::<account-id>:role/<name>`. This field is required if your role name and instance profile name do not match and you want to use the instance profile with Databricks SQL Serverless.
|
|
30
|
+
:param pulumi.Input[_builtins.bool] is_meta_instance_profile: Whether the instance profile is a meta instance profile. Used only in [IAM credential passthrough](https://docs.databricks.com/security/credential-passthrough/iam-passthrough.html).
|
|
31
|
+
:param pulumi.Input[_builtins.bool] skip_validation: **For advanced usage only.** If validation fails with an error message that does not indicate an IAM related permission issue, (e.g. "Your requested instance type is not supported in your requested availability zone"), you can pass this flag to skip the validation and forcibly add the instance profile.
|
|
33
32
|
"""
|
|
34
33
|
pulumi.set(__self__, "instance_profile_arn", instance_profile_arn)
|
|
35
34
|
if iam_role_arn is not None:
|
|
@@ -39,68 +38,68 @@ class InstanceProfileArgs:
|
|
|
39
38
|
if skip_validation is not None:
|
|
40
39
|
pulumi.set(__self__, "skip_validation", skip_validation)
|
|
41
40
|
|
|
42
|
-
@property
|
|
41
|
+
@_builtins.property
|
|
43
42
|
@pulumi.getter(name="instanceProfileArn")
|
|
44
|
-
def instance_profile_arn(self) -> pulumi.Input[
|
|
43
|
+
def instance_profile_arn(self) -> pulumi.Input[_builtins.str]:
|
|
45
44
|
"""
|
|
46
45
|
`ARN` attribute of `aws_iam_instance_profile` output, the EC2 instance profile association to AWS IAM role. This ARN would be validated upon resource creation.
|
|
47
46
|
"""
|
|
48
47
|
return pulumi.get(self, "instance_profile_arn")
|
|
49
48
|
|
|
50
49
|
@instance_profile_arn.setter
|
|
51
|
-
def instance_profile_arn(self, value: pulumi.Input[
|
|
50
|
+
def instance_profile_arn(self, value: pulumi.Input[_builtins.str]):
|
|
52
51
|
pulumi.set(self, "instance_profile_arn", value)
|
|
53
52
|
|
|
54
|
-
@property
|
|
53
|
+
@_builtins.property
|
|
55
54
|
@pulumi.getter(name="iamRoleArn")
|
|
56
|
-
def iam_role_arn(self) -> Optional[pulumi.Input[
|
|
55
|
+
def iam_role_arn(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
57
56
|
"""
|
|
58
57
|
The AWS IAM role ARN of the role associated with the instance profile. It must have the form `arn:aws:iam::<account-id>:role/<name>`. This field is required if your role name and instance profile name do not match and you want to use the instance profile with Databricks SQL Serverless.
|
|
59
58
|
"""
|
|
60
59
|
return pulumi.get(self, "iam_role_arn")
|
|
61
60
|
|
|
62
61
|
@iam_role_arn.setter
|
|
63
|
-
def iam_role_arn(self, value: Optional[pulumi.Input[
|
|
62
|
+
def iam_role_arn(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
64
63
|
pulumi.set(self, "iam_role_arn", value)
|
|
65
64
|
|
|
66
|
-
@property
|
|
65
|
+
@_builtins.property
|
|
67
66
|
@pulumi.getter(name="isMetaInstanceProfile")
|
|
68
|
-
def is_meta_instance_profile(self) -> Optional[pulumi.Input[
|
|
67
|
+
def is_meta_instance_profile(self) -> Optional[pulumi.Input[_builtins.bool]]:
|
|
69
68
|
"""
|
|
70
69
|
Whether the instance profile is a meta instance profile. Used only in [IAM credential passthrough](https://docs.databricks.com/security/credential-passthrough/iam-passthrough.html).
|
|
71
70
|
"""
|
|
72
71
|
return pulumi.get(self, "is_meta_instance_profile")
|
|
73
72
|
|
|
74
73
|
@is_meta_instance_profile.setter
|
|
75
|
-
def is_meta_instance_profile(self, value: Optional[pulumi.Input[
|
|
74
|
+
def is_meta_instance_profile(self, value: Optional[pulumi.Input[_builtins.bool]]):
|
|
76
75
|
pulumi.set(self, "is_meta_instance_profile", value)
|
|
77
76
|
|
|
78
|
-
@property
|
|
77
|
+
@_builtins.property
|
|
79
78
|
@pulumi.getter(name="skipValidation")
|
|
80
|
-
def skip_validation(self) -> Optional[pulumi.Input[
|
|
79
|
+
def skip_validation(self) -> Optional[pulumi.Input[_builtins.bool]]:
|
|
81
80
|
"""
|
|
82
81
|
**For advanced usage only.** If validation fails with an error message that does not indicate an IAM related permission issue, (e.g. "Your requested instance type is not supported in your requested availability zone"), you can pass this flag to skip the validation and forcibly add the instance profile.
|
|
83
82
|
"""
|
|
84
83
|
return pulumi.get(self, "skip_validation")
|
|
85
84
|
|
|
86
85
|
@skip_validation.setter
|
|
87
|
-
def skip_validation(self, value: Optional[pulumi.Input[
|
|
86
|
+
def skip_validation(self, value: Optional[pulumi.Input[_builtins.bool]]):
|
|
88
87
|
pulumi.set(self, "skip_validation", value)
|
|
89
88
|
|
|
90
89
|
|
|
91
90
|
@pulumi.input_type
|
|
92
91
|
class _InstanceProfileState:
|
|
93
92
|
def __init__(__self__, *,
|
|
94
|
-
iam_role_arn: Optional[pulumi.Input[
|
|
95
|
-
instance_profile_arn: Optional[pulumi.Input[
|
|
96
|
-
is_meta_instance_profile: Optional[pulumi.Input[
|
|
97
|
-
skip_validation: Optional[pulumi.Input[
|
|
93
|
+
iam_role_arn: Optional[pulumi.Input[_builtins.str]] = None,
|
|
94
|
+
instance_profile_arn: Optional[pulumi.Input[_builtins.str]] = None,
|
|
95
|
+
is_meta_instance_profile: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
96
|
+
skip_validation: Optional[pulumi.Input[_builtins.bool]] = None):
|
|
98
97
|
"""
|
|
99
98
|
Input properties used for looking up and filtering InstanceProfile resources.
|
|
100
|
-
:param pulumi.Input[
|
|
101
|
-
:param pulumi.Input[
|
|
102
|
-
:param pulumi.Input[
|
|
103
|
-
:param pulumi.Input[
|
|
99
|
+
:param pulumi.Input[_builtins.str] iam_role_arn: The AWS IAM role ARN of the role associated with the instance profile. It must have the form `arn:aws:iam::<account-id>:role/<name>`. This field is required if your role name and instance profile name do not match and you want to use the instance profile with Databricks SQL Serverless.
|
|
100
|
+
:param pulumi.Input[_builtins.str] instance_profile_arn: `ARN` attribute of `aws_iam_instance_profile` output, the EC2 instance profile association to AWS IAM role. This ARN would be validated upon resource creation.
|
|
101
|
+
:param pulumi.Input[_builtins.bool] is_meta_instance_profile: Whether the instance profile is a meta instance profile. Used only in [IAM credential passthrough](https://docs.databricks.com/security/credential-passthrough/iam-passthrough.html).
|
|
102
|
+
:param pulumi.Input[_builtins.bool] skip_validation: **For advanced usage only.** If validation fails with an error message that does not indicate an IAM related permission issue, (e.g. "Your requested instance type is not supported in your requested availability zone"), you can pass this flag to skip the validation and forcibly add the instance profile.
|
|
104
103
|
"""
|
|
105
104
|
if iam_role_arn is not None:
|
|
106
105
|
pulumi.set(__self__, "iam_role_arn", iam_role_arn)
|
|
@@ -111,52 +110,52 @@ class _InstanceProfileState:
|
|
|
111
110
|
if skip_validation is not None:
|
|
112
111
|
pulumi.set(__self__, "skip_validation", skip_validation)
|
|
113
112
|
|
|
114
|
-
@property
|
|
113
|
+
@_builtins.property
|
|
115
114
|
@pulumi.getter(name="iamRoleArn")
|
|
116
|
-
def iam_role_arn(self) -> Optional[pulumi.Input[
|
|
115
|
+
def iam_role_arn(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
117
116
|
"""
|
|
118
117
|
The AWS IAM role ARN of the role associated with the instance profile. It must have the form `arn:aws:iam::<account-id>:role/<name>`. This field is required if your role name and instance profile name do not match and you want to use the instance profile with Databricks SQL Serverless.
|
|
119
118
|
"""
|
|
120
119
|
return pulumi.get(self, "iam_role_arn")
|
|
121
120
|
|
|
122
121
|
@iam_role_arn.setter
|
|
123
|
-
def iam_role_arn(self, value: Optional[pulumi.Input[
|
|
122
|
+
def iam_role_arn(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
124
123
|
pulumi.set(self, "iam_role_arn", value)
|
|
125
124
|
|
|
126
|
-
@property
|
|
125
|
+
@_builtins.property
|
|
127
126
|
@pulumi.getter(name="instanceProfileArn")
|
|
128
|
-
def instance_profile_arn(self) -> Optional[pulumi.Input[
|
|
127
|
+
def instance_profile_arn(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
129
128
|
"""
|
|
130
129
|
`ARN` attribute of `aws_iam_instance_profile` output, the EC2 instance profile association to AWS IAM role. This ARN would be validated upon resource creation.
|
|
131
130
|
"""
|
|
132
131
|
return pulumi.get(self, "instance_profile_arn")
|
|
133
132
|
|
|
134
133
|
@instance_profile_arn.setter
|
|
135
|
-
def instance_profile_arn(self, value: Optional[pulumi.Input[
|
|
134
|
+
def instance_profile_arn(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
136
135
|
pulumi.set(self, "instance_profile_arn", value)
|
|
137
136
|
|
|
138
|
-
@property
|
|
137
|
+
@_builtins.property
|
|
139
138
|
@pulumi.getter(name="isMetaInstanceProfile")
|
|
140
|
-
def is_meta_instance_profile(self) -> Optional[pulumi.Input[
|
|
139
|
+
def is_meta_instance_profile(self) -> Optional[pulumi.Input[_builtins.bool]]:
|
|
141
140
|
"""
|
|
142
141
|
Whether the instance profile is a meta instance profile. Used only in [IAM credential passthrough](https://docs.databricks.com/security/credential-passthrough/iam-passthrough.html).
|
|
143
142
|
"""
|
|
144
143
|
return pulumi.get(self, "is_meta_instance_profile")
|
|
145
144
|
|
|
146
145
|
@is_meta_instance_profile.setter
|
|
147
|
-
def is_meta_instance_profile(self, value: Optional[pulumi.Input[
|
|
146
|
+
def is_meta_instance_profile(self, value: Optional[pulumi.Input[_builtins.bool]]):
|
|
148
147
|
pulumi.set(self, "is_meta_instance_profile", value)
|
|
149
148
|
|
|
150
|
-
@property
|
|
149
|
+
@_builtins.property
|
|
151
150
|
@pulumi.getter(name="skipValidation")
|
|
152
|
-
def skip_validation(self) -> Optional[pulumi.Input[
|
|
151
|
+
def skip_validation(self) -> Optional[pulumi.Input[_builtins.bool]]:
|
|
153
152
|
"""
|
|
154
153
|
**For advanced usage only.** If validation fails with an error message that does not indicate an IAM related permission issue, (e.g. "Your requested instance type is not supported in your requested availability zone"), you can pass this flag to skip the validation and forcibly add the instance profile.
|
|
155
154
|
"""
|
|
156
155
|
return pulumi.get(self, "skip_validation")
|
|
157
156
|
|
|
158
157
|
@skip_validation.setter
|
|
159
|
-
def skip_validation(self, value: Optional[pulumi.Input[
|
|
158
|
+
def skip_validation(self, value: Optional[pulumi.Input[_builtins.bool]]):
|
|
160
159
|
pulumi.set(self, "skip_validation", value)
|
|
161
160
|
|
|
162
161
|
|
|
@@ -166,10 +165,10 @@ class InstanceProfile(pulumi.CustomResource):
|
|
|
166
165
|
def __init__(__self__,
|
|
167
166
|
resource_name: str,
|
|
168
167
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
169
|
-
iam_role_arn: Optional[pulumi.Input[
|
|
170
|
-
instance_profile_arn: Optional[pulumi.Input[
|
|
171
|
-
is_meta_instance_profile: Optional[pulumi.Input[
|
|
172
|
-
skip_validation: Optional[pulumi.Input[
|
|
168
|
+
iam_role_arn: Optional[pulumi.Input[_builtins.str]] = None,
|
|
169
|
+
instance_profile_arn: Optional[pulumi.Input[_builtins.str]] = None,
|
|
170
|
+
is_meta_instance_profile: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
171
|
+
skip_validation: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
173
172
|
__props__=None):
|
|
174
173
|
"""
|
|
175
174
|
This resource allows you to manage AWS EC2 instance profiles that users can launch Cluster and access data, like databricks_mount. The following example demonstrates how to create an instance profile and create a cluster with it. When creating a new `InstanceProfile`, Databricks validates that it has sufficient permissions to launch instances with the instance profile. This validation uses AWS dry-run mode for the [AWS EC2 RunInstances API](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_RunInstances.html).
|
|
@@ -327,10 +326,10 @@ class InstanceProfile(pulumi.CustomResource):
|
|
|
327
326
|
|
|
328
327
|
:param str resource_name: The name of the resource.
|
|
329
328
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
330
|
-
:param pulumi.Input[
|
|
331
|
-
:param pulumi.Input[
|
|
332
|
-
:param pulumi.Input[
|
|
333
|
-
:param pulumi.Input[
|
|
329
|
+
:param pulumi.Input[_builtins.str] iam_role_arn: The AWS IAM role ARN of the role associated with the instance profile. It must have the form `arn:aws:iam::<account-id>:role/<name>`. This field is required if your role name and instance profile name do not match and you want to use the instance profile with Databricks SQL Serverless.
|
|
330
|
+
:param pulumi.Input[_builtins.str] instance_profile_arn: `ARN` attribute of `aws_iam_instance_profile` output, the EC2 instance profile association to AWS IAM role. This ARN would be validated upon resource creation.
|
|
331
|
+
:param pulumi.Input[_builtins.bool] is_meta_instance_profile: Whether the instance profile is a meta instance profile. Used only in [IAM credential passthrough](https://docs.databricks.com/security/credential-passthrough/iam-passthrough.html).
|
|
332
|
+
:param pulumi.Input[_builtins.bool] skip_validation: **For advanced usage only.** If validation fails with an error message that does not indicate an IAM related permission issue, (e.g. "Your requested instance type is not supported in your requested availability zone"), you can pass this flag to skip the validation and forcibly add the instance profile.
|
|
334
333
|
"""
|
|
335
334
|
...
|
|
336
335
|
@overload
|
|
@@ -507,10 +506,10 @@ class InstanceProfile(pulumi.CustomResource):
|
|
|
507
506
|
def _internal_init(__self__,
|
|
508
507
|
resource_name: str,
|
|
509
508
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
510
|
-
iam_role_arn: Optional[pulumi.Input[
|
|
511
|
-
instance_profile_arn: Optional[pulumi.Input[
|
|
512
|
-
is_meta_instance_profile: Optional[pulumi.Input[
|
|
513
|
-
skip_validation: Optional[pulumi.Input[
|
|
509
|
+
iam_role_arn: Optional[pulumi.Input[_builtins.str]] = None,
|
|
510
|
+
instance_profile_arn: Optional[pulumi.Input[_builtins.str]] = None,
|
|
511
|
+
is_meta_instance_profile: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
512
|
+
skip_validation: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
514
513
|
__props__=None):
|
|
515
514
|
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
|
516
515
|
if not isinstance(opts, pulumi.ResourceOptions):
|
|
@@ -536,10 +535,10 @@ class InstanceProfile(pulumi.CustomResource):
|
|
|
536
535
|
def get(resource_name: str,
|
|
537
536
|
id: pulumi.Input[str],
|
|
538
537
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
539
|
-
iam_role_arn: Optional[pulumi.Input[
|
|
540
|
-
instance_profile_arn: Optional[pulumi.Input[
|
|
541
|
-
is_meta_instance_profile: Optional[pulumi.Input[
|
|
542
|
-
skip_validation: Optional[pulumi.Input[
|
|
538
|
+
iam_role_arn: Optional[pulumi.Input[_builtins.str]] = None,
|
|
539
|
+
instance_profile_arn: Optional[pulumi.Input[_builtins.str]] = None,
|
|
540
|
+
is_meta_instance_profile: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
541
|
+
skip_validation: Optional[pulumi.Input[_builtins.bool]] = None) -> 'InstanceProfile':
|
|
543
542
|
"""
|
|
544
543
|
Get an existing InstanceProfile resource's state with the given name, id, and optional extra
|
|
545
544
|
properties used to qualify the lookup.
|
|
@@ -547,10 +546,10 @@ class InstanceProfile(pulumi.CustomResource):
|
|
|
547
546
|
:param str resource_name: The unique name of the resulting resource.
|
|
548
547
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
549
548
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
550
|
-
:param pulumi.Input[
|
|
551
|
-
:param pulumi.Input[
|
|
552
|
-
:param pulumi.Input[
|
|
553
|
-
:param pulumi.Input[
|
|
549
|
+
:param pulumi.Input[_builtins.str] iam_role_arn: The AWS IAM role ARN of the role associated with the instance profile. It must have the form `arn:aws:iam::<account-id>:role/<name>`. This field is required if your role name and instance profile name do not match and you want to use the instance profile with Databricks SQL Serverless.
|
|
550
|
+
:param pulumi.Input[_builtins.str] instance_profile_arn: `ARN` attribute of `aws_iam_instance_profile` output, the EC2 instance profile association to AWS IAM role. This ARN would be validated upon resource creation.
|
|
551
|
+
:param pulumi.Input[_builtins.bool] is_meta_instance_profile: Whether the instance profile is a meta instance profile. Used only in [IAM credential passthrough](https://docs.databricks.com/security/credential-passthrough/iam-passthrough.html).
|
|
552
|
+
:param pulumi.Input[_builtins.bool] skip_validation: **For advanced usage only.** If validation fails with an error message that does not indicate an IAM related permission issue, (e.g. "Your requested instance type is not supported in your requested availability zone"), you can pass this flag to skip the validation and forcibly add the instance profile.
|
|
554
553
|
"""
|
|
555
554
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
556
555
|
|
|
@@ -562,33 +561,33 @@ class InstanceProfile(pulumi.CustomResource):
|
|
|
562
561
|
__props__.__dict__["skip_validation"] = skip_validation
|
|
563
562
|
return InstanceProfile(resource_name, opts=opts, __props__=__props__)
|
|
564
563
|
|
|
565
|
-
@property
|
|
564
|
+
@_builtins.property
|
|
566
565
|
@pulumi.getter(name="iamRoleArn")
|
|
567
|
-
def iam_role_arn(self) -> pulumi.Output[Optional[
|
|
566
|
+
def iam_role_arn(self) -> pulumi.Output[Optional[_builtins.str]]:
|
|
568
567
|
"""
|
|
569
568
|
The AWS IAM role ARN of the role associated with the instance profile. It must have the form `arn:aws:iam::<account-id>:role/<name>`. This field is required if your role name and instance profile name do not match and you want to use the instance profile with Databricks SQL Serverless.
|
|
570
569
|
"""
|
|
571
570
|
return pulumi.get(self, "iam_role_arn")
|
|
572
571
|
|
|
573
|
-
@property
|
|
572
|
+
@_builtins.property
|
|
574
573
|
@pulumi.getter(name="instanceProfileArn")
|
|
575
|
-
def instance_profile_arn(self) -> pulumi.Output[
|
|
574
|
+
def instance_profile_arn(self) -> pulumi.Output[_builtins.str]:
|
|
576
575
|
"""
|
|
577
576
|
`ARN` attribute of `aws_iam_instance_profile` output, the EC2 instance profile association to AWS IAM role. This ARN would be validated upon resource creation.
|
|
578
577
|
"""
|
|
579
578
|
return pulumi.get(self, "instance_profile_arn")
|
|
580
579
|
|
|
581
|
-
@property
|
|
580
|
+
@_builtins.property
|
|
582
581
|
@pulumi.getter(name="isMetaInstanceProfile")
|
|
583
|
-
def is_meta_instance_profile(self) -> pulumi.Output[Optional[
|
|
582
|
+
def is_meta_instance_profile(self) -> pulumi.Output[Optional[_builtins.bool]]:
|
|
584
583
|
"""
|
|
585
584
|
Whether the instance profile is a meta instance profile. Used only in [IAM credential passthrough](https://docs.databricks.com/security/credential-passthrough/iam-passthrough.html).
|
|
586
585
|
"""
|
|
587
586
|
return pulumi.get(self, "is_meta_instance_profile")
|
|
588
587
|
|
|
589
|
-
@property
|
|
588
|
+
@_builtins.property
|
|
590
589
|
@pulumi.getter(name="skipValidation")
|
|
591
|
-
def skip_validation(self) -> pulumi.Output[
|
|
590
|
+
def skip_validation(self) -> pulumi.Output[_builtins.bool]:
|
|
592
591
|
"""
|
|
593
592
|
**For advanced usage only.** If validation fails with an error message that does not indicate an IAM related permission issue, (e.g. "Your requested instance type is not supported in your requested availability zone"), you can pass this flag to skip the validation and forcibly add the instance profile.
|
|
594
593
|
"""
|