databricks-cdk
Version:
With this package databricks resources can be deployed with cdk
24 lines (23 loc) • 791 B
TypeScript
import { CustomResource } from "aws-cdk-lib";
import { Construct } from "constructs";
export declare enum PrivilegeVolume {
APPLY_TAG = "APPLY_TAG",
READ_VOLUME = "READ_VOLUME",
WRITE_VOLUME = "WRITE_VOLUME",
ALL_PRIVILEGES = "ALL_PRIVILEGES"
}
export interface PrivilegeAssignmentVolume {
principal: string;
privileges: Array<PrivilegeVolume>;
}
export interface VolumePermissionsProperties {
workspaceUrl: string;
privilege_assignments: Array<PrivilegeAssignmentVolume>;
volume_name: string;
}
export interface VolumePermissionsProps extends VolumePermissionsProperties {
readonly serviceToken: string;
}
export declare class VolumePermissions extends CustomResource {
constructor(scope: Construct, id: string, props: VolumePermissionsProps);
}