UNPKG

databricks-cdk

Version:

With this package databricks resources can be deployed with cdk

39 lines (38 loc) 1.44 kB
import { CustomResource } from "aws-cdk-lib"; import { Construct } from "constructs"; export interface UnityCatalogStorageCredentialAbstract { name: string; comment?: string; } export interface UnityCatalogAwsIamRole { role_arn: string; } export interface StorageCredentialAws extends UnityCatalogStorageCredentialAbstract { aws_iam_role: UnityCatalogAwsIamRole; } export interface UnityCatalogAzureServicePrincipal { directory_id: string; application_id: string; client_secret: string; } export interface StorageCredentialAzure extends UnityCatalogStorageCredentialAbstract { azure_service_principal: UnityCatalogAzureServicePrincipal; } export interface UnityCatalogGcpServiceAccountKey { email: string; private_key_id: string; private_key: string; } export interface StorageCredentialGcp extends UnityCatalogStorageCredentialAbstract { gcp_service_account_key: UnityCatalogGcpServiceAccountKey; } export interface UnityCatalogStorageCredentialProperties { workspace_url: string; storage_credential: StorageCredentialAws | StorageCredentialAzure | StorageCredentialGcp; } export interface UnityCatalogStorageCredentialProps extends UnityCatalogStorageCredentialProperties { readonly serviceToken: string; } export declare class UnityCatalogStorageCredential extends CustomResource { constructor(scope: Construct, id: string, props: UnityCatalogStorageCredentialProps); }