Skip to content

MwsNccPrivateEndpointRule

laktory.models.resources.databricks.MwsNccPrivateEndpointRule ¤

Bases: MwsNccPrivateEndpointRuleBase

Databricks Mws Ncc Private Endpoint Rule

Examples:

import io

from laktory import models

rule_yaml = '''
network_connectivity_config_id: ${resources.ncc-prod.network_connectivity_config_id}
resource_names:
- my-bucket
endpoint_service: com.amazonaws.vpce.us-east-1.vpce-svc-00000000000000000
'''
rule = models.resources.databricks.MwsNccPrivateEndpointRule.model_validate_yaml(
    io.StringIO(rule_yaml)
)
References
BASE DESCRIPTION
domain_names

List of domain names of target private link service (Azure, conflicts with group_id) or target resource FQDNs accessible via the VPC endpoint service (AWS, conflicts with resource_names)

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

enabled

Activation status. Only used by private endpoints towards an AWS S3 service

TYPE: bool | None | VariableType DEFAULT: None

endpoint_service

(AWS only) Example com.amazonaws.vpce.us-east-1.vpce-svc-123abcc1298abc123. The full target AWS endpoint service name that connects to the destination resources of the private endpoint. Change forces creation of a new resource

TYPE: str | None | VariableType DEFAULT: None

gcp_endpoint

TYPE: MwsNccPrivateEndpointRuleGcpEndpoint | None | VariableType DEFAULT: None

group_id

(Azure only) Not used by customer-managed private endpoint services. The sub-resource type (group ID) of the target resource. Must be one of supported resource types (i.e., blob, dfs, sqlServer , etc. Consult the Azure documentation for full list of supported resources). Note that to connect to workspace root storage (root DBFS), you need two endpoints, one for blob and one for dfs. Change forces creation of a new resource. Conflicts with domain_names

TYPE: str | None | VariableType DEFAULT: None

network_connectivity_config_id

Canonical unique identifier of Network Connectivity Config in Databricks Account. Change forces creation of a new resource

TYPE: str | VariableType | None DEFAULT: None

resource_id

(Azure only) The Azure resource ID of the target resource. Change forces creation of a new resource

TYPE: str | None | VariableType DEFAULT: None

resource_names

(AWS only) Only used by private endpoints towards AWS S3 service. List of globally unique S3 bucket names that will be accessed via the VPC endpoint. The bucket names must be in the same region as the NCC/endpoint service. Conflict with domain_names

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


laktory.models.resources.databricks.mwsnccprivateendpointrule.MwsNccPrivateEndpointRuleGcpEndpoint ¤

Bases: BaseModel

PARAMETER DESCRIPTION
service_attachment

TYPE: str | None | VariableType DEFAULT: None