Skip to content

MwsCredentials

laktory.models.resources.databricks.MwsCredentials ยค

Bases: MwsCredentialsBase

Databricks Mws Credentials

Examples:

import io

from laktory import models

credentials_yaml = '''
credentials_name: my-credentials
role_arn: arn:aws:iam::000000000000:role/my-cross-account-role
'''
credentials = models.resources.databricks.MwsCredentials.model_validate_yaml(
    io.StringIO(credentials_yaml)
)
References
BASE DESCRIPTION
account_id

(Deprecated) Maintained for backwards compatibility and will be removed in a later version. It should now be specified under a provider instance where host = 'https://accounts.cloud.databricks.com'

TYPE: str | None | VariableType DEFAULT: None

creation_time

(Integer) time of credentials registration

TYPE: int | None | VariableType DEFAULT: None

credentials_id

(String) identifier of credentials

TYPE: str | None | VariableType DEFAULT: None

credentials_name

name of credentials to register

TYPE: str | VariableType

external_id

TYPE: str | None | VariableType DEFAULT: None

role_arn

ARN of cross-account role

TYPE: str | VariableType