Titan Core
  • Overview
  • Getting Started
  • Working With Resources
  • Blueprint
  • GitHub Action
  • Resources
    • APIAuthenticationSecurityIntegration
    • APIIntegration
    • AccountParameter
    • AggregationPolicy
    • Alert
    • AuthenticationPolicy
    • AzureStorageIntegration
    • ComputePool
    • Database
    • DatabaseRole
    • DynamicTable
    • EmailNotificationIntegration
    • EventTable
    • ExternalAccessIntegration
    • ExternalStage
    • FailoverGroup
    • FutureGrant
    • GCSStorageIntegration
    • GenericSecret
    • GlueCatalogIntegration
    • Grant
    • GrantOnAll
    • HybridTable
    • ImageRepository
    • InternalStage
    • JSONFileFormat
    • JavascriptUDF
    • MaterializedView
    • NetworkPolicy
    • NetworkRule
    • OAuthSecret
    • ObjectStoreCatalogIntegration
    • PackagesPolicy
    • ParquetFileFormat
    • PasswordPolicy
    • PasswordSecret
    • Pipe
    • PythonStoredProcedure
    • PythonUDF
    • ReplicationGroup
    • ResourceMonitor
    • Role
    • RoleGrant
    • S3StorageIntegration
    • Schema
    • Sequence
    • Service
    • SessionPolicy
    • Share
    • SnowflakePartnerOAuthSecurityIntegration
    • SnowservicesOAuthSecurityIntegration
    • StageStream
    • Table
    • TableStream
    • Tag
    • Task
    • User
    • View
    • ViewStream
    • Warehouse
Powered by GitBook
On this page
  • Examples
  • Python
  • YAML
  • Fields
  1. Resources

ExternalStage

PreviousExternalAccessIntegrationNextFailoverGroup

Last updated 10 months ago

Manages external stages in Snowflake, which are used to reference external storage locations.

Examples

Python

external_stage = ExternalStage(
    name="some_external_stage",
    url="https://example.com/storage",
    owner="SYSADMIN",
    storage_integration="some_integration"
)

YAML

stages:
  - name: some_external_stage
    type: external
    url: https://example.com/storage
    owner: SYSADMIN
    storage_integration: some_integration

Fields

  • name (string, required) - The name of the external stage.

  • url (string, required) - The URL pointing to the external storage location.

  • storage_integration (string) - The name of the storage integration used with this stage.

  • credentials (dict) - The credentials for accessing the external storage, if required.

  • encryption (dict) - The encryption settings used for data stored in the external location.

  • directory (dict) - Settings related to directory handling in the external storage.

  • tags (dict) - Tags associated with the external stage.

  • comment (string) - A comment about the external stage.

owner (string or ) - The owner role of the external stage. Defaults to "SYSADMIN".

Snowflake Documentation
Role