@pulumi/databricks 0.0.1-alpha.1648473134
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.
- package/LICENSE +202 -0
- package/README.md +303 -0
- package/awsS3Mount.d.ts +50 -0
- package/awsS3Mount.js +63 -0
- package/awsS3Mount.js.map +1 -0
- package/azureAdlsGen1Mount.d.ts +65 -0
- package/azureAdlsGen1Mount.js +85 -0
- package/azureAdlsGen1Mount.js.map +1 -0
- package/azureAdlsGen2Mount.d.ts +68 -0
- package/azureAdlsGen2Mount.js +93 -0
- package/azureAdlsGen2Mount.js.map +1 -0
- package/azureBlobMount.d.ts +62 -0
- package/azureBlobMount.js +83 -0
- package/azureBlobMount.js.map +1 -0
- package/catalog.d.ts +124 -0
- package/catalog.js +88 -0
- package/catalog.js.map +1 -0
- package/cluster.d.ts +332 -0
- package/cluster.js +121 -0
- package/cluster.js.map +1 -0
- package/clusterPolicy.d.ts +112 -0
- package/clusterPolicy.js +97 -0
- package/clusterPolicy.js.map +1 -0
- package/config/index.d.ts +1 -0
- package/config/index.js +21 -0
- package/config/index.js.map +1 -0
- package/config/vars.d.ts +20 -0
- package/config/vars.js +127 -0
- package/config/vars.js.map +1 -0
- package/dbfsFile.d.ts +91 -0
- package/dbfsFile.js +71 -0
- package/dbfsFile.js.map +1 -0
- package/directory.d.ts +72 -0
- package/directory.js +65 -0
- package/directory.js.map +1 -0
- package/externalLocation.d.ts +114 -0
- package/externalLocation.js +80 -0
- package/externalLocation.js.map +1 -0
- package/getAwsAssumeRolePolicy.d.ts +47 -0
- package/getAwsAssumeRolePolicy.js +24 -0
- package/getAwsAssumeRolePolicy.js.map +1 -0
- package/getAwsBucketPolicy.d.ts +59 -0
- package/getAwsBucketPolicy.js +36 -0
- package/getAwsBucketPolicy.js.map +1 -0
- package/getAwsCrossAccountPolicy.d.ts +59 -0
- package/getAwsCrossAccountPolicy.js +47 -0
- package/getAwsCrossAccountPolicy.js.map +1 -0
- package/getCatalogs.d.ts +54 -0
- package/getCatalogs.js +43 -0
- package/getCatalogs.js.map +1 -0
- package/getClusters.d.ts +69 -0
- package/getClusters.js +57 -0
- package/getClusters.js.map +1 -0
- package/getCurrentUser.d.ts +39 -0
- package/getCurrentUser.js +38 -0
- package/getCurrentUser.js.map +1 -0
- package/getDbfsFile.d.ts +69 -0
- package/getDbfsFile.js +44 -0
- package/getDbfsFile.js.map +1 -0
- package/getDbfsFilePaths.d.ts +68 -0
- package/getDbfsFilePaths.js +46 -0
- package/getDbfsFilePaths.js.map +1 -0
- package/getGroup.d.ts +166 -0
- package/getGroup.js +46 -0
- package/getGroup.js.map +1 -0
- package/getJobs.d.ts +47 -0
- package/getJobs.js +30 -0
- package/getJobs.js.map +1 -0
- package/getNodeType.d.ts +173 -0
- package/getNodeType.js +71 -0
- package/getNodeType.js.map +1 -0
- package/getNotebook.d.ts +93 -0
- package/getNotebook.js +39 -0
- package/getNotebook.js.map +1 -0
- package/getNotebookPaths.d.ts +58 -0
- package/getNotebookPaths.js +36 -0
- package/getNotebookPaths.js.map +1 -0
- package/getSchemas.d.ts +65 -0
- package/getSchemas.js +45 -0
- package/getSchemas.js.map +1 -0
- package/getSparkVersion.d.ts +150 -0
- package/getSparkVersion.js +70 -0
- package/getSparkVersion.js.map +1 -0
- package/getTables.d.ts +75 -0
- package/getTables.js +47 -0
- package/getTables.js.map +1 -0
- package/getUser.d.ts +78 -0
- package/getUser.js +39 -0
- package/getUser.js.map +1 -0
- package/getZones.d.ts +29 -0
- package/getZones.js +26 -0
- package/getZones.js.map +1 -0
- package/gitCredential.d.ts +48 -0
- package/gitCredential.js +64 -0
- package/gitCredential.js.map +1 -0
- package/globalInitScript.d.ts +99 -0
- package/globalInitScript.js +68 -0
- package/globalInitScript.js.map +1 -0
- package/grants.d.ts +58 -0
- package/grants.js +64 -0
- package/grants.js.map +1 -0
- package/group.d.ts +131 -0
- package/group.js +83 -0
- package/group.js.map +1 -0
- package/groupInstanceProfile.d.ts +96 -0
- package/groupInstanceProfile.js +93 -0
- package/groupInstanceProfile.js.map +1 -0
- package/index.d.ts +81 -0
- package/index.js +362 -0
- package/index.js.map +1 -0
- package/instancePool.d.ts +166 -0
- package/instancePool.js +93 -0
- package/instancePool.js.map +1 -0
- package/instanceProfile.d.ts +180 -0
- package/instanceProfile.js +161 -0
- package/instanceProfile.js.map +1 -0
- package/ipAccessList.d.ts +128 -0
- package/ipAccessList.js +108 -0
- package/ipAccessList.js.map +1 -0
- package/job.d.ts +228 -0
- package/job.js +102 -0
- package/job.js.map +1 -0
- package/library.d.ts +183 -0
- package/library.js +189 -0
- package/library.js.map +1 -0
- package/metastore.d.ts +102 -0
- package/metastore.js +75 -0
- package/metastore.js.map +1 -0
- package/metastoreAssignment.d.ts +94 -0
- package/metastoreAssignment.js +81 -0
- package/metastoreAssignment.js.map +1 -0
- package/metastoreDataAccess.d.ts +85 -0
- package/metastoreDataAccess.js +73 -0
- package/metastoreDataAccess.js.map +1 -0
- package/mlflowExperiment.d.ts +122 -0
- package/mlflowExperiment.js +99 -0
- package/mlflowExperiment.js.map +1 -0
- package/mlflowModel.d.ts +131 -0
- package/mlflowModel.js +107 -0
- package/mlflowModel.js.map +1 -0
- package/mlflowWebhook.d.ts +129 -0
- package/mlflowWebhook.js +100 -0
- package/mlflowWebhook.js.map +1 -0
- package/mount.d.ts +89 -0
- package/mount.js +76 -0
- package/mount.js.map +1 -0
- package/mwsCredentials.d.ts +137 -0
- package/mwsCredentials.js +115 -0
- package/mwsCredentials.js.map +1 -0
- package/mwsCustomerManagedKeys.d.ts +257 -0
- package/mwsCustomerManagedKeys.js +226 -0
- package/mwsCustomerManagedKeys.js.map +1 -0
- package/mwsLogDelivery.d.ts +219 -0
- package/mwsLogDelivery.js +144 -0
- package/mwsLogDelivery.js.map +1 -0
- package/mwsNetworks.d.ts +129 -0
- package/mwsNetworks.js +89 -0
- package/mwsNetworks.js.map +1 -0
- package/mwsPrivateAccessSettings.d.ts +137 -0
- package/mwsPrivateAccessSettings.js +74 -0
- package/mwsPrivateAccessSettings.js.map +1 -0
- package/mwsStorageConfigurations.d.ts +122 -0
- package/mwsStorageConfigurations.js +106 -0
- package/mwsStorageConfigurations.js.map +1 -0
- package/mwsVpcEndpoint.d.ts +122 -0
- package/mwsVpcEndpoint.js +79 -0
- package/mwsVpcEndpoint.js.map +1 -0
- package/mwsWorkspaces.d.ts +222 -0
- package/mwsWorkspaces.js +106 -0
- package/mwsWorkspaces.js.map +1 -0
- package/notebook.d.ts +128 -0
- package/notebook.js +77 -0
- package/notebook.js.map +1 -0
- package/oboToken.d.ts +98 -0
- package/oboToken.js +82 -0
- package/oboToken.js.map +1 -0
- package/package.json +28 -0
- package/package.json.bak +28 -0
- package/package.json.dev +28 -0
- package/permissions.d.ts +211 -0
- package/permissions.js +97 -0
- package/permissions.js.map +1 -0
- package/pipeline.d.ts +200 -0
- package/pipeline.js +134 -0
- package/pipeline.js.map +1 -0
- package/provider.d.ts +61 -0
- package/provider.js +64 -0
- package/provider.js.map +1 -0
- package/repo.d.ts +117 -0
- package/repo.js +71 -0
- package/repo.js.map +1 -0
- package/schema.d.ts +149 -0
- package/schema.js +106 -0
- package/schema.js.map +1 -0
- package/scripts/install-pulumi-plugin.js +21 -0
- package/secret.d.ts +115 -0
- package/secret.js +99 -0
- package/secret.js.map +1 -0
- package/secretAcl.d.ts +115 -0
- package/secretAcl.js +105 -0
- package/secretAcl.js.map +1 -0
- package/secretScope.d.ts +85 -0
- package/secretScope.js +64 -0
- package/secretScope.js.map +1 -0
- package/servicePrincipal.d.ts +142 -0
- package/servicePrincipal.js +83 -0
- package/servicePrincipal.js.map +1 -0
- package/sqlDashboard.d.ts +90 -0
- package/sqlDashboard.js +99 -0
- package/sqlDashboard.js.map +1 -0
- package/sqlEndpoint.d.ts +249 -0
- package/sqlEndpoint.js +128 -0
- package/sqlEndpoint.js.map +1 -0
- package/sqlGlobalConfig.d.ts +157 -0
- package/sqlGlobalConfig.js +115 -0
- package/sqlGlobalConfig.js.map +1 -0
- package/sqlPermissions.d.ts +191 -0
- package/sqlPermissions.js +139 -0
- package/sqlPermissions.js.map +1 -0
- package/sqlQuery.d.ts +131 -0
- package/sqlQuery.js +139 -0
- package/sqlQuery.js.map +1 -0
- package/sqlVisualization.d.ts +105 -0
- package/sqlVisualization.js +119 -0
- package/sqlVisualization.js.map +1 -0
- package/sqlWidget.d.ts +109 -0
- package/sqlWidget.js +114 -0
- package/sqlWidget.js.map +1 -0
- package/storageCredential.d.ts +122 -0
- package/storageCredential.js +118 -0
- package/storageCredential.js.map +1 -0
- package/table.d.ts +249 -0
- package/table.js +157 -0
- package/table.js.map +1 -0
- package/token.d.ts +102 -0
- package/token.js +84 -0
- package/token.js.map +1 -0
- package/types/index.d.ts +3 -0
- package/types/index.js +11 -0
- package/types/index.js.map +1 -0
- package/types/input.d.ts +1209 -0
- package/types/input.js +5 -0
- package/types/input.js.map +1 -0
- package/types/output.d.ts +1222 -0
- package/types/output.js +5 -0
- package/types/output.js.map +1 -0
- package/user.d.ts +149 -0
- package/user.js +91 -0
- package/user.js.map +1 -0
- package/userInstanceProfile.d.ts +93 -0
- package/userInstanceProfile.js +90 -0
- package/userInstanceProfile.js.map +1 -0
- package/userRole.d.ts +106 -0
- package/userRole.js +103 -0
- package/userRole.js.map +1 -0
- package/utilities.d.ts +4 -0
- package/utilities.js +57 -0
- package/utilities.js.map +1 -0
- package/workspaceConf.d.ts +76 -0
- package/workspaceConf.js +71 -0
- package/workspaceConf.js.map +1 -0
|
@@ -0,0 +1,137 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* ## Import
|
|
4
|
+
*
|
|
5
|
+
* -> **Note** Importing this resource is not currently supported.
|
|
6
|
+
*/
|
|
7
|
+
export declare class MwsPrivateAccessSettings extends pulumi.CustomResource {
|
|
8
|
+
/**
|
|
9
|
+
* Get an existing MwsPrivateAccessSettings resource's state with the given name, ID, and optional extra
|
|
10
|
+
* properties used to qualify the lookup.
|
|
11
|
+
*
|
|
12
|
+
* @param name The _unique_ name of the resulting resource.
|
|
13
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
14
|
+
* @param state Any extra arguments used during the lookup.
|
|
15
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
16
|
+
*/
|
|
17
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: MwsPrivateAccessSettingsState, opts?: pulumi.CustomResourceOptions): MwsPrivateAccessSettings;
|
|
18
|
+
/**
|
|
19
|
+
* Returns true if the given object is an instance of MwsPrivateAccessSettings. This is designed to work even
|
|
20
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
21
|
+
*/
|
|
22
|
+
static isInstance(obj: any): obj is MwsPrivateAccessSettings;
|
|
23
|
+
/**
|
|
24
|
+
* Account Id that could be found in the bottom left corner of [Accounts Console](https://accounts.cloud.databricks.com/)
|
|
25
|
+
*/
|
|
26
|
+
readonly accountId: pulumi.Output<string | undefined>;
|
|
27
|
+
/**
|
|
28
|
+
* An array of databricks.MwsVpcEndpoint `vpcEndpointId` (not `id`). Only used when `privateAccessLevel` is set to `ENDPOINT`. This is an allow list of databricks.MwsVpcEndpoint that in your account that can connect to your databricks.MwsWorkspaces over AWS PrivateLink. If hybrid access to your workspace is enabled by setting `publicAccessEnabled` to true, then this control only works for PrivateLink connections. To control how your workspace is accessed via public internet, see the article for databricks_ip_access_list.
|
|
29
|
+
*/
|
|
30
|
+
readonly allowedVpcEndpointIds: pulumi.Output<string[] | undefined>;
|
|
31
|
+
/**
|
|
32
|
+
* The private access level controls which VPC endpoints can connect to the UI or API of any workspace that attaches this private access settings object. `ANY` level access _(default)_ lets any databricks.MwsVpcEndpoint connect to your databricks_mws_workspaces. `ACCOUNT` level access lets only databricks.MwsVpcEndpoint that are registered in your Databricks account connect to your databricks_mws_workspaces. `ENDPOINT` level access lets only specified databricks.MwsVpcEndpoint connect to your workspace. Please see the `allowedVpcEndpointIds` documentation for more details.
|
|
33
|
+
*/
|
|
34
|
+
readonly privateAccessLevel: pulumi.Output<string | undefined>;
|
|
35
|
+
/**
|
|
36
|
+
* Canonical unique identifier of Private Access Settings in Databricks Account
|
|
37
|
+
*/
|
|
38
|
+
readonly privateAccessSettingsId: pulumi.Output<string>;
|
|
39
|
+
/**
|
|
40
|
+
* Name of Private Access Settings in Databricks Account
|
|
41
|
+
*/
|
|
42
|
+
readonly privateAccessSettingsName: pulumi.Output<string>;
|
|
43
|
+
/**
|
|
44
|
+
* - If `true`, the databricks.MwsWorkspaces can be accessed over the databricks.MwsVpcEndpoint as well as over the public network. In such a case, you could also configure an databricks.IpAccessList for the workspace, to restrict the source networks that could be used to access it over the public network. If `false` (default), the workspace can be accessed only over VPC endpoints, and not over the public network.
|
|
45
|
+
*/
|
|
46
|
+
readonly publicAccessEnabled: pulumi.Output<boolean | undefined>;
|
|
47
|
+
/**
|
|
48
|
+
* Region of AWS VPC
|
|
49
|
+
*/
|
|
50
|
+
readonly region: pulumi.Output<string>;
|
|
51
|
+
/**
|
|
52
|
+
* Status of Private Access Settings
|
|
53
|
+
*/
|
|
54
|
+
readonly status: pulumi.Output<string>;
|
|
55
|
+
/**
|
|
56
|
+
* Create a MwsPrivateAccessSettings resource with the given unique name, arguments, and options.
|
|
57
|
+
*
|
|
58
|
+
* @param name The _unique_ name of the resource.
|
|
59
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
60
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
61
|
+
*/
|
|
62
|
+
constructor(name: string, args: MwsPrivateAccessSettingsArgs, opts?: pulumi.CustomResourceOptions);
|
|
63
|
+
}
|
|
64
|
+
/**
|
|
65
|
+
* Input properties used for looking up and filtering MwsPrivateAccessSettings resources.
|
|
66
|
+
*/
|
|
67
|
+
export interface MwsPrivateAccessSettingsState {
|
|
68
|
+
/**
|
|
69
|
+
* Account Id that could be found in the bottom left corner of [Accounts Console](https://accounts.cloud.databricks.com/)
|
|
70
|
+
*/
|
|
71
|
+
accountId?: pulumi.Input<string>;
|
|
72
|
+
/**
|
|
73
|
+
* An array of databricks.MwsVpcEndpoint `vpcEndpointId` (not `id`). Only used when `privateAccessLevel` is set to `ENDPOINT`. This is an allow list of databricks.MwsVpcEndpoint that in your account that can connect to your databricks.MwsWorkspaces over AWS PrivateLink. If hybrid access to your workspace is enabled by setting `publicAccessEnabled` to true, then this control only works for PrivateLink connections. To control how your workspace is accessed via public internet, see the article for databricks_ip_access_list.
|
|
74
|
+
*/
|
|
75
|
+
allowedVpcEndpointIds?: pulumi.Input<pulumi.Input<string>[]>;
|
|
76
|
+
/**
|
|
77
|
+
* The private access level controls which VPC endpoints can connect to the UI or API of any workspace that attaches this private access settings object. `ANY` level access _(default)_ lets any databricks.MwsVpcEndpoint connect to your databricks_mws_workspaces. `ACCOUNT` level access lets only databricks.MwsVpcEndpoint that are registered in your Databricks account connect to your databricks_mws_workspaces. `ENDPOINT` level access lets only specified databricks.MwsVpcEndpoint connect to your workspace. Please see the `allowedVpcEndpointIds` documentation for more details.
|
|
78
|
+
*/
|
|
79
|
+
privateAccessLevel?: pulumi.Input<string>;
|
|
80
|
+
/**
|
|
81
|
+
* Canonical unique identifier of Private Access Settings in Databricks Account
|
|
82
|
+
*/
|
|
83
|
+
privateAccessSettingsId?: pulumi.Input<string>;
|
|
84
|
+
/**
|
|
85
|
+
* Name of Private Access Settings in Databricks Account
|
|
86
|
+
*/
|
|
87
|
+
privateAccessSettingsName?: pulumi.Input<string>;
|
|
88
|
+
/**
|
|
89
|
+
* - If `true`, the databricks.MwsWorkspaces can be accessed over the databricks.MwsVpcEndpoint as well as over the public network. In such a case, you could also configure an databricks.IpAccessList for the workspace, to restrict the source networks that could be used to access it over the public network. If `false` (default), the workspace can be accessed only over VPC endpoints, and not over the public network.
|
|
90
|
+
*/
|
|
91
|
+
publicAccessEnabled?: pulumi.Input<boolean>;
|
|
92
|
+
/**
|
|
93
|
+
* Region of AWS VPC
|
|
94
|
+
*/
|
|
95
|
+
region?: pulumi.Input<string>;
|
|
96
|
+
/**
|
|
97
|
+
* Status of Private Access Settings
|
|
98
|
+
*/
|
|
99
|
+
status?: pulumi.Input<string>;
|
|
100
|
+
}
|
|
101
|
+
/**
|
|
102
|
+
* The set of arguments for constructing a MwsPrivateAccessSettings resource.
|
|
103
|
+
*/
|
|
104
|
+
export interface MwsPrivateAccessSettingsArgs {
|
|
105
|
+
/**
|
|
106
|
+
* Account Id that could be found in the bottom left corner of [Accounts Console](https://accounts.cloud.databricks.com/)
|
|
107
|
+
*/
|
|
108
|
+
accountId?: pulumi.Input<string>;
|
|
109
|
+
/**
|
|
110
|
+
* An array of databricks.MwsVpcEndpoint `vpcEndpointId` (not `id`). Only used when `privateAccessLevel` is set to `ENDPOINT`. This is an allow list of databricks.MwsVpcEndpoint that in your account that can connect to your databricks.MwsWorkspaces over AWS PrivateLink. If hybrid access to your workspace is enabled by setting `publicAccessEnabled` to true, then this control only works for PrivateLink connections. To control how your workspace is accessed via public internet, see the article for databricks_ip_access_list.
|
|
111
|
+
*/
|
|
112
|
+
allowedVpcEndpointIds?: pulumi.Input<pulumi.Input<string>[]>;
|
|
113
|
+
/**
|
|
114
|
+
* The private access level controls which VPC endpoints can connect to the UI or API of any workspace that attaches this private access settings object. `ANY` level access _(default)_ lets any databricks.MwsVpcEndpoint connect to your databricks_mws_workspaces. `ACCOUNT` level access lets only databricks.MwsVpcEndpoint that are registered in your Databricks account connect to your databricks_mws_workspaces. `ENDPOINT` level access lets only specified databricks.MwsVpcEndpoint connect to your workspace. Please see the `allowedVpcEndpointIds` documentation for more details.
|
|
115
|
+
*/
|
|
116
|
+
privateAccessLevel?: pulumi.Input<string>;
|
|
117
|
+
/**
|
|
118
|
+
* Canonical unique identifier of Private Access Settings in Databricks Account
|
|
119
|
+
*/
|
|
120
|
+
privateAccessSettingsId?: pulumi.Input<string>;
|
|
121
|
+
/**
|
|
122
|
+
* Name of Private Access Settings in Databricks Account
|
|
123
|
+
*/
|
|
124
|
+
privateAccessSettingsName: pulumi.Input<string>;
|
|
125
|
+
/**
|
|
126
|
+
* - If `true`, the databricks.MwsWorkspaces can be accessed over the databricks.MwsVpcEndpoint as well as over the public network. In such a case, you could also configure an databricks.IpAccessList for the workspace, to restrict the source networks that could be used to access it over the public network. If `false` (default), the workspace can be accessed only over VPC endpoints, and not over the public network.
|
|
127
|
+
*/
|
|
128
|
+
publicAccessEnabled?: pulumi.Input<boolean>;
|
|
129
|
+
/**
|
|
130
|
+
* Region of AWS VPC
|
|
131
|
+
*/
|
|
132
|
+
region: pulumi.Input<string>;
|
|
133
|
+
/**
|
|
134
|
+
* Status of Private Access Settings
|
|
135
|
+
*/
|
|
136
|
+
status?: pulumi.Input<string>;
|
|
137
|
+
}
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
|
3
|
+
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
exports.MwsPrivateAccessSettings = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("./utilities");
|
|
8
|
+
/**
|
|
9
|
+
* ## Import
|
|
10
|
+
*
|
|
11
|
+
* -> **Note** Importing this resource is not currently supported.
|
|
12
|
+
*/
|
|
13
|
+
class MwsPrivateAccessSettings extends pulumi.CustomResource {
|
|
14
|
+
constructor(name, argsOrState, opts) {
|
|
15
|
+
let resourceInputs = {};
|
|
16
|
+
opts = opts || {};
|
|
17
|
+
if (opts.id) {
|
|
18
|
+
const state = argsOrState;
|
|
19
|
+
resourceInputs["accountId"] = state ? state.accountId : undefined;
|
|
20
|
+
resourceInputs["allowedVpcEndpointIds"] = state ? state.allowedVpcEndpointIds : undefined;
|
|
21
|
+
resourceInputs["privateAccessLevel"] = state ? state.privateAccessLevel : undefined;
|
|
22
|
+
resourceInputs["privateAccessSettingsId"] = state ? state.privateAccessSettingsId : undefined;
|
|
23
|
+
resourceInputs["privateAccessSettingsName"] = state ? state.privateAccessSettingsName : undefined;
|
|
24
|
+
resourceInputs["publicAccessEnabled"] = state ? state.publicAccessEnabled : undefined;
|
|
25
|
+
resourceInputs["region"] = state ? state.region : undefined;
|
|
26
|
+
resourceInputs["status"] = state ? state.status : undefined;
|
|
27
|
+
}
|
|
28
|
+
else {
|
|
29
|
+
const args = argsOrState;
|
|
30
|
+
if ((!args || args.privateAccessSettingsName === undefined) && !opts.urn) {
|
|
31
|
+
throw new Error("Missing required property 'privateAccessSettingsName'");
|
|
32
|
+
}
|
|
33
|
+
if ((!args || args.region === undefined) && !opts.urn) {
|
|
34
|
+
throw new Error("Missing required property 'region'");
|
|
35
|
+
}
|
|
36
|
+
resourceInputs["accountId"] = args ? args.accountId : undefined;
|
|
37
|
+
resourceInputs["allowedVpcEndpointIds"] = args ? args.allowedVpcEndpointIds : undefined;
|
|
38
|
+
resourceInputs["privateAccessLevel"] = args ? args.privateAccessLevel : undefined;
|
|
39
|
+
resourceInputs["privateAccessSettingsId"] = args ? args.privateAccessSettingsId : undefined;
|
|
40
|
+
resourceInputs["privateAccessSettingsName"] = args ? args.privateAccessSettingsName : undefined;
|
|
41
|
+
resourceInputs["publicAccessEnabled"] = args ? args.publicAccessEnabled : undefined;
|
|
42
|
+
resourceInputs["region"] = args ? args.region : undefined;
|
|
43
|
+
resourceInputs["status"] = args ? args.status : undefined;
|
|
44
|
+
}
|
|
45
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
46
|
+
super(MwsPrivateAccessSettings.__pulumiType, name, resourceInputs, opts);
|
|
47
|
+
}
|
|
48
|
+
/**
|
|
49
|
+
* Get an existing MwsPrivateAccessSettings resource's state with the given name, ID, and optional extra
|
|
50
|
+
* properties used to qualify the lookup.
|
|
51
|
+
*
|
|
52
|
+
* @param name The _unique_ name of the resulting resource.
|
|
53
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
54
|
+
* @param state Any extra arguments used during the lookup.
|
|
55
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
56
|
+
*/
|
|
57
|
+
static get(name, id, state, opts) {
|
|
58
|
+
return new MwsPrivateAccessSettings(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
59
|
+
}
|
|
60
|
+
/**
|
|
61
|
+
* Returns true if the given object is an instance of MwsPrivateAccessSettings. This is designed to work even
|
|
62
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
63
|
+
*/
|
|
64
|
+
static isInstance(obj) {
|
|
65
|
+
if (obj === undefined || obj === null) {
|
|
66
|
+
return false;
|
|
67
|
+
}
|
|
68
|
+
return obj['__pulumiType'] === MwsPrivateAccessSettings.__pulumiType;
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
exports.MwsPrivateAccessSettings = MwsPrivateAccessSettings;
|
|
72
|
+
/** @internal */
|
|
73
|
+
MwsPrivateAccessSettings.__pulumiType = 'databricks:index/mwsPrivateAccessSettings:MwsPrivateAccessSettings';
|
|
74
|
+
//# sourceMappingURL=mwsPrivateAccessSettings.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"mwsPrivateAccessSettings.js","sourceRoot":"","sources":["../mwsPrivateAccessSettings.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;GAIG;AACH,MAAa,wBAAyB,SAAQ,MAAM,CAAC,cAAc;IAqE/D,YAAY,IAAY,EAAE,WAA0E,EAAE,IAAmC;QACrI,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAwD,CAAC;YACvE,cAAc,CAAC,WAAW,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,SAAS,CAAC,CAAC,CAA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AG,CAAC;IAC/E,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,wBAAwB,CAAC,YAAY,CAAC;IACzE,CAAC;;AA1BL,4DAsGC;AAxFG,gBAAgB;AACO,qCAAY,GAAG,oEAAoE,CAAC"}
|
|
@@ -0,0 +1,122 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* ## Example Usage
|
|
4
|
+
*
|
|
5
|
+
* ```typescript
|
|
6
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
7
|
+
* import * as aws from "@pulumi/aws";
|
|
8
|
+
* import * as databricks from "@pulumi/databricks";
|
|
9
|
+
*
|
|
10
|
+
* const config = new pulumi.Config();
|
|
11
|
+
* const databricksAccountId = config.requireObject("databricksAccountId");
|
|
12
|
+
* const rootStorageBucket = new aws.s3.BucketV2("rootStorageBucket", {
|
|
13
|
+
* acl: "private",
|
|
14
|
+
* versionings: [{
|
|
15
|
+
* enabled: false,
|
|
16
|
+
* }],
|
|
17
|
+
* });
|
|
18
|
+
* const _this = new databricks.MwsStorageConfigurations("this", {
|
|
19
|
+
* accountId: databricksAccountId,
|
|
20
|
+
* storageConfigurationName: `${_var.prefix}-storage`,
|
|
21
|
+
* bucketName: rootStorageBucket.bucket,
|
|
22
|
+
* }, {
|
|
23
|
+
* provider: databricks.mws,
|
|
24
|
+
* });
|
|
25
|
+
* ```
|
|
26
|
+
* ## Related Resources
|
|
27
|
+
*
|
|
28
|
+
* The following resources are used in the same context:
|
|
29
|
+
*
|
|
30
|
+
* * Provisioning Databricks on AWS guide.
|
|
31
|
+
* * Provisioning Databricks on AWS with PrivateLink guide.
|
|
32
|
+
* * databricks.MwsCredentials to configure the cross-account role for creation of new workspaces within AWS.
|
|
33
|
+
* * databricks.MwsCustomerManagedKeys to configure KMS keys for new workspaces within AWS.
|
|
34
|
+
* * databricks.MwsLogDelivery to configure delivery of [billable usage logs](https://docs.databricks.com/administration-guide/account-settings/billable-usage-delivery.html) and [audit logs](https://docs.databricks.com/administration-guide/account-settings/audit-logs.html).
|
|
35
|
+
* * databricks.MwsNetworks to [configure VPC](https://docs.databricks.com/administration-guide/cloud-configurations/aws/customer-managed-vpc.html) & subnets for new workspaces within AWS.
|
|
36
|
+
* * databricks.MwsWorkspaces to set up [workspaces in E2 architecture on AWS](https://docs.databricks.com/getting-started/overview.html#e2-architecture-1).
|
|
37
|
+
*
|
|
38
|
+
* ## Import
|
|
39
|
+
*
|
|
40
|
+
* -> **Note** Importing this resource is not currently supported.
|
|
41
|
+
*/
|
|
42
|
+
export declare class MwsStorageConfigurations extends pulumi.CustomResource {
|
|
43
|
+
/**
|
|
44
|
+
* Get an existing MwsStorageConfigurations resource's state with the given name, ID, and optional extra
|
|
45
|
+
* properties used to qualify the lookup.
|
|
46
|
+
*
|
|
47
|
+
* @param name The _unique_ name of the resulting resource.
|
|
48
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
49
|
+
* @param state Any extra arguments used during the lookup.
|
|
50
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
51
|
+
*/
|
|
52
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: MwsStorageConfigurationsState, opts?: pulumi.CustomResourceOptions): MwsStorageConfigurations;
|
|
53
|
+
/**
|
|
54
|
+
* Returns true if the given object is an instance of MwsStorageConfigurations. This is designed to work even
|
|
55
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
56
|
+
*/
|
|
57
|
+
static isInstance(obj: any): obj is MwsStorageConfigurations;
|
|
58
|
+
/**
|
|
59
|
+
* Account Id that could be found in the bottom left corner of [Accounts Console](https://accounts.cloud.databricks.com/)
|
|
60
|
+
*/
|
|
61
|
+
readonly accountId: pulumi.Output<string>;
|
|
62
|
+
/**
|
|
63
|
+
* name of AWS S3 bucket
|
|
64
|
+
*/
|
|
65
|
+
readonly bucketName: pulumi.Output<string>;
|
|
66
|
+
readonly creationTime: pulumi.Output<number>;
|
|
67
|
+
/**
|
|
68
|
+
* (String) id of storage config to be used for `databricksMwsWorkspace` resource.
|
|
69
|
+
*/
|
|
70
|
+
readonly storageConfigurationId: pulumi.Output<string>;
|
|
71
|
+
/**
|
|
72
|
+
* name under which this storage configuration is stored
|
|
73
|
+
*/
|
|
74
|
+
readonly storageConfigurationName: pulumi.Output<string>;
|
|
75
|
+
/**
|
|
76
|
+
* Create a MwsStorageConfigurations resource with the given unique name, arguments, and options.
|
|
77
|
+
*
|
|
78
|
+
* @param name The _unique_ name of the resource.
|
|
79
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
80
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
81
|
+
*/
|
|
82
|
+
constructor(name: string, args: MwsStorageConfigurationsArgs, opts?: pulumi.CustomResourceOptions);
|
|
83
|
+
}
|
|
84
|
+
/**
|
|
85
|
+
* Input properties used for looking up and filtering MwsStorageConfigurations resources.
|
|
86
|
+
*/
|
|
87
|
+
export interface MwsStorageConfigurationsState {
|
|
88
|
+
/**
|
|
89
|
+
* Account Id that could be found in the bottom left corner of [Accounts Console](https://accounts.cloud.databricks.com/)
|
|
90
|
+
*/
|
|
91
|
+
accountId?: pulumi.Input<string>;
|
|
92
|
+
/**
|
|
93
|
+
* name of AWS S3 bucket
|
|
94
|
+
*/
|
|
95
|
+
bucketName?: pulumi.Input<string>;
|
|
96
|
+
creationTime?: pulumi.Input<number>;
|
|
97
|
+
/**
|
|
98
|
+
* (String) id of storage config to be used for `databricksMwsWorkspace` resource.
|
|
99
|
+
*/
|
|
100
|
+
storageConfigurationId?: pulumi.Input<string>;
|
|
101
|
+
/**
|
|
102
|
+
* name under which this storage configuration is stored
|
|
103
|
+
*/
|
|
104
|
+
storageConfigurationName?: pulumi.Input<string>;
|
|
105
|
+
}
|
|
106
|
+
/**
|
|
107
|
+
* The set of arguments for constructing a MwsStorageConfigurations resource.
|
|
108
|
+
*/
|
|
109
|
+
export interface MwsStorageConfigurationsArgs {
|
|
110
|
+
/**
|
|
111
|
+
* Account Id that could be found in the bottom left corner of [Accounts Console](https://accounts.cloud.databricks.com/)
|
|
112
|
+
*/
|
|
113
|
+
accountId: pulumi.Input<string>;
|
|
114
|
+
/**
|
|
115
|
+
* name of AWS S3 bucket
|
|
116
|
+
*/
|
|
117
|
+
bucketName: pulumi.Input<string>;
|
|
118
|
+
/**
|
|
119
|
+
* name under which this storage configuration is stored
|
|
120
|
+
*/
|
|
121
|
+
storageConfigurationName: pulumi.Input<string>;
|
|
122
|
+
}
|
|
@@ -0,0 +1,106 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
|
3
|
+
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
exports.MwsStorageConfigurations = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("./utilities");
|
|
8
|
+
/**
|
|
9
|
+
* ## Example Usage
|
|
10
|
+
*
|
|
11
|
+
* ```typescript
|
|
12
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
13
|
+
* import * as aws from "@pulumi/aws";
|
|
14
|
+
* import * as databricks from "@pulumi/databricks";
|
|
15
|
+
*
|
|
16
|
+
* const config = new pulumi.Config();
|
|
17
|
+
* const databricksAccountId = config.requireObject("databricksAccountId");
|
|
18
|
+
* const rootStorageBucket = new aws.s3.BucketV2("rootStorageBucket", {
|
|
19
|
+
* acl: "private",
|
|
20
|
+
* versionings: [{
|
|
21
|
+
* enabled: false,
|
|
22
|
+
* }],
|
|
23
|
+
* });
|
|
24
|
+
* const _this = new databricks.MwsStorageConfigurations("this", {
|
|
25
|
+
* accountId: databricksAccountId,
|
|
26
|
+
* storageConfigurationName: `${_var.prefix}-storage`,
|
|
27
|
+
* bucketName: rootStorageBucket.bucket,
|
|
28
|
+
* }, {
|
|
29
|
+
* provider: databricks.mws,
|
|
30
|
+
* });
|
|
31
|
+
* ```
|
|
32
|
+
* ## Related Resources
|
|
33
|
+
*
|
|
34
|
+
* The following resources are used in the same context:
|
|
35
|
+
*
|
|
36
|
+
* * Provisioning Databricks on AWS guide.
|
|
37
|
+
* * Provisioning Databricks on AWS with PrivateLink guide.
|
|
38
|
+
* * databricks.MwsCredentials to configure the cross-account role for creation of new workspaces within AWS.
|
|
39
|
+
* * databricks.MwsCustomerManagedKeys to configure KMS keys for new workspaces within AWS.
|
|
40
|
+
* * databricks.MwsLogDelivery to configure delivery of [billable usage logs](https://docs.databricks.com/administration-guide/account-settings/billable-usage-delivery.html) and [audit logs](https://docs.databricks.com/administration-guide/account-settings/audit-logs.html).
|
|
41
|
+
* * databricks.MwsNetworks to [configure VPC](https://docs.databricks.com/administration-guide/cloud-configurations/aws/customer-managed-vpc.html) & subnets for new workspaces within AWS.
|
|
42
|
+
* * databricks.MwsWorkspaces to set up [workspaces in E2 architecture on AWS](https://docs.databricks.com/getting-started/overview.html#e2-architecture-1).
|
|
43
|
+
*
|
|
44
|
+
* ## Import
|
|
45
|
+
*
|
|
46
|
+
* -> **Note** Importing this resource is not currently supported.
|
|
47
|
+
*/
|
|
48
|
+
class MwsStorageConfigurations extends pulumi.CustomResource {
|
|
49
|
+
constructor(name, argsOrState, opts) {
|
|
50
|
+
let resourceInputs = {};
|
|
51
|
+
opts = opts || {};
|
|
52
|
+
if (opts.id) {
|
|
53
|
+
const state = argsOrState;
|
|
54
|
+
resourceInputs["accountId"] = state ? state.accountId : undefined;
|
|
55
|
+
resourceInputs["bucketName"] = state ? state.bucketName : undefined;
|
|
56
|
+
resourceInputs["creationTime"] = state ? state.creationTime : undefined;
|
|
57
|
+
resourceInputs["storageConfigurationId"] = state ? state.storageConfigurationId : undefined;
|
|
58
|
+
resourceInputs["storageConfigurationName"] = state ? state.storageConfigurationName : undefined;
|
|
59
|
+
}
|
|
60
|
+
else {
|
|
61
|
+
const args = argsOrState;
|
|
62
|
+
if ((!args || args.accountId === undefined) && !opts.urn) {
|
|
63
|
+
throw new Error("Missing required property 'accountId'");
|
|
64
|
+
}
|
|
65
|
+
if ((!args || args.bucketName === undefined) && !opts.urn) {
|
|
66
|
+
throw new Error("Missing required property 'bucketName'");
|
|
67
|
+
}
|
|
68
|
+
if ((!args || args.storageConfigurationName === undefined) && !opts.urn) {
|
|
69
|
+
throw new Error("Missing required property 'storageConfigurationName'");
|
|
70
|
+
}
|
|
71
|
+
resourceInputs["accountId"] = args ? args.accountId : undefined;
|
|
72
|
+
resourceInputs["bucketName"] = args ? args.bucketName : undefined;
|
|
73
|
+
resourceInputs["storageConfigurationName"] = args ? args.storageConfigurationName : undefined;
|
|
74
|
+
resourceInputs["creationTime"] = undefined /*out*/;
|
|
75
|
+
resourceInputs["storageConfigurationId"] = undefined /*out*/;
|
|
76
|
+
}
|
|
77
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
78
|
+
super(MwsStorageConfigurations.__pulumiType, name, resourceInputs, opts);
|
|
79
|
+
}
|
|
80
|
+
/**
|
|
81
|
+
* Get an existing MwsStorageConfigurations resource's state with the given name, ID, and optional extra
|
|
82
|
+
* properties used to qualify the lookup.
|
|
83
|
+
*
|
|
84
|
+
* @param name The _unique_ name of the resulting resource.
|
|
85
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
86
|
+
* @param state Any extra arguments used during the lookup.
|
|
87
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
88
|
+
*/
|
|
89
|
+
static get(name, id, state, opts) {
|
|
90
|
+
return new MwsStorageConfigurations(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
91
|
+
}
|
|
92
|
+
/**
|
|
93
|
+
* Returns true if the given object is an instance of MwsStorageConfigurations. This is designed to work even
|
|
94
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
95
|
+
*/
|
|
96
|
+
static isInstance(obj) {
|
|
97
|
+
if (obj === undefined || obj === null) {
|
|
98
|
+
return false;
|
|
99
|
+
}
|
|
100
|
+
return obj['__pulumiType'] === MwsStorageConfigurations.__pulumiType;
|
|
101
|
+
}
|
|
102
|
+
}
|
|
103
|
+
exports.MwsStorageConfigurations = MwsStorageConfigurations;
|
|
104
|
+
/** @internal */
|
|
105
|
+
MwsStorageConfigurations.__pulumiType = 'databricks:index/mwsStorageConfigurations:MwsStorageConfigurations';
|
|
106
|
+
//# sourceMappingURL=mwsStorageConfigurations.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"mwsStorageConfigurations.js","sourceRoot":"","sources":["../mwsStorageConfigurations.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAuCG;AACH,MAAa,wBAAyB,SAAQ,MAAM,CAAC,cAAc;IAsD/D,YAAY,IAAY,EAAE,WAA0E,EAAE,IAAmC;QACrI,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAwD,CAAC;YACvE,cAAc,CAAC,WAAW,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC;YAClE,cAAc,CAAC,YAAY,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,UAAU,CAAC,CAAC,CAAC,SAAS,CAAC;YACpE,cAAc,CAAC,cAAc,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,YAAY,CAAC,CAAC,CAAC,SAAS,CAAC;YACxE,cAAc,CAAC,w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,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,wBAAwB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC7E,CAAC;IAlFD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAqC,EAAE,IAAmC;QACnI,OAAO,IAAI,wBAAwB,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAC/E,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,wBAAwB,CAAC,YAAY,CAAC;IACzE,CAAC;;AA1BL,4DAoFC;AAtEG,gBAAgB;AACO,qCAAY,GAAG,oEAAoE,CAAC"}
|
|
@@ -0,0 +1,122 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* ## Import
|
|
4
|
+
*
|
|
5
|
+
* -> **Note** Importing this resource is not currently supported.
|
|
6
|
+
*/
|
|
7
|
+
export declare class MwsVpcEndpoint extends pulumi.CustomResource {
|
|
8
|
+
/**
|
|
9
|
+
* Get an existing MwsVpcEndpoint resource's state with the given name, ID, and optional extra
|
|
10
|
+
* properties used to qualify the lookup.
|
|
11
|
+
*
|
|
12
|
+
* @param name The _unique_ name of the resulting resource.
|
|
13
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
14
|
+
* @param state Any extra arguments used during the lookup.
|
|
15
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
16
|
+
*/
|
|
17
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: MwsVpcEndpointState, opts?: pulumi.CustomResourceOptions): MwsVpcEndpoint;
|
|
18
|
+
/**
|
|
19
|
+
* Returns true if the given object is an instance of MwsVpcEndpoint. This is designed to work even
|
|
20
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
21
|
+
*/
|
|
22
|
+
static isInstance(obj: any): obj is MwsVpcEndpoint;
|
|
23
|
+
/**
|
|
24
|
+
* Account Id that could be found in the bottom left corner of [Accounts Console](https://accounts.cloud.databricks.com/)
|
|
25
|
+
*/
|
|
26
|
+
readonly accountId: pulumi.Output<string | undefined>;
|
|
27
|
+
readonly awsAccountId: pulumi.Output<string>;
|
|
28
|
+
/**
|
|
29
|
+
* ID of Databricks VPC endpoint service to connect to. Please contact your Databricks representative to request mapping
|
|
30
|
+
*/
|
|
31
|
+
readonly awsEndpointServiceId: pulumi.Output<string>;
|
|
32
|
+
readonly awsVpcEndpointId: pulumi.Output<string>;
|
|
33
|
+
/**
|
|
34
|
+
* Region of AWS VPC
|
|
35
|
+
*/
|
|
36
|
+
readonly region: pulumi.Output<string>;
|
|
37
|
+
/**
|
|
38
|
+
* State of VPC Endpoint
|
|
39
|
+
*/
|
|
40
|
+
readonly state: pulumi.Output<string>;
|
|
41
|
+
readonly useCase: pulumi.Output<string>;
|
|
42
|
+
/**
|
|
43
|
+
* Canonical unique identifier of VPC Endpoint in Databricks Account
|
|
44
|
+
*/
|
|
45
|
+
readonly vpcEndpointId: pulumi.Output<string>;
|
|
46
|
+
/**
|
|
47
|
+
* Name of VPC Endpoint in Databricks Account
|
|
48
|
+
*/
|
|
49
|
+
readonly vpcEndpointName: pulumi.Output<string>;
|
|
50
|
+
/**
|
|
51
|
+
* Create a MwsVpcEndpoint resource with the given unique name, arguments, and options.
|
|
52
|
+
*
|
|
53
|
+
* @param name The _unique_ name of the resource.
|
|
54
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
55
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
56
|
+
*/
|
|
57
|
+
constructor(name: string, args: MwsVpcEndpointArgs, opts?: pulumi.CustomResourceOptions);
|
|
58
|
+
}
|
|
59
|
+
/**
|
|
60
|
+
* Input properties used for looking up and filtering MwsVpcEndpoint resources.
|
|
61
|
+
*/
|
|
62
|
+
export interface MwsVpcEndpointState {
|
|
63
|
+
/**
|
|
64
|
+
* Account Id that could be found in the bottom left corner of [Accounts Console](https://accounts.cloud.databricks.com/)
|
|
65
|
+
*/
|
|
66
|
+
accountId?: pulumi.Input<string>;
|
|
67
|
+
awsAccountId?: pulumi.Input<string>;
|
|
68
|
+
/**
|
|
69
|
+
* ID of Databricks VPC endpoint service to connect to. Please contact your Databricks representative to request mapping
|
|
70
|
+
*/
|
|
71
|
+
awsEndpointServiceId?: pulumi.Input<string>;
|
|
72
|
+
awsVpcEndpointId?: pulumi.Input<string>;
|
|
73
|
+
/**
|
|
74
|
+
* Region of AWS VPC
|
|
75
|
+
*/
|
|
76
|
+
region?: pulumi.Input<string>;
|
|
77
|
+
/**
|
|
78
|
+
* State of VPC Endpoint
|
|
79
|
+
*/
|
|
80
|
+
state?: pulumi.Input<string>;
|
|
81
|
+
useCase?: pulumi.Input<string>;
|
|
82
|
+
/**
|
|
83
|
+
* Canonical unique identifier of VPC Endpoint in Databricks Account
|
|
84
|
+
*/
|
|
85
|
+
vpcEndpointId?: pulumi.Input<string>;
|
|
86
|
+
/**
|
|
87
|
+
* Name of VPC Endpoint in Databricks Account
|
|
88
|
+
*/
|
|
89
|
+
vpcEndpointName?: pulumi.Input<string>;
|
|
90
|
+
}
|
|
91
|
+
/**
|
|
92
|
+
* The set of arguments for constructing a MwsVpcEndpoint resource.
|
|
93
|
+
*/
|
|
94
|
+
export interface MwsVpcEndpointArgs {
|
|
95
|
+
/**
|
|
96
|
+
* Account Id that could be found in the bottom left corner of [Accounts Console](https://accounts.cloud.databricks.com/)
|
|
97
|
+
*/
|
|
98
|
+
accountId?: pulumi.Input<string>;
|
|
99
|
+
awsAccountId?: pulumi.Input<string>;
|
|
100
|
+
/**
|
|
101
|
+
* ID of Databricks VPC endpoint service to connect to. Please contact your Databricks representative to request mapping
|
|
102
|
+
*/
|
|
103
|
+
awsEndpointServiceId?: pulumi.Input<string>;
|
|
104
|
+
awsVpcEndpointId: pulumi.Input<string>;
|
|
105
|
+
/**
|
|
106
|
+
* Region of AWS VPC
|
|
107
|
+
*/
|
|
108
|
+
region: pulumi.Input<string>;
|
|
109
|
+
/**
|
|
110
|
+
* State of VPC Endpoint
|
|
111
|
+
*/
|
|
112
|
+
state?: pulumi.Input<string>;
|
|
113
|
+
useCase?: pulumi.Input<string>;
|
|
114
|
+
/**
|
|
115
|
+
* Canonical unique identifier of VPC Endpoint in Databricks Account
|
|
116
|
+
*/
|
|
117
|
+
vpcEndpointId?: pulumi.Input<string>;
|
|
118
|
+
/**
|
|
119
|
+
* Name of VPC Endpoint in Databricks Account
|
|
120
|
+
*/
|
|
121
|
+
vpcEndpointName: pulumi.Input<string>;
|
|
122
|
+
}
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
|
3
|
+
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
exports.MwsVpcEndpoint = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("./utilities");
|
|
8
|
+
/**
|
|
9
|
+
* ## Import
|
|
10
|
+
*
|
|
11
|
+
* -> **Note** Importing this resource is not currently supported.
|
|
12
|
+
*/
|
|
13
|
+
class MwsVpcEndpoint extends pulumi.CustomResource {
|
|
14
|
+
constructor(name, argsOrState, opts) {
|
|
15
|
+
let resourceInputs = {};
|
|
16
|
+
opts = opts || {};
|
|
17
|
+
if (opts.id) {
|
|
18
|
+
const state = argsOrState;
|
|
19
|
+
resourceInputs["accountId"] = state ? state.accountId : undefined;
|
|
20
|
+
resourceInputs["awsAccountId"] = state ? state.awsAccountId : undefined;
|
|
21
|
+
resourceInputs["awsEndpointServiceId"] = state ? state.awsEndpointServiceId : undefined;
|
|
22
|
+
resourceInputs["awsVpcEndpointId"] = state ? state.awsVpcEndpointId : undefined;
|
|
23
|
+
resourceInputs["region"] = state ? state.region : undefined;
|
|
24
|
+
resourceInputs["state"] = state ? state.state : undefined;
|
|
25
|
+
resourceInputs["useCase"] = state ? state.useCase : undefined;
|
|
26
|
+
resourceInputs["vpcEndpointId"] = state ? state.vpcEndpointId : undefined;
|
|
27
|
+
resourceInputs["vpcEndpointName"] = state ? state.vpcEndpointName : undefined;
|
|
28
|
+
}
|
|
29
|
+
else {
|
|
30
|
+
const args = argsOrState;
|
|
31
|
+
if ((!args || args.awsVpcEndpointId === undefined) && !opts.urn) {
|
|
32
|
+
throw new Error("Missing required property 'awsVpcEndpointId'");
|
|
33
|
+
}
|
|
34
|
+
if ((!args || args.region === undefined) && !opts.urn) {
|
|
35
|
+
throw new Error("Missing required property 'region'");
|
|
36
|
+
}
|
|
37
|
+
if ((!args || args.vpcEndpointName === undefined) && !opts.urn) {
|
|
38
|
+
throw new Error("Missing required property 'vpcEndpointName'");
|
|
39
|
+
}
|
|
40
|
+
resourceInputs["accountId"] = args ? args.accountId : undefined;
|
|
41
|
+
resourceInputs["awsAccountId"] = args ? args.awsAccountId : undefined;
|
|
42
|
+
resourceInputs["awsEndpointServiceId"] = args ? args.awsEndpointServiceId : undefined;
|
|
43
|
+
resourceInputs["awsVpcEndpointId"] = args ? args.awsVpcEndpointId : undefined;
|
|
44
|
+
resourceInputs["region"] = args ? args.region : undefined;
|
|
45
|
+
resourceInputs["state"] = args ? args.state : undefined;
|
|
46
|
+
resourceInputs["useCase"] = args ? args.useCase : undefined;
|
|
47
|
+
resourceInputs["vpcEndpointId"] = args ? args.vpcEndpointId : undefined;
|
|
48
|
+
resourceInputs["vpcEndpointName"] = args ? args.vpcEndpointName : undefined;
|
|
49
|
+
}
|
|
50
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
51
|
+
super(MwsVpcEndpoint.__pulumiType, name, resourceInputs, opts);
|
|
52
|
+
}
|
|
53
|
+
/**
|
|
54
|
+
* Get an existing MwsVpcEndpoint resource's state with the given name, ID, and optional extra
|
|
55
|
+
* properties used to qualify the lookup.
|
|
56
|
+
*
|
|
57
|
+
* @param name The _unique_ name of the resulting resource.
|
|
58
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
59
|
+
* @param state Any extra arguments used during the lookup.
|
|
60
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
61
|
+
*/
|
|
62
|
+
static get(name, id, state, opts) {
|
|
63
|
+
return new MwsVpcEndpoint(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
64
|
+
}
|
|
65
|
+
/**
|
|
66
|
+
* Returns true if the given object is an instance of MwsVpcEndpoint. This is designed to work even
|
|
67
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
68
|
+
*/
|
|
69
|
+
static isInstance(obj) {
|
|
70
|
+
if (obj === undefined || obj === null) {
|
|
71
|
+
return false;
|
|
72
|
+
}
|
|
73
|
+
return obj['__pulumiType'] === MwsVpcEndpoint.__pulumiType;
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
exports.MwsVpcEndpoint = MwsVpcEndpoint;
|
|
77
|
+
/** @internal */
|
|
78
|
+
MwsVpcEndpoint.__pulumiType = 'databricks:index/mwsVpcEndpoint:MwsVpcEndpoint';
|
|
79
|
+
//# sourceMappingURL=mwsVpcEndpoint.js.map
|