Skip to content

Share

laktory.models.resources.databricks.Share ¤

Bases: BaseModel, PulumiResource, TerraformResource

Databricks Share for Delta Sharing

A share is a container that holds the objects to be shared with recipients. Shares enable data sharing between Databricks workspaces.

Examples:


PARAMETER DESCRIPTION
comment

Comment about the share

TYPE: str | VariableType DEFAULT: None

name

The name of the share

TYPE: str | VariableType

objects

Objects contained in the share

TYPE: list[ShareObject | VariableType] | VariableType DEFAULT: None

owner

The owner of the share

TYPE: str | VariableType DEFAULT: None

provider_config

Provider config

TYPE: ShareProviderConfig | VariableType DEFAULT: None


laktory.models.resources.databricks.share.ShareObject ¤

Bases: BaseModel

Object to be shared

PARAMETER DESCRIPTION
added_at

Timestamp when object was added

TYPE: int | VariableType DEFAULT: None

added_by

User who added the object

TYPE: str | VariableType DEFAULT: None

cdf_enabled

Whether to enable Change Data Feed (cdf) on the shared object. When this field is set, field history_data_sharing_status can not be set.

TYPE: bool | VariableType DEFAULT: None

comment

Comment about the shared object

TYPE: str | VariableType DEFAULT: None

content

TYPE: str | VariableType DEFAULT: None

data_object_type

Type of the data object (e.g., TABLE, VIEW)

TYPE: str | VariableType

history_data_sharing_status

History data sharing status

TYPE: str | VariableType DEFAULT: None

name

Name of the object

TYPE: str | VariableType

partitions

Partition values for the shared object

TYPE: list[ShareObjectPartition | VariableType] | VariableType DEFAULT: None

shared_as

Name the object is shared as

TYPE: str | VariableType DEFAULT: None

start_version

Start version for sharing

TYPE: int | VariableType DEFAULT: None

status

Status of the object

TYPE: str | VariableType DEFAULT: None


laktory.models.resources.databricks.share.ShareObjectPartition ¤

Bases: BaseModel

Shared Object Partition

PARAMETER DESCRIPTION
values

The value of the partition column. When this value is not set, it means null value. When this field is set, field recipient_property_key can not be set.

TYPE: list[SharedObjectPartitionValue | VariableType] | VariableType DEFAULT: None


laktory.models.resources.databricks.share.ShareProviderConfig ¤

Bases: BaseModel

Provider Config

PARAMETER DESCRIPTION
workspace_id

Workspace ID which the resource belongs to. This workspace must be part of the account which the provider is configured with.

TYPE: str | VariableType


laktory.models.resources.databricks.share.SharedObjectPartitionValue ¤

Bases: BaseModel

Shared Object Partition Value

PARAMETER DESCRIPTION
name

The name of the partition column.

TYPE: str | VariableType

op

The operator to apply for the value, one of: EQUAL, LIKE

TYPE: str | VariableType

recipient_property_key

The key of a Delta Sharing recipient's property. For example databricks-account-id. When this field is set, field value can not be set.

TYPE: str | VariableType DEFAULT: None

value

The value of the partition column. When this value is not set, it means null value. When this field is set, field recipient_property_key can not be set.

TYPE: str | VariableType DEFAULT: None