SYSTEM$PROVISION_PRIVATELINK_ENDPOINT

functionnot supportedIntegrations, network & secretsBusiness Critical+

docs.snowflake.com ↗

System functions

Provisions a private connectivity endpoint in the Snowflake VPC or VNet to enable Snowflake to connect to an external service by using private connectivity. The endpoint can be a service endpoint or a resource endpoint depending on the cloud platform that hosts your Snowflake account. Note If the Snowflake account is in an Azure government region, the provider resource ID must be the ID of a resource in a government subscription. For more information about government regions for Snowflake customers, see U.S. SnowGov Regions. This feature requires Business Critical (or higher). To inquire about upgrading, please contact Snowflake Support.

Syntax

supportedpartialnot supportednot scored

AWS

SYSTEM$PROVISION_PRIVATELINK_ENDPOINT(
  '<provider_service_name>',
  '<host_name>'
)

Azure

SYSTEM$PROVISION_PRIVATELINK_ENDPOINT(
  '<provider_resource_id>',
  '<host_name>',
  [, '<subresource>' ]
)

Google Cloud

SYSTEM$PROVISION_PRIVATELINK_ENDPOINT(
  '<target_service_id>',
  '<host_name>'
)

Parameters

NameRequiredDescription
'provider_service_name'requiredSpecifies the external service or resource to connect to. For example, com.amazonaws.us-west-2.execute-api for the Amazon API Gateway or com.amazonaws.us-west-2.s3 for Amazon S3. Note When you connect to a VPC endpoint service in a region that is different from the Snowflake region, ensure that the VPC endpoint service supports the Snowflake region. For information about retrieving this value from AWS, see Provision private connectivity endpoints.
'host_name'requiredSpecifies the fully-qualified host name to access the resource in your VPC or VNet. This value doesn’t contain any port numbers and must match what you specified in the Snowflake object that lets you to connect to the external service. Examples include bedrock-runtime.us-west-2.amazonaws.com and *.s3.us-west-2.amazonaws.com. When using private connectivity for external stages and external volumes, the host_name must use a wildcard instead of specifying a specific AWS S3 bucket. For information about retrieving this value from AWS, see Provision private connectivity endpoints.
'provider_resource_id'requiredSpecifies the fully qualified identifier for the resource in your VPC or VNet.
'host_name'requiredSpecifies the fully qualified host name to access the resource in your VPC or VNet.
'subresource'requiredSpecifies the name of the subresource of the Azure resource. This argument isn’t required for Azure Private Link Service and Azure API Management Service. For all supported values, see the Sub-resource table.
'target_service_id'requiredSpecifies the service attachment ID (to a custom service), or regional Google API endpoint to connect to.
'host_name'requiredSpecifies the fully qualified host name to access the resource.

Returns

Returns a status message that the endpoint was provisioned successfully or details and instructions about why the endpoint was not provisioned successfully.

Usage notes

Access control requirements

Only account administrators (users with the ACCOUNTADMIN role) can call this function.