databricks-cdk
Version:
With this package databricks resources can be deployed with cdk
21 lines (20 loc) • 650 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.InstancePool = void 0;
const aws_cdk_lib_1 = require("aws-cdk-lib");
class InstancePool extends aws_cdk_lib_1.CustomResource {
constructor(scope, id, props) {
super(scope, id, {
serviceToken: props.serviceToken,
properties: {
action: "instance-pool",
workspace_url: props.workspace_url,
instance_pool: props.instance_pool,
}
});
}
instancePoolId() {
return this.getAttString("physical_resource_id");
}
}
exports.InstancePool = InstancePool;