Skip to content

AccessRequestDestinations

laktory.models.resources.databricks.AccessRequestDestinations ¤

Bases: AccessRequestDestinationsBase

Databricks Unity Catalog access request destinations

Where notifications are sent (email, Slack, Microsoft Teams, webhook or the owner of the securable) when users request access to a catalog, schema, table or volume. Can also be declared directly on Catalog, Schema, Table and Volume with their access_request_destinations field. Maps to the Terraform databricks_rfa_access_request_destinations resource.

Examples:

import io

from laktory import models

destinations_yaml = '''
securable:
  type: SCHEMA
  full_name: dev.finance
destinations:
- destination_type: EMAIL
  destination_id: finance-data-owners@okube.ai
'''
destinations = (
    models.resources.databricks.AccessRequestDestinations.model_validate_yaml(
        io.StringIO(destinations_yaml)
    )
)
References
BASE DESCRIPTION
destinations

The access request destinations for the securable

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

provider_config

Configure the provider for management through account provider

TYPE: AccessRequestDestinationsProviderConfig | None | VariableType DEFAULT: None

securable

The securable (type and full_name) for which the access request destinations are set

TYPE: AccessRequestDestinationsSecurable | VariableType


laktory.models.resources.databricks.accessrequestdestinations.AccessRequestDestinationsDestinations ¤

Bases: BaseModel

PARAMETER DESCRIPTION
destination_id

The identifier for the destination. This is the email address for EMAIL destinations, the URL for URL destinations, or the unique Databricks notification destination ID for all other external destinations

TYPE: str | None | VariableType DEFAULT: None

destination_type

The type of the destination. Possible values are: EMAIL, GENERIC_WEBHOOK, MICROSOFT_TEAMS, SLACK, URL

TYPE: str | None | VariableType DEFAULT: None

special_destination

This field is used to denote whether the destination is the email of the owner of the securable object. The special destination cannot be assigned to a securable and only represents the default destination of the securable. The securable types that support default special destinations are: 'catalog', 'external_location', 'connection', 'credential', and 'metastore'. The destination_type of a special_destination is always EMAIL. Possible values are: SPECIAL_DESTINATION_CATALOG_OWNER, SPECIAL_DESTINATION_CONNECTION_OWNER, SPECIAL_DESTINATION_CREDENTIAL_OWNER, SPECIAL_DESTINATION_EXTERNAL_LOCATION_OWNER, SPECIAL_DESTINATION_FUNCTION_OWNER, SPECIAL_DESTINATION_METASTORE_OWNER, SPECIAL_DESTINATION_REGISTERED_MODEL_OWNER, SPECIAL_DESTINATION_SCHEMA_OWNER, SPECIAL_DESTINATION_TABLE_OWNER, SPECIAL_DESTINATION_VOLUME_OWNER

TYPE: str | None | VariableType DEFAULT: None


laktory.models.resources.databricks.accessrequestdestinations.AccessRequestDestinationsProviderConfig ¤

Bases: BaseModel

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 | None | VariableType DEFAULT: None


laktory.models.resources.databricks.accessrequestdestinations.AccessRequestDestinationsSecurable ¤

Bases: BaseModel

PARAMETER DESCRIPTION
full_name

The full name of the securable. Redundant with the name in the securable object, but necessary for Terraform integration

TYPE: str | None | VariableType DEFAULT: None

provider_share

Optional. The name of the Share object that contains the securable when the securable is getting shared in D2D Delta Sharing

TYPE: str | None | VariableType DEFAULT: None

type

Required. The type of securable (catalog/schema/table). Optional if resource_name is present. Possible values are: AGENT_SERVICE, CATALOG, CLEAN_ROOM, CONNECTION, CREDENTIAL, EXTERNAL_LOCATION, EXTERNAL_METADATA, FUNCTION, MCP_SERVICE, METASTORE, MODEL, MODEL_PROVIDER_SERVICE, MODEL_SERVICE, PIPELINE, PROVIDER, RECIPIENT, SCHEMA, SHARE, SKILL, STAGING_TABLE, STORAGE_CREDENTIAL, TABLE, VOLUME

TYPE: str | None | VariableType DEFAULT: None