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

InternalStage

PreviousImageRepositoryNextJSONFileFormat

Last updated 10 months ago

Represents an internal stage in Snowflake, which is a named location used to store data files that will be loaded into or unloaded from Snowflake tables.

Examples

Python

internal_stage = InternalStage(
    name="some_internal_stage",
    owner="SYSADMIN",
    encryption={"type": "SNOWFLAKE_SSE"},
    directory={"enable": True},
    tags={"department": "finance"},
    comment="Data loading stage"
)

YAML

stages:
  - name: some_internal_stage
    type: internal
    owner: SYSADMIN
    encryption:
      type: SNOWFLAKE_SSE
    directory:
      enable: true
    tags:
      department: finance
    comment: Data loading stage

Fields

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

  • encryption (dict) - A dictionary specifying encryption settings.

  • directory (dict) - A dictionary specifying directory usage settings.

  • tags (dict) - A dictionary of tags associated with the internal stage.

  • comment (string) - A comment for the internal stage.

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

Snowflake Documentation
Role