Skip to content

MwsStorageConfigurations

laktory.models.resources.databricks.MwsStorageConfigurations ยค

Bases: MwsStorageConfigurationsBase

Databricks Mws Storage Configurations

Examples:

import io

from laktory import models

storage_yaml = '''
account_id: ${vars.databricks_account_id}
bucket_name: my-root-bucket
storage_configuration_name: my-storage-configuration
'''
storage = models.resources.databricks.MwsStorageConfigurations.model_validate_yaml(
    io.StringIO(storage_yaml)
)
References
BASE DESCRIPTION
account_id

Account Id that could be found in the top right corner of Accounts Console

TYPE: str | VariableType

bucket_name

name of AWS S3 bucket

TYPE: str | VariableType

role_arn

The ARN of the IAM role that Databricks will assume to access the S3 bucket. This allows sharing an S3 bucket between root storage and the default catalog for a workspace. See the Databricks API documentation for more details

TYPE: str | None | VariableType DEFAULT: None

storage_configuration_name

name under which this storage configuration is stored

TYPE: str | VariableType