Skip to content

AccessControl

laktory.models.resources.databricks.AccessControl ยค

Bases: BaseModel

Databricks Access Control

Access Control generally applicable to objects like cluster, notebook, pipeline, etc. For providing access to securable data, refer to models.Grant instead.

ATTRIBUTE DESCRIPTION
group_name

Name of the group to assign the permission to.

TYPE: str

permission_level

Name of the permission to assign

TYPE: str

service_principal_name

Name of the service principal to assign the permission to.

TYPE: str

user_name

Name of the user to assign the permission to.

TYPE: str

Examples:

from laktory import models

p = models.resources.databricks.AccessControl(
    group_name="role-engineers", permission_level="READ"
)