1. Packages
  2. Snowflake Provider
  3. API Docs
  4. SharedDatabase
Snowflake v1.2.0 published on Monday, Apr 14, 2025 by Pulumi

snowflake.SharedDatabase

Explore with Pulumi AI

Import

$ pulumi import snowflake:index/sharedDatabase:SharedDatabase example '"<shared_database_name>"'
Copy

Create SharedDatabase Resource

Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

Constructor syntax

new SharedDatabase(name: string, args: SharedDatabaseArgs, opts?: CustomResourceOptions);
@overload
def SharedDatabase(resource_name: str,
                   args: SharedDatabaseArgs,
                   opts: Optional[ResourceOptions] = None)

@overload
def SharedDatabase(resource_name: str,
                   opts: Optional[ResourceOptions] = None,
                   from_share: Optional[str] = None,
                   quoted_identifiers_ignore_case: Optional[bool] = None,
                   storage_serialization_policy: Optional[str] = None,
                   enable_console_output: Optional[bool] = None,
                   external_volume: Optional[str] = None,
                   comment: Optional[str] = None,
                   log_level: Optional[str] = None,
                   default_ddl_collation: Optional[str] = None,
                   name: Optional[str] = None,
                   replace_invalid_characters: Optional[bool] = None,
                   catalog: Optional[str] = None,
                   suspend_task_after_num_failures: Optional[int] = None,
                   task_auto_retry_attempts: Optional[int] = None,
                   trace_level: Optional[str] = None,
                   user_task_managed_initial_warehouse_size: Optional[str] = None,
                   user_task_minimum_trigger_interval_in_seconds: Optional[int] = None,
                   user_task_timeout_ms: Optional[int] = None)
func NewSharedDatabase(ctx *Context, name string, args SharedDatabaseArgs, opts ...ResourceOption) (*SharedDatabase, error)
public SharedDatabase(string name, SharedDatabaseArgs args, CustomResourceOptions? opts = null)
public SharedDatabase(String name, SharedDatabaseArgs args)
public SharedDatabase(String name, SharedDatabaseArgs args, CustomResourceOptions options)
type: snowflake:SharedDatabase
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

Parameters

name This property is required. string
The unique name of the resource.
args This property is required. SharedDatabaseArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args This property is required. SharedDatabaseArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name This property is required. string
The unique name of the resource.
args This property is required. SharedDatabaseArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args This property is required. SharedDatabaseArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. SharedDatabaseArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

Constructor example

The following reference example uses placeholder values for all input properties.

var sharedDatabaseResource = new Snowflake.SharedDatabase("sharedDatabaseResource", new()
{
    FromShare = "string",
    QuotedIdentifiersIgnoreCase = false,
    StorageSerializationPolicy = "string",
    EnableConsoleOutput = false,
    ExternalVolume = "string",
    Comment = "string",
    LogLevel = "string",
    DefaultDdlCollation = "string",
    Name = "string",
    ReplaceInvalidCharacters = false,
    Catalog = "string",
    SuspendTaskAfterNumFailures = 0,
    TaskAutoRetryAttempts = 0,
    TraceLevel = "string",
    UserTaskManagedInitialWarehouseSize = "string",
    UserTaskMinimumTriggerIntervalInSeconds = 0,
    UserTaskTimeoutMs = 0,
});
Copy
example, err := snowflake.NewSharedDatabase(ctx, "sharedDatabaseResource", &snowflake.SharedDatabaseArgs{
	FromShare:                               pulumi.String("string"),
	QuotedIdentifiersIgnoreCase:             pulumi.Bool(false),
	StorageSerializationPolicy:              pulumi.String("string"),
	EnableConsoleOutput:                     pulumi.Bool(false),
	ExternalVolume:                          pulumi.String("string"),
	Comment:                                 pulumi.String("string"),
	LogLevel:                                pulumi.String("string"),
	DefaultDdlCollation:                     pulumi.String("string"),
	Name:                                    pulumi.String("string"),
	ReplaceInvalidCharacters:                pulumi.Bool(false),
	Catalog:                                 pulumi.String("string"),
	SuspendTaskAfterNumFailures:             pulumi.Int(0),
	TaskAutoRetryAttempts:                   pulumi.Int(0),
	TraceLevel:                              pulumi.String("string"),
	UserTaskManagedInitialWarehouseSize:     pulumi.String("string"),
	UserTaskMinimumTriggerIntervalInSeconds: pulumi.Int(0),
	UserTaskTimeoutMs:                       pulumi.Int(0),
})
Copy
var sharedDatabaseResource = new SharedDatabase("sharedDatabaseResource", SharedDatabaseArgs.builder()
    .fromShare("string")
    .quotedIdentifiersIgnoreCase(false)
    .storageSerializationPolicy("string")
    .enableConsoleOutput(false)
    .externalVolume("string")
    .comment("string")
    .logLevel("string")
    .defaultDdlCollation("string")
    .name("string")
    .replaceInvalidCharacters(false)
    .catalog("string")
    .suspendTaskAfterNumFailures(0)
    .taskAutoRetryAttempts(0)
    .traceLevel("string")
    .userTaskManagedInitialWarehouseSize("string")
    .userTaskMinimumTriggerIntervalInSeconds(0)
    .userTaskTimeoutMs(0)
    .build());
Copy
shared_database_resource = snowflake.SharedDatabase("sharedDatabaseResource",
    from_share="string",
    quoted_identifiers_ignore_case=False,
    storage_serialization_policy="string",
    enable_console_output=False,
    external_volume="string",
    comment="string",
    log_level="string",
    default_ddl_collation="string",
    name="string",
    replace_invalid_characters=False,
    catalog="string",
    suspend_task_after_num_failures=0,
    task_auto_retry_attempts=0,
    trace_level="string",
    user_task_managed_initial_warehouse_size="string",
    user_task_minimum_trigger_interval_in_seconds=0,
    user_task_timeout_ms=0)
Copy
const sharedDatabaseResource = new snowflake.SharedDatabase("sharedDatabaseResource", {
    fromShare: "string",
    quotedIdentifiersIgnoreCase: false,
    storageSerializationPolicy: "string",
    enableConsoleOutput: false,
    externalVolume: "string",
    comment: "string",
    logLevel: "string",
    defaultDdlCollation: "string",
    name: "string",
    replaceInvalidCharacters: false,
    catalog: "string",
    suspendTaskAfterNumFailures: 0,
    taskAutoRetryAttempts: 0,
    traceLevel: "string",
    userTaskManagedInitialWarehouseSize: "string",
    userTaskMinimumTriggerIntervalInSeconds: 0,
    userTaskTimeoutMs: 0,
});
Copy
type: snowflake:SharedDatabase
properties:
    catalog: string
    comment: string
    defaultDdlCollation: string
    enableConsoleOutput: false
    externalVolume: string
    fromShare: string
    logLevel: string
    name: string
    quotedIdentifiersIgnoreCase: false
    replaceInvalidCharacters: false
    storageSerializationPolicy: string
    suspendTaskAfterNumFailures: 0
    taskAutoRetryAttempts: 0
    traceLevel: string
    userTaskManagedInitialWarehouseSize: string
    userTaskMinimumTriggerIntervalInSeconds: 0
    userTaskTimeoutMs: 0
Copy

SharedDatabase Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

Inputs

In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

The SharedDatabase resource accepts the following input properties:

FromShare
This property is required.
Changes to this property will trigger replacement.
string
A fully qualified path to a share from which the database will be created. A fully qualified path follows the format of "<organization_name>"."<account_name>"."<share_name>". For more information about this resource, see docs.
Catalog Changes to this property will trigger replacement. string
The database parameter that specifies the default catalog to use for Iceberg tables. For more information, see CATALOG.
Comment string
Specifies a comment for the database.
DefaultDdlCollation Changes to this property will trigger replacement. string
Specifies a default collation specification for all schemas and tables added to the database. It can be overridden on schema or table level. For more information, see collation specification.
EnableConsoleOutput Changes to this property will trigger replacement. bool
If true, enables stdout/stderr fast path logging for anonymous stored procedures.
ExternalVolume Changes to this property will trigger replacement. string
The database parameter that specifies the default external volume to use for Iceberg tables. For more information, see EXTERNAL_VOLUME.
LogLevel Changes to this property will trigger replacement. string
Specifies the severity level of messages that should be ingested and made available in the active event table. Valid options are: [TRACE DEBUG INFO WARN ERROR FATAL OFF]. Messages at the specified level (and at more severe levels) are ingested. For more information, see LOG_LEVEL.
Name string
Specifies the identifier for the database; must be unique for your account. Due to technical limitations (read more here), avoid using the following characters: |, ., ".
QuotedIdentifiersIgnoreCase Changes to this property will trigger replacement. bool
If true, the case of quoted identifiers is ignored. For more information, see QUOTEDIDENTIFIERSIGNORE_CASE.
ReplaceInvalidCharacters Changes to this property will trigger replacement. bool
Specifies whether to replace invalid UTF-8 characters with the Unicode replacement character (�) in query results for an Iceberg table. You can only set this parameter for tables that use an external Iceberg catalog. For more information, see REPLACEINVALIDCHARACTERS.
StorageSerializationPolicy Changes to this property will trigger replacement. string
The storage serialization policy for Iceberg tables that use Snowflake as the catalog. Valid options are: [COMPATIBLE OPTIMIZED]. COMPATIBLE: Snowflake performs encoding and compression of data files that ensures interoperability with third-party compute engines. OPTIMIZED: Snowflake performs encoding and compression of data files that ensures the best table performance within Snowflake. For more information, see STORAGESERIALIZATIONPOLICY.
SuspendTaskAfterNumFailures Changes to this property will trigger replacement. int
How many times a task must fail in a row before it is automatically suspended. 0 disables auto-suspending. For more information, see SUSPENDTASKAFTERNUMFAILURES.
TaskAutoRetryAttempts Changes to this property will trigger replacement. int
Maximum automatic retries allowed for a user task. For more information, see TASKAUTORETRY_ATTEMPTS.
TraceLevel Changes to this property will trigger replacement. string
Controls how trace events are ingested into the event table. Valid options are: [ALWAYS ON*EVENT OFF]. For information about levels, see TRACE*LEVEL.
UserTaskManagedInitialWarehouseSize Changes to this property will trigger replacement. string
The initial size of warehouse to use for managed warehouses in the absence of history. For more information, see USERTASKMANAGEDINITIALWAREHOUSE_SIZE.
UserTaskMinimumTriggerIntervalInSeconds Changes to this property will trigger replacement. int
Minimum amount of time between Triggered Task executions in seconds.
UserTaskTimeoutMs Changes to this property will trigger replacement. int
User task execution timeout in milliseconds. For more information, see USERTASKTIMEOUT_MS.
FromShare
This property is required.
Changes to this property will trigger replacement.
string
A fully qualified path to a share from which the database will be created. A fully qualified path follows the format of "<organization_name>"."<account_name>"."<share_name>". For more information about this resource, see docs.
Catalog Changes to this property will trigger replacement. string
The database parameter that specifies the default catalog to use for Iceberg tables. For more information, see CATALOG.
Comment string
Specifies a comment for the database.
DefaultDdlCollation Changes to this property will trigger replacement. string
Specifies a default collation specification for all schemas and tables added to the database. It can be overridden on schema or table level. For more information, see collation specification.
EnableConsoleOutput Changes to this property will trigger replacement. bool
If true, enables stdout/stderr fast path logging for anonymous stored procedures.
ExternalVolume Changes to this property will trigger replacement. string
The database parameter that specifies the default external volume to use for Iceberg tables. For more information, see EXTERNAL_VOLUME.
LogLevel Changes to this property will trigger replacement. string
Specifies the severity level of messages that should be ingested and made available in the active event table. Valid options are: [TRACE DEBUG INFO WARN ERROR FATAL OFF]. Messages at the specified level (and at more severe levels) are ingested. For more information, see LOG_LEVEL.
Name string
Specifies the identifier for the database; must be unique for your account. Due to technical limitations (read more here), avoid using the following characters: |, ., ".
QuotedIdentifiersIgnoreCase Changes to this property will trigger replacement. bool
If true, the case of quoted identifiers is ignored. For more information, see QUOTEDIDENTIFIERSIGNORE_CASE.
ReplaceInvalidCharacters Changes to this property will trigger replacement. bool
Specifies whether to replace invalid UTF-8 characters with the Unicode replacement character (�) in query results for an Iceberg table. You can only set this parameter for tables that use an external Iceberg catalog. For more information, see REPLACEINVALIDCHARACTERS.
StorageSerializationPolicy Changes to this property will trigger replacement. string
The storage serialization policy for Iceberg tables that use Snowflake as the catalog. Valid options are: [COMPATIBLE OPTIMIZED]. COMPATIBLE: Snowflake performs encoding and compression of data files that ensures interoperability with third-party compute engines. OPTIMIZED: Snowflake performs encoding and compression of data files that ensures the best table performance within Snowflake. For more information, see STORAGESERIALIZATIONPOLICY.
SuspendTaskAfterNumFailures Changes to this property will trigger replacement. int
How many times a task must fail in a row before it is automatically suspended. 0 disables auto-suspending. For more information, see SUSPENDTASKAFTERNUMFAILURES.
TaskAutoRetryAttempts Changes to this property will trigger replacement. int
Maximum automatic retries allowed for a user task. For more information, see TASKAUTORETRY_ATTEMPTS.
TraceLevel Changes to this property will trigger replacement. string
Controls how trace events are ingested into the event table. Valid options are: [ALWAYS ON*EVENT OFF]. For information about levels, see TRACE*LEVEL.
UserTaskManagedInitialWarehouseSize Changes to this property will trigger replacement. string
The initial size of warehouse to use for managed warehouses in the absence of history. For more information, see USERTASKMANAGEDINITIALWAREHOUSE_SIZE.
UserTaskMinimumTriggerIntervalInSeconds Changes to this property will trigger replacement. int
Minimum amount of time between Triggered Task executions in seconds.
UserTaskTimeoutMs Changes to this property will trigger replacement. int
User task execution timeout in milliseconds. For more information, see USERTASKTIMEOUT_MS.
fromShare
This property is required.
Changes to this property will trigger replacement.
String
A fully qualified path to a share from which the database will be created. A fully qualified path follows the format of "<organization_name>"."<account_name>"."<share_name>". For more information about this resource, see docs.
catalog Changes to this property will trigger replacement. String
The database parameter that specifies the default catalog to use for Iceberg tables. For more information, see CATALOG.
comment String
Specifies a comment for the database.
defaultDdlCollation Changes to this property will trigger replacement. String
Specifies a default collation specification for all schemas and tables added to the database. It can be overridden on schema or table level. For more information, see collation specification.
enableConsoleOutput Changes to this property will trigger replacement. Boolean
If true, enables stdout/stderr fast path logging for anonymous stored procedures.
externalVolume Changes to this property will trigger replacement. String
The database parameter that specifies the default external volume to use for Iceberg tables. For more information, see EXTERNAL_VOLUME.
logLevel Changes to this property will trigger replacement. String
Specifies the severity level of messages that should be ingested and made available in the active event table. Valid options are: [TRACE DEBUG INFO WARN ERROR FATAL OFF]. Messages at the specified level (and at more severe levels) are ingested. For more information, see LOG_LEVEL.
name String
Specifies the identifier for the database; must be unique for your account. Due to technical limitations (read more here), avoid using the following characters: |, ., ".
quotedIdentifiersIgnoreCase Changes to this property will trigger replacement. Boolean
If true, the case of quoted identifiers is ignored. For more information, see QUOTEDIDENTIFIERSIGNORE_CASE.
replaceInvalidCharacters Changes to this property will trigger replacement. Boolean
Specifies whether to replace invalid UTF-8 characters with the Unicode replacement character (�) in query results for an Iceberg table. You can only set this parameter for tables that use an external Iceberg catalog. For more information, see REPLACEINVALIDCHARACTERS.
storageSerializationPolicy Changes to this property will trigger replacement. String
The storage serialization policy for Iceberg tables that use Snowflake as the catalog. Valid options are: [COMPATIBLE OPTIMIZED]. COMPATIBLE: Snowflake performs encoding and compression of data files that ensures interoperability with third-party compute engines. OPTIMIZED: Snowflake performs encoding and compression of data files that ensures the best table performance within Snowflake. For more information, see STORAGESERIALIZATIONPOLICY.
suspendTaskAfterNumFailures Changes to this property will trigger replacement. Integer
How many times a task must fail in a row before it is automatically suspended. 0 disables auto-suspending. For more information, see SUSPENDTASKAFTERNUMFAILURES.
taskAutoRetryAttempts Changes to this property will trigger replacement. Integer
Maximum automatic retries allowed for a user task. For more information, see TASKAUTORETRY_ATTEMPTS.
traceLevel Changes to this property will trigger replacement. String
Controls how trace events are ingested into the event table. Valid options are: [ALWAYS ON*EVENT OFF]. For information about levels, see TRACE*LEVEL.
userTaskManagedInitialWarehouseSize Changes to this property will trigger replacement. String
The initial size of warehouse to use for managed warehouses in the absence of history. For more information, see USERTASKMANAGEDINITIALWAREHOUSE_SIZE.
userTaskMinimumTriggerIntervalInSeconds Changes to this property will trigger replacement. Integer
Minimum amount of time between Triggered Task executions in seconds.
userTaskTimeoutMs Changes to this property will trigger replacement. Integer
User task execution timeout in milliseconds. For more information, see USERTASKTIMEOUT_MS.
fromShare
This property is required.
Changes to this property will trigger replacement.
string
A fully qualified path to a share from which the database will be created. A fully qualified path follows the format of "<organization_name>"."<account_name>"."<share_name>". For more information about this resource, see docs.
catalog Changes to this property will trigger replacement. string
The database parameter that specifies the default catalog to use for Iceberg tables. For more information, see CATALOG.
comment string
Specifies a comment for the database.
defaultDdlCollation Changes to this property will trigger replacement. string
Specifies a default collation specification for all schemas and tables added to the database. It can be overridden on schema or table level. For more information, see collation specification.
enableConsoleOutput Changes to this property will trigger replacement. boolean
If true, enables stdout/stderr fast path logging for anonymous stored procedures.
externalVolume Changes to this property will trigger replacement. string
The database parameter that specifies the default external volume to use for Iceberg tables. For more information, see EXTERNAL_VOLUME.
logLevel Changes to this property will trigger replacement. string
Specifies the severity level of messages that should be ingested and made available in the active event table. Valid options are: [TRACE DEBUG INFO WARN ERROR FATAL OFF]. Messages at the specified level (and at more severe levels) are ingested. For more information, see LOG_LEVEL.
name string
Specifies the identifier for the database; must be unique for your account. Due to technical limitations (read more here), avoid using the following characters: |, ., ".
quotedIdentifiersIgnoreCase Changes to this property will trigger replacement. boolean
If true, the case of quoted identifiers is ignored. For more information, see QUOTEDIDENTIFIERSIGNORE_CASE.
replaceInvalidCharacters Changes to this property will trigger replacement. boolean
Specifies whether to replace invalid UTF-8 characters with the Unicode replacement character (�) in query results for an Iceberg table. You can only set this parameter for tables that use an external Iceberg catalog. For more information, see REPLACEINVALIDCHARACTERS.
storageSerializationPolicy Changes to this property will trigger replacement. string
The storage serialization policy for Iceberg tables that use Snowflake as the catalog. Valid options are: [COMPATIBLE OPTIMIZED]. COMPATIBLE: Snowflake performs encoding and compression of data files that ensures interoperability with third-party compute engines. OPTIMIZED: Snowflake performs encoding and compression of data files that ensures the best table performance within Snowflake. For more information, see STORAGESERIALIZATIONPOLICY.
suspendTaskAfterNumFailures Changes to this property will trigger replacement. number
How many times a task must fail in a row before it is automatically suspended. 0 disables auto-suspending. For more information, see SUSPENDTASKAFTERNUMFAILURES.
taskAutoRetryAttempts Changes to this property will trigger replacement. number
Maximum automatic retries allowed for a user task. For more information, see TASKAUTORETRY_ATTEMPTS.
traceLevel Changes to this property will trigger replacement. string
Controls how trace events are ingested into the event table. Valid options are: [ALWAYS ON*EVENT OFF]. For information about levels, see TRACE*LEVEL.
userTaskManagedInitialWarehouseSize Changes to this property will trigger replacement. string
The initial size of warehouse to use for managed warehouses in the absence of history. For more information, see USERTASKMANAGEDINITIALWAREHOUSE_SIZE.
userTaskMinimumTriggerIntervalInSeconds Changes to this property will trigger replacement. number
Minimum amount of time between Triggered Task executions in seconds.
userTaskTimeoutMs Changes to this property will trigger replacement. number
User task execution timeout in milliseconds. For more information, see USERTASKTIMEOUT_MS.
from_share
This property is required.
Changes to this property will trigger replacement.
str
A fully qualified path to a share from which the database will be created. A fully qualified path follows the format of "<organization_name>"."<account_name>"."<share_name>". For more information about this resource, see docs.
catalog Changes to this property will trigger replacement. str
The database parameter that specifies the default catalog to use for Iceberg tables. For more information, see CATALOG.
comment str
Specifies a comment for the database.
default_ddl_collation Changes to this property will trigger replacement. str
Specifies a default collation specification for all schemas and tables added to the database. It can be overridden on schema or table level. For more information, see collation specification.
enable_console_output Changes to this property will trigger replacement. bool
If true, enables stdout/stderr fast path logging for anonymous stored procedures.
external_volume Changes to this property will trigger replacement. str
The database parameter that specifies the default external volume to use for Iceberg tables. For more information, see EXTERNAL_VOLUME.
log_level Changes to this property will trigger replacement. str
Specifies the severity level of messages that should be ingested and made available in the active event table. Valid options are: [TRACE DEBUG INFO WARN ERROR FATAL OFF]. Messages at the specified level (and at more severe levels) are ingested. For more information, see LOG_LEVEL.
name str
Specifies the identifier for the database; must be unique for your account. Due to technical limitations (read more here), avoid using the following characters: |, ., ".
quoted_identifiers_ignore_case Changes to this property will trigger replacement. bool
If true, the case of quoted identifiers is ignored. For more information, see QUOTEDIDENTIFIERSIGNORE_CASE.
replace_invalid_characters Changes to this property will trigger replacement. bool
Specifies whether to replace invalid UTF-8 characters with the Unicode replacement character (�) in query results for an Iceberg table. You can only set this parameter for tables that use an external Iceberg catalog. For more information, see REPLACEINVALIDCHARACTERS.
storage_serialization_policy Changes to this property will trigger replacement. str
The storage serialization policy for Iceberg tables that use Snowflake as the catalog. Valid options are: [COMPATIBLE OPTIMIZED]. COMPATIBLE: Snowflake performs encoding and compression of data files that ensures interoperability with third-party compute engines. OPTIMIZED: Snowflake performs encoding and compression of data files that ensures the best table performance within Snowflake. For more information, see STORAGESERIALIZATIONPOLICY.
suspend_task_after_num_failures Changes to this property will trigger replacement. int
How many times a task must fail in a row before it is automatically suspended. 0 disables auto-suspending. For more information, see SUSPENDTASKAFTERNUMFAILURES.
task_auto_retry_attempts Changes to this property will trigger replacement. int
Maximum automatic retries allowed for a user task. For more information, see TASKAUTORETRY_ATTEMPTS.
trace_level Changes to this property will trigger replacement. str
Controls how trace events are ingested into the event table. Valid options are: [ALWAYS ON*EVENT OFF]. For information about levels, see TRACE*LEVEL.
user_task_managed_initial_warehouse_size Changes to this property will trigger replacement. str
The initial size of warehouse to use for managed warehouses in the absence of history. For more information, see USERTASKMANAGEDINITIALWAREHOUSE_SIZE.
user_task_minimum_trigger_interval_in_seconds Changes to this property will trigger replacement. int
Minimum amount of time between Triggered Task executions in seconds.
user_task_timeout_ms Changes to this property will trigger replacement. int
User task execution timeout in milliseconds. For more information, see USERTASKTIMEOUT_MS.
fromShare
This property is required.
Changes to this property will trigger replacement.
String
A fully qualified path to a share from which the database will be created. A fully qualified path follows the format of "<organization_name>"."<account_name>"."<share_name>". For more information about this resource, see docs.
catalog Changes to this property will trigger replacement. String
The database parameter that specifies the default catalog to use for Iceberg tables. For more information, see CATALOG.
comment String
Specifies a comment for the database.
defaultDdlCollation Changes to this property will trigger replacement. String
Specifies a default collation specification for all schemas and tables added to the database. It can be overridden on schema or table level. For more information, see collation specification.
enableConsoleOutput Changes to this property will trigger replacement. Boolean
If true, enables stdout/stderr fast path logging for anonymous stored procedures.
externalVolume Changes to this property will trigger replacement. String
The database parameter that specifies the default external volume to use for Iceberg tables. For more information, see EXTERNAL_VOLUME.
logLevel Changes to this property will trigger replacement. String
Specifies the severity level of messages that should be ingested and made available in the active event table. Valid options are: [TRACE DEBUG INFO WARN ERROR FATAL OFF]. Messages at the specified level (and at more severe levels) are ingested. For more information, see LOG_LEVEL.
name String
Specifies the identifier for the database; must be unique for your account. Due to technical limitations (read more here), avoid using the following characters: |, ., ".
quotedIdentifiersIgnoreCase Changes to this property will trigger replacement. Boolean
If true, the case of quoted identifiers is ignored. For more information, see QUOTEDIDENTIFIERSIGNORE_CASE.
replaceInvalidCharacters Changes to this property will trigger replacement. Boolean
Specifies whether to replace invalid UTF-8 characters with the Unicode replacement character (�) in query results for an Iceberg table. You can only set this parameter for tables that use an external Iceberg catalog. For more information, see REPLACEINVALIDCHARACTERS.
storageSerializationPolicy Changes to this property will trigger replacement. String
The storage serialization policy for Iceberg tables that use Snowflake as the catalog. Valid options are: [COMPATIBLE OPTIMIZED]. COMPATIBLE: Snowflake performs encoding and compression of data files that ensures interoperability with third-party compute engines. OPTIMIZED: Snowflake performs encoding and compression of data files that ensures the best table performance within Snowflake. For more information, see STORAGESERIALIZATIONPOLICY.
suspendTaskAfterNumFailures Changes to this property will trigger replacement. Number
How many times a task must fail in a row before it is automatically suspended. 0 disables auto-suspending. For more information, see SUSPENDTASKAFTERNUMFAILURES.
taskAutoRetryAttempts Changes to this property will trigger replacement. Number
Maximum automatic retries allowed for a user task. For more information, see TASKAUTORETRY_ATTEMPTS.
traceLevel Changes to this property will trigger replacement. String
Controls how trace events are ingested into the event table. Valid options are: [ALWAYS ON*EVENT OFF]. For information about levels, see TRACE*LEVEL.
userTaskManagedInitialWarehouseSize Changes to this property will trigger replacement. String
The initial size of warehouse to use for managed warehouses in the absence of history. For more information, see USERTASKMANAGEDINITIALWAREHOUSE_SIZE.
userTaskMinimumTriggerIntervalInSeconds Changes to this property will trigger replacement. Number
Minimum amount of time between Triggered Task executions in seconds.
userTaskTimeoutMs Changes to this property will trigger replacement. Number
User task execution timeout in milliseconds. For more information, see USERTASKTIMEOUT_MS.

Outputs

All input properties are implicitly available as output properties. Additionally, the SharedDatabase resource produces the following output properties:

FullyQualifiedName string
Fully qualified name of the resource. For more information, see object name resolution.
Id string
The provider-assigned unique ID for this managed resource.
FullyQualifiedName string
Fully qualified name of the resource. For more information, see object name resolution.
Id string
The provider-assigned unique ID for this managed resource.
fullyQualifiedName String
Fully qualified name of the resource. For more information, see object name resolution.
id String
The provider-assigned unique ID for this managed resource.
fullyQualifiedName string
Fully qualified name of the resource. For more information, see object name resolution.
id string
The provider-assigned unique ID for this managed resource.
fully_qualified_name str
Fully qualified name of the resource. For more information, see object name resolution.
id str
The provider-assigned unique ID for this managed resource.
fullyQualifiedName String
Fully qualified name of the resource. For more information, see object name resolution.
id String
The provider-assigned unique ID for this managed resource.

Look up Existing SharedDatabase Resource

Get an existing SharedDatabase resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

public static get(name: string, id: Input<ID>, state?: SharedDatabaseState, opts?: CustomResourceOptions): SharedDatabase
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        catalog: Optional[str] = None,
        comment: Optional[str] = None,
        default_ddl_collation: Optional[str] = None,
        enable_console_output: Optional[bool] = None,
        external_volume: Optional[str] = None,
        from_share: Optional[str] = None,
        fully_qualified_name: Optional[str] = None,
        log_level: Optional[str] = None,
        name: Optional[str] = None,
        quoted_identifiers_ignore_case: Optional[bool] = None,
        replace_invalid_characters: Optional[bool] = None,
        storage_serialization_policy: Optional[str] = None,
        suspend_task_after_num_failures: Optional[int] = None,
        task_auto_retry_attempts: Optional[int] = None,
        trace_level: Optional[str] = None,
        user_task_managed_initial_warehouse_size: Optional[str] = None,
        user_task_minimum_trigger_interval_in_seconds: Optional[int] = None,
        user_task_timeout_ms: Optional[int] = None) -> SharedDatabase
func GetSharedDatabase(ctx *Context, name string, id IDInput, state *SharedDatabaseState, opts ...ResourceOption) (*SharedDatabase, error)
public static SharedDatabase Get(string name, Input<string> id, SharedDatabaseState? state, CustomResourceOptions? opts = null)
public static SharedDatabase get(String name, Output<String> id, SharedDatabaseState state, CustomResourceOptions options)
resources:  _:    type: snowflake:SharedDatabase    get:      id: ${id}
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
resource_name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
The following state arguments are supported:
Catalog Changes to this property will trigger replacement. string
The database parameter that specifies the default catalog to use for Iceberg tables. For more information, see CATALOG.
Comment string
Specifies a comment for the database.
DefaultDdlCollation Changes to this property will trigger replacement. string
Specifies a default collation specification for all schemas and tables added to the database. It can be overridden on schema or table level. For more information, see collation specification.
EnableConsoleOutput Changes to this property will trigger replacement. bool
If true, enables stdout/stderr fast path logging for anonymous stored procedures.
ExternalVolume Changes to this property will trigger replacement. string
The database parameter that specifies the default external volume to use for Iceberg tables. For more information, see EXTERNAL_VOLUME.
FromShare Changes to this property will trigger replacement. string
A fully qualified path to a share from which the database will be created. A fully qualified path follows the format of "<organization_name>"."<account_name>"."<share_name>". For more information about this resource, see docs.
FullyQualifiedName string
Fully qualified name of the resource. For more information, see object name resolution.
LogLevel Changes to this property will trigger replacement. string
Specifies the severity level of messages that should be ingested and made available in the active event table. Valid options are: [TRACE DEBUG INFO WARN ERROR FATAL OFF]. Messages at the specified level (and at more severe levels) are ingested. For more information, see LOG_LEVEL.
Name string
Specifies the identifier for the database; must be unique for your account. Due to technical limitations (read more here), avoid using the following characters: |, ., ".
QuotedIdentifiersIgnoreCase Changes to this property will trigger replacement. bool
If true, the case of quoted identifiers is ignored. For more information, see QUOTEDIDENTIFIERSIGNORE_CASE.
ReplaceInvalidCharacters Changes to this property will trigger replacement. bool
Specifies whether to replace invalid UTF-8 characters with the Unicode replacement character (�) in query results for an Iceberg table. You can only set this parameter for tables that use an external Iceberg catalog. For more information, see REPLACEINVALIDCHARACTERS.
StorageSerializationPolicy Changes to this property will trigger replacement. string
The storage serialization policy for Iceberg tables that use Snowflake as the catalog. Valid options are: [COMPATIBLE OPTIMIZED]. COMPATIBLE: Snowflake performs encoding and compression of data files that ensures interoperability with third-party compute engines. OPTIMIZED: Snowflake performs encoding and compression of data files that ensures the best table performance within Snowflake. For more information, see STORAGESERIALIZATIONPOLICY.
SuspendTaskAfterNumFailures Changes to this property will trigger replacement. int
How many times a task must fail in a row before it is automatically suspended. 0 disables auto-suspending. For more information, see SUSPENDTASKAFTERNUMFAILURES.
TaskAutoRetryAttempts Changes to this property will trigger replacement. int
Maximum automatic retries allowed for a user task. For more information, see TASKAUTORETRY_ATTEMPTS.
TraceLevel Changes to this property will trigger replacement. string
Controls how trace events are ingested into the event table. Valid options are: [ALWAYS ON*EVENT OFF]. For information about levels, see TRACE*LEVEL.
UserTaskManagedInitialWarehouseSize Changes to this property will trigger replacement. string
The initial size of warehouse to use for managed warehouses in the absence of history. For more information, see USERTASKMANAGEDINITIALWAREHOUSE_SIZE.
UserTaskMinimumTriggerIntervalInSeconds Changes to this property will trigger replacement. int
Minimum amount of time between Triggered Task executions in seconds.
UserTaskTimeoutMs Changes to this property will trigger replacement. int
User task execution timeout in milliseconds. For more information, see USERTASKTIMEOUT_MS.
Catalog Changes to this property will trigger replacement. string
The database parameter that specifies the default catalog to use for Iceberg tables. For more information, see CATALOG.
Comment string
Specifies a comment for the database.
DefaultDdlCollation Changes to this property will trigger replacement. string
Specifies a default collation specification for all schemas and tables added to the database. It can be overridden on schema or table level. For more information, see collation specification.
EnableConsoleOutput Changes to this property will trigger replacement. bool
If true, enables stdout/stderr fast path logging for anonymous stored procedures.
ExternalVolume Changes to this property will trigger replacement. string
The database parameter that specifies the default external volume to use for Iceberg tables. For more information, see EXTERNAL_VOLUME.
FromShare Changes to this property will trigger replacement. string
A fully qualified path to a share from which the database will be created. A fully qualified path follows the format of "<organization_name>"."<account_name>"."<share_name>". For more information about this resource, see docs.
FullyQualifiedName string
Fully qualified name of the resource. For more information, see object name resolution.
LogLevel Changes to this property will trigger replacement. string
Specifies the severity level of messages that should be ingested and made available in the active event table. Valid options are: [TRACE DEBUG INFO WARN ERROR FATAL OFF]. Messages at the specified level (and at more severe levels) are ingested. For more information, see LOG_LEVEL.
Name string
Specifies the identifier for the database; must be unique for your account. Due to technical limitations (read more here), avoid using the following characters: |, ., ".
QuotedIdentifiersIgnoreCase Changes to this property will trigger replacement. bool
If true, the case of quoted identifiers is ignored. For more information, see QUOTEDIDENTIFIERSIGNORE_CASE.
ReplaceInvalidCharacters Changes to this property will trigger replacement. bool
Specifies whether to replace invalid UTF-8 characters with the Unicode replacement character (�) in query results for an Iceberg table. You can only set this parameter for tables that use an external Iceberg catalog. For more information, see REPLACEINVALIDCHARACTERS.
StorageSerializationPolicy Changes to this property will trigger replacement. string
The storage serialization policy for Iceberg tables that use Snowflake as the catalog. Valid options are: [COMPATIBLE OPTIMIZED]. COMPATIBLE: Snowflake performs encoding and compression of data files that ensures interoperability with third-party compute engines. OPTIMIZED: Snowflake performs encoding and compression of data files that ensures the best table performance within Snowflake. For more information, see STORAGESERIALIZATIONPOLICY.
SuspendTaskAfterNumFailures Changes to this property will trigger replacement. int
How many times a task must fail in a row before it is automatically suspended. 0 disables auto-suspending. For more information, see SUSPENDTASKAFTERNUMFAILURES.
TaskAutoRetryAttempts Changes to this property will trigger replacement. int
Maximum automatic retries allowed for a user task. For more information, see TASKAUTORETRY_ATTEMPTS.
TraceLevel Changes to this property will trigger replacement. string
Controls how trace events are ingested into the event table. Valid options are: [ALWAYS ON*EVENT OFF]. For information about levels, see TRACE*LEVEL.
UserTaskManagedInitialWarehouseSize Changes to this property will trigger replacement. string
The initial size of warehouse to use for managed warehouses in the absence of history. For more information, see USERTASKMANAGEDINITIALWAREHOUSE_SIZE.
UserTaskMinimumTriggerIntervalInSeconds Changes to this property will trigger replacement. int
Minimum amount of time between Triggered Task executions in seconds.
UserTaskTimeoutMs Changes to this property will trigger replacement. int
User task execution timeout in milliseconds. For more information, see USERTASKTIMEOUT_MS.
catalog Changes to this property will trigger replacement. String
The database parameter that specifies the default catalog to use for Iceberg tables. For more information, see CATALOG.
comment String
Specifies a comment for the database.
defaultDdlCollation Changes to this property will trigger replacement. String
Specifies a default collation specification for all schemas and tables added to the database. It can be overridden on schema or table level. For more information, see collation specification.
enableConsoleOutput Changes to this property will trigger replacement. Boolean
If true, enables stdout/stderr fast path logging for anonymous stored procedures.
externalVolume Changes to this property will trigger replacement. String
The database parameter that specifies the default external volume to use for Iceberg tables. For more information, see EXTERNAL_VOLUME.
fromShare Changes to this property will trigger replacement. String
A fully qualified path to a share from which the database will be created. A fully qualified path follows the format of "<organization_name>"."<account_name>"."<share_name>". For more information about this resource, see docs.
fullyQualifiedName String
Fully qualified name of the resource. For more information, see object name resolution.
logLevel Changes to this property will trigger replacement. String
Specifies the severity level of messages that should be ingested and made available in the active event table. Valid options are: [TRACE DEBUG INFO WARN ERROR FATAL OFF]. Messages at the specified level (and at more severe levels) are ingested. For more information, see LOG_LEVEL.
name String
Specifies the identifier for the database; must be unique for your account. Due to technical limitations (read more here), avoid using the following characters: |, ., ".
quotedIdentifiersIgnoreCase Changes to this property will trigger replacement. Boolean
If true, the case of quoted identifiers is ignored. For more information, see QUOTEDIDENTIFIERSIGNORE_CASE.
replaceInvalidCharacters Changes to this property will trigger replacement. Boolean
Specifies whether to replace invalid UTF-8 characters with the Unicode replacement character (�) in query results for an Iceberg table. You can only set this parameter for tables that use an external Iceberg catalog. For more information, see REPLACEINVALIDCHARACTERS.
storageSerializationPolicy Changes to this property will trigger replacement. String
The storage serialization policy for Iceberg tables that use Snowflake as the catalog. Valid options are: [COMPATIBLE OPTIMIZED]. COMPATIBLE: Snowflake performs encoding and compression of data files that ensures interoperability with third-party compute engines. OPTIMIZED: Snowflake performs encoding and compression of data files that ensures the best table performance within Snowflake. For more information, see STORAGESERIALIZATIONPOLICY.
suspendTaskAfterNumFailures Changes to this property will trigger replacement. Integer
How many times a task must fail in a row before it is automatically suspended. 0 disables auto-suspending. For more information, see SUSPENDTASKAFTERNUMFAILURES.
taskAutoRetryAttempts Changes to this property will trigger replacement. Integer
Maximum automatic retries allowed for a user task. For more information, see TASKAUTORETRY_ATTEMPTS.
traceLevel Changes to this property will trigger replacement. String
Controls how trace events are ingested into the event table. Valid options are: [ALWAYS ON*EVENT OFF]. For information about levels, see TRACE*LEVEL.
userTaskManagedInitialWarehouseSize Changes to this property will trigger replacement. String
The initial size of warehouse to use for managed warehouses in the absence of history. For more information, see USERTASKMANAGEDINITIALWAREHOUSE_SIZE.
userTaskMinimumTriggerIntervalInSeconds Changes to this property will trigger replacement. Integer
Minimum amount of time between Triggered Task executions in seconds.
userTaskTimeoutMs Changes to this property will trigger replacement. Integer
User task execution timeout in milliseconds. For more information, see USERTASKTIMEOUT_MS.
catalog Changes to this property will trigger replacement. string
The database parameter that specifies the default catalog to use for Iceberg tables. For more information, see CATALOG.
comment string
Specifies a comment for the database.
defaultDdlCollation Changes to this property will trigger replacement. string
Specifies a default collation specification for all schemas and tables added to the database. It can be overridden on schema or table level. For more information, see collation specification.
enableConsoleOutput Changes to this property will trigger replacement. boolean
If true, enables stdout/stderr fast path logging for anonymous stored procedures.
externalVolume Changes to this property will trigger replacement. string
The database parameter that specifies the default external volume to use for Iceberg tables. For more information, see EXTERNAL_VOLUME.
fromShare Changes to this property will trigger replacement. string
A fully qualified path to a share from which the database will be created. A fully qualified path follows the format of "<organization_name>"."<account_name>"."<share_name>". For more information about this resource, see docs.
fullyQualifiedName string
Fully qualified name of the resource. For more information, see object name resolution.
logLevel Changes to this property will trigger replacement. string
Specifies the severity level of messages that should be ingested and made available in the active event table. Valid options are: [TRACE DEBUG INFO WARN ERROR FATAL OFF]. Messages at the specified level (and at more severe levels) are ingested. For more information, see LOG_LEVEL.
name string
Specifies the identifier for the database; must be unique for your account. Due to technical limitations (read more here), avoid using the following characters: |, ., ".
quotedIdentifiersIgnoreCase Changes to this property will trigger replacement. boolean
If true, the case of quoted identifiers is ignored. For more information, see QUOTEDIDENTIFIERSIGNORE_CASE.
replaceInvalidCharacters Changes to this property will trigger replacement. boolean
Specifies whether to replace invalid UTF-8 characters with the Unicode replacement character (�) in query results for an Iceberg table. You can only set this parameter for tables that use an external Iceberg catalog. For more information, see REPLACEINVALIDCHARACTERS.
storageSerializationPolicy Changes to this property will trigger replacement. string
The storage serialization policy for Iceberg tables that use Snowflake as the catalog. Valid options are: [COMPATIBLE OPTIMIZED]. COMPATIBLE: Snowflake performs encoding and compression of data files that ensures interoperability with third-party compute engines. OPTIMIZED: Snowflake performs encoding and compression of data files that ensures the best table performance within Snowflake. For more information, see STORAGESERIALIZATIONPOLICY.
suspendTaskAfterNumFailures Changes to this property will trigger replacement. number
How many times a task must fail in a row before it is automatically suspended. 0 disables auto-suspending. For more information, see SUSPENDTASKAFTERNUMFAILURES.
taskAutoRetryAttempts Changes to this property will trigger replacement. number
Maximum automatic retries allowed for a user task. For more information, see TASKAUTORETRY_ATTEMPTS.
traceLevel Changes to this property will trigger replacement. string
Controls how trace events are ingested into the event table. Valid options are: [ALWAYS ON*EVENT OFF]. For information about levels, see TRACE*LEVEL.
userTaskManagedInitialWarehouseSize Changes to this property will trigger replacement. string
The initial size of warehouse to use for managed warehouses in the absence of history. For more information, see USERTASKMANAGEDINITIALWAREHOUSE_SIZE.
userTaskMinimumTriggerIntervalInSeconds Changes to this property will trigger replacement. number
Minimum amount of time between Triggered Task executions in seconds.
userTaskTimeoutMs Changes to this property will trigger replacement. number
User task execution timeout in milliseconds. For more information, see USERTASKTIMEOUT_MS.
catalog Changes to this property will trigger replacement. str
The database parameter that specifies the default catalog to use for Iceberg tables. For more information, see CATALOG.
comment str
Specifies a comment for the database.
default_ddl_collation Changes to this property will trigger replacement. str
Specifies a default collation specification for all schemas and tables added to the database. It can be overridden on schema or table level. For more information, see collation specification.
enable_console_output Changes to this property will trigger replacement. bool
If true, enables stdout/stderr fast path logging for anonymous stored procedures.
external_volume Changes to this property will trigger replacement. str
The database parameter that specifies the default external volume to use for Iceberg tables. For more information, see EXTERNAL_VOLUME.
from_share Changes to this property will trigger replacement. str
A fully qualified path to a share from which the database will be created. A fully qualified path follows the format of "<organization_name>"."<account_name>"."<share_name>". For more information about this resource, see docs.
fully_qualified_name str
Fully qualified name of the resource. For more information, see object name resolution.
log_level Changes to this property will trigger replacement. str
Specifies the severity level of messages that should be ingested and made available in the active event table. Valid options are: [TRACE DEBUG INFO WARN ERROR FATAL OFF]. Messages at the specified level (and at more severe levels) are ingested. For more information, see LOG_LEVEL.
name str
Specifies the identifier for the database; must be unique for your account. Due to technical limitations (read more here), avoid using the following characters: |, ., ".
quoted_identifiers_ignore_case Changes to this property will trigger replacement. bool
If true, the case of quoted identifiers is ignored. For more information, see QUOTEDIDENTIFIERSIGNORE_CASE.
replace_invalid_characters Changes to this property will trigger replacement. bool
Specifies whether to replace invalid UTF-8 characters with the Unicode replacement character (�) in query results for an Iceberg table. You can only set this parameter for tables that use an external Iceberg catalog. For more information, see REPLACEINVALIDCHARACTERS.
storage_serialization_policy Changes to this property will trigger replacement. str
The storage serialization policy for Iceberg tables that use Snowflake as the catalog. Valid options are: [COMPATIBLE OPTIMIZED]. COMPATIBLE: Snowflake performs encoding and compression of data files that ensures interoperability with third-party compute engines. OPTIMIZED: Snowflake performs encoding and compression of data files that ensures the best table performance within Snowflake. For more information, see STORAGESERIALIZATIONPOLICY.
suspend_task_after_num_failures Changes to this property will trigger replacement. int
How many times a task must fail in a row before it is automatically suspended. 0 disables auto-suspending. For more information, see SUSPENDTASKAFTERNUMFAILURES.
task_auto_retry_attempts Changes to this property will trigger replacement. int
Maximum automatic retries allowed for a user task. For more information, see TASKAUTORETRY_ATTEMPTS.
trace_level Changes to this property will trigger replacement. str
Controls how trace events are ingested into the event table. Valid options are: [ALWAYS ON*EVENT OFF]. For information about levels, see TRACE*LEVEL.
user_task_managed_initial_warehouse_size Changes to this property will trigger replacement. str
The initial size of warehouse to use for managed warehouses in the absence of history. For more information, see USERTASKMANAGEDINITIALWAREHOUSE_SIZE.
user_task_minimum_trigger_interval_in_seconds Changes to this property will trigger replacement. int
Minimum amount of time between Triggered Task executions in seconds.
user_task_timeout_ms Changes to this property will trigger replacement. int
User task execution timeout in milliseconds. For more information, see USERTASKTIMEOUT_MS.
catalog Changes to this property will trigger replacement. String
The database parameter that specifies the default catalog to use for Iceberg tables. For more information, see CATALOG.
comment String
Specifies a comment for the database.
defaultDdlCollation Changes to this property will trigger replacement. String
Specifies a default collation specification for all schemas and tables added to the database. It can be overridden on schema or table level. For more information, see collation specification.
enableConsoleOutput Changes to this property will trigger replacement. Boolean
If true, enables stdout/stderr fast path logging for anonymous stored procedures.
externalVolume Changes to this property will trigger replacement. String
The database parameter that specifies the default external volume to use for Iceberg tables. For more information, see EXTERNAL_VOLUME.
fromShare Changes to this property will trigger replacement. String
A fully qualified path to a share from which the database will be created. A fully qualified path follows the format of "<organization_name>"."<account_name>"."<share_name>". For more information about this resource, see docs.
fullyQualifiedName String
Fully qualified name of the resource. For more information, see object name resolution.
logLevel Changes to this property will trigger replacement. String
Specifies the severity level of messages that should be ingested and made available in the active event table. Valid options are: [TRACE DEBUG INFO WARN ERROR FATAL OFF]. Messages at the specified level (and at more severe levels) are ingested. For more information, see LOG_LEVEL.
name String
Specifies the identifier for the database; must be unique for your account. Due to technical limitations (read more here), avoid using the following characters: |, ., ".
quotedIdentifiersIgnoreCase Changes to this property will trigger replacement. Boolean
If true, the case of quoted identifiers is ignored. For more information, see QUOTEDIDENTIFIERSIGNORE_CASE.
replaceInvalidCharacters Changes to this property will trigger replacement. Boolean
Specifies whether to replace invalid UTF-8 characters with the Unicode replacement character (�) in query results for an Iceberg table. You can only set this parameter for tables that use an external Iceberg catalog. For more information, see REPLACEINVALIDCHARACTERS.
storageSerializationPolicy Changes to this property will trigger replacement. String
The storage serialization policy for Iceberg tables that use Snowflake as the catalog. Valid options are: [COMPATIBLE OPTIMIZED]. COMPATIBLE: Snowflake performs encoding and compression of data files that ensures interoperability with third-party compute engines. OPTIMIZED: Snowflake performs encoding and compression of data files that ensures the best table performance within Snowflake. For more information, see STORAGESERIALIZATIONPOLICY.
suspendTaskAfterNumFailures Changes to this property will trigger replacement. Number
How many times a task must fail in a row before it is automatically suspended. 0 disables auto-suspending. For more information, see SUSPENDTASKAFTERNUMFAILURES.
taskAutoRetryAttempts Changes to this property will trigger replacement. Number
Maximum automatic retries allowed for a user task. For more information, see TASKAUTORETRY_ATTEMPTS.
traceLevel Changes to this property will trigger replacement. String
Controls how trace events are ingested into the event table. Valid options are: [ALWAYS ON*EVENT OFF]. For information about levels, see TRACE*LEVEL.
userTaskManagedInitialWarehouseSize Changes to this property will trigger replacement. String
The initial size of warehouse to use for managed warehouses in the absence of history. For more information, see USERTASKMANAGEDINITIALWAREHOUSE_SIZE.
userTaskMinimumTriggerIntervalInSeconds Changes to this property will trigger replacement. Number
Minimum amount of time between Triggered Task executions in seconds.
userTaskTimeoutMs Changes to this property will trigger replacement. Number
User task execution timeout in milliseconds. For more information, see USERTASKTIMEOUT_MS.

Package Details

Repository
Snowflake pulumi/pulumi-snowflake
License
Apache-2.0
Notes
This Pulumi package is based on the snowflake Terraform Provider.