Skip to content

Latest commit

 

History

History
2080 lines (1301 loc) · 109 KB

secondaryDatabase.java.md

File metadata and controls

2080 lines (1301 loc) · 109 KB

secondaryDatabase Submodule

Constructs

SecondaryDatabase

Represents a {@link https://registry.terraform.io/providers/snowflake-labs/snowflake/0.99.0/docs/resources/secondary_database snowflake_secondary_database}.

Initializers

import com.hashicorp.cdktf.providers.snowflake.secondary_database.SecondaryDatabase;

SecondaryDatabase.Builder.create(Construct scope, java.lang.String id)
//  .connection(SSHProvisionerConnection)
//  .connection(WinrmProvisionerConnection)
//  .count(java.lang.Number)
//  .count(TerraformCount)
//  .dependsOn(java.util.List<ITerraformDependable>)
//  .forEach(ITerraformIterator)
//  .lifecycle(TerraformResourceLifecycle)
//  .provider(TerraformProvider)
//  .provisioners(java.util.List<FileProvisioner)
//  .provisioners(LocalExecProvisioner)
//  .provisioners(RemoteExecProvisioner>)
    .asReplicaOf(java.lang.String)
    .name(java.lang.String)
//  .catalog(java.lang.String)
//  .comment(java.lang.String)
//  .dataRetentionTimeInDays(java.lang.Number)
//  .defaultDdlCollation(java.lang.String)
//  .enableConsoleOutput(java.lang.Boolean)
//  .enableConsoleOutput(IResolvable)
//  .externalVolume(java.lang.String)
//  .id(java.lang.String)
//  .isTransient(java.lang.Boolean)
//  .isTransient(IResolvable)
//  .logLevel(java.lang.String)
//  .maxDataExtensionTimeInDays(java.lang.Number)
//  .quotedIdentifiersIgnoreCase(java.lang.Boolean)
//  .quotedIdentifiersIgnoreCase(IResolvable)
//  .replaceInvalidCharacters(java.lang.Boolean)
//  .replaceInvalidCharacters(IResolvable)
//  .storageSerializationPolicy(java.lang.String)
//  .suspendTaskAfterNumFailures(java.lang.Number)
//  .taskAutoRetryAttempts(java.lang.Number)
//  .traceLevel(java.lang.String)
//  .userTaskManagedInitialWarehouseSize(java.lang.String)
//  .userTaskMinimumTriggerIntervalInSeconds(java.lang.Number)
//  .userTaskTimeoutMs(java.lang.Number)
    .build();
Name Type Description
scope software.constructs.Construct The scope in which to define this construct.
id java.lang.String The scoped construct ID.
connection com.hashicorp.cdktf.SSHProvisionerConnection OR com.hashicorp.cdktf.WinrmProvisionerConnection No description.
count java.lang.Number OR com.hashicorp.cdktf.TerraformCount No description.
dependsOn java.util.List<com.hashicorp.cdktf.ITerraformDependable> No description.
forEach com.hashicorp.cdktf.ITerraformIterator No description.
lifecycle com.hashicorp.cdktf.TerraformResourceLifecycle No description.
provider com.hashicorp.cdktf.TerraformProvider No description.
provisioners java.util.List<com.hashicorp.cdktf.FileProvisioner OR com.hashicorp.cdktf.LocalExecProvisioner OR com.hashicorp.cdktf.RemoteExecProvisioner> No description.
asReplicaOf java.lang.String A fully qualified path to a database to create a replica from.
name java.lang.String Specifies the identifier for the database;
catalog java.lang.String The database parameter that specifies the default catalog to use for Iceberg tables. For more information, see CATALOG.
comment java.lang.String Specifies a comment for the database.
dataRetentionTimeInDays java.lang.Number Specifies the number of days for which Time Travel actions (CLONE and UNDROP) can be performed on the database, as well as specifying the default Time Travel retention time for all schemas created in the database.
defaultDdlCollation java.lang.String Specifies a default collation specification for all schemas and tables added to the database.
enableConsoleOutput java.lang.Boolean OR com.hashicorp.cdktf.IResolvable If true, enables stdout/stderr fast path logging for anonymous stored procedures.
externalVolume java.lang.String The database parameter that specifies the default external volume to use for Iceberg tables. For more information, see EXTERNAL_VOLUME.
id java.lang.String Docs at Terraform Registry: {@link https://registry.terraform.io/providers/snowflake-labs/snowflake/0.99.0/docs/resources/secondary_database#id SecondaryDatabase#id}.
isTransient java.lang.Boolean OR com.hashicorp.cdktf.IResolvable Specifies the database as transient.
logLevel java.lang.String Specifies the severity level of messages that should be ingested and made available in the active event table.
maxDataExtensionTimeInDays java.lang.Number Object parameter that specifies the maximum number of days for which Snowflake can extend the data retention period for tables in the database to prevent streams on the tables from becoming stale.
quotedIdentifiersIgnoreCase java.lang.Boolean OR com.hashicorp.cdktf.IResolvable If true, the case of quoted identifiers is ignored. For more information, see QUOTED_IDENTIFIERS_IGNORE_CASE.
replaceInvalidCharacters java.lang.Boolean OR com.hashicorp.cdktf.IResolvable Specifies whether to replace invalid UTF-8 characters with the Unicode replacement character (�) in query results for an Iceberg table.
storageSerializationPolicy java.lang.String The storage serialization policy for Iceberg tables that use Snowflake as the catalog.
suspendTaskAfterNumFailures java.lang.Number How many times a task must fail in a row before it is automatically suspended.
taskAutoRetryAttempts java.lang.Number Maximum automatic retries allowed for a user task. For more information, see TASK_AUTO_RETRY_ATTEMPTS.
traceLevel java.lang.String Controls how trace events are ingested into the event table.
userTaskManagedInitialWarehouseSize java.lang.String The initial size of warehouse to use for managed warehouses in the absence of history.
userTaskMinimumTriggerIntervalInSeconds java.lang.Number Minimum amount of time between Triggered Task executions in seconds.
userTaskTimeoutMs java.lang.Number User task execution timeout in milliseconds. For more information, see USER_TASK_TIMEOUT_MS.

scopeRequired
  • Type: software.constructs.Construct

The scope in which to define this construct.


idRequired
  • Type: java.lang.String

The scoped construct ID.

Must be unique amongst siblings in the same scope


connectionOptional
  • Type: com.hashicorp.cdktf.SSHProvisionerConnection OR com.hashicorp.cdktf.WinrmProvisionerConnection

countOptional
  • Type: java.lang.Number OR com.hashicorp.cdktf.TerraformCount

dependsOnOptional
  • Type: java.util.List<com.hashicorp.cdktf.ITerraformDependable>

forEachOptional
  • Type: com.hashicorp.cdktf.ITerraformIterator

lifecycleOptional
  • Type: com.hashicorp.cdktf.TerraformResourceLifecycle

providerOptional
  • Type: com.hashicorp.cdktf.TerraformProvider

provisionersOptional
  • Type: java.util.List<com.hashicorp.cdktf.FileProvisioner OR com.hashicorp.cdktf.LocalExecProvisioner OR com.hashicorp.cdktf.RemoteExecProvisioner>

asReplicaOfRequired
  • Type: java.lang.String

A fully qualified path to a database to create a replica from.

A fully qualified path follows the format of "<organization_name>"."<account_name>"."<database_name>".

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/snowflake-labs/snowflake/0.99.0/docs/resources/secondary_database#as_replica_of SecondaryDatabase#as_replica_of}


nameRequired
  • Type: java.lang.String

Specifies the identifier for the database;

must be unique for your account. As a best practice for Database Replication and Failover, it is recommended to give each secondary database the same name as its primary database. This practice supports referencing fully-qualified objects (i.e. '..') by other objects in the same database, such as querying a fully-qualified table name in a view. If a secondary database has a different name from the primary database, then these object references would break in the secondary database. Due to technical limitations (read more here), avoid using the following characters: |, ., "

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/snowflake-labs/snowflake/0.99.0/docs/resources/secondary_database#name SecondaryDatabase#name}


catalogOptional
  • Type: java.lang.String

The database parameter that specifies the default catalog to use for Iceberg tables. For more information, see CATALOG.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/snowflake-labs/snowflake/0.99.0/docs/resources/secondary_database#catalog SecondaryDatabase#catalog}


commentOptional
  • Type: java.lang.String

Specifies a comment for the database.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/snowflake-labs/snowflake/0.99.0/docs/resources/secondary_database#comment SecondaryDatabase#comment}


dataRetentionTimeInDaysOptional
  • Type: java.lang.Number

Specifies the number of days for which Time Travel actions (CLONE and UNDROP) can be performed on the database, as well as specifying the default Time Travel retention time for all schemas created in the database.

For more details, see Understanding & Using Time Travel.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/snowflake-labs/snowflake/0.99.0/docs/resources/secondary_database#data_retention_time_in_days SecondaryDatabase#data_retention_time_in_days}


defaultDdlCollationOptional
  • Type: java.lang.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.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/snowflake-labs/snowflake/0.99.0/docs/resources/secondary_database#default_ddl_collation SecondaryDatabase#default_ddl_collation}


enableConsoleOutputOptional
  • Type: java.lang.Boolean OR com.hashicorp.cdktf.IResolvable

If true, enables stdout/stderr fast path logging for anonymous stored procedures.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/snowflake-labs/snowflake/0.99.0/docs/resources/secondary_database#enable_console_output SecondaryDatabase#enable_console_output}


externalVolumeOptional
  • Type: java.lang.String

The database parameter that specifies the default external volume to use for Iceberg tables. For more information, see EXTERNAL_VOLUME.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/snowflake-labs/snowflake/0.99.0/docs/resources/secondary_database#external_volume SecondaryDatabase#external_volume}


idOptional
  • Type: java.lang.String

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/snowflake-labs/snowflake/0.99.0/docs/resources/secondary_database#id SecondaryDatabase#id}.

Please be aware that the id field is automatically added to all resources in Terraform providers using a Terraform provider SDK version below 2. If you experience problems setting this value it might not be settable. Please take a look at the provider documentation to ensure it should be settable.


isTransientOptional
  • Type: java.lang.Boolean OR com.hashicorp.cdktf.IResolvable

Specifies the database as transient.

Transient databases do not have a Fail-safe period so they do not incur additional storage costs once they leave Time Travel; however, this means they are also not protected by Fail-safe in the event of a data loss.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/snowflake-labs/snowflake/0.99.0/docs/resources/secondary_database#is_transient SecondaryDatabase#is_transient}


logLevelOptional
  • Type: java.lang.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.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/snowflake-labs/snowflake/0.99.0/docs/resources/secondary_database#log_level SecondaryDatabase#log_level}


maxDataExtensionTimeInDaysOptional
  • Type: java.lang.Number

Object parameter that specifies the maximum number of days for which Snowflake can extend the data retention period for tables in the database to prevent streams on the tables from becoming stale.

For a detailed description of this parameter, see MAX_DATA_EXTENSION_TIME_IN_DAYS.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/snowflake-labs/snowflake/0.99.0/docs/resources/secondary_database#max_data_extension_time_in_days SecondaryDatabase#max_data_extension_time_in_days}


quotedIdentifiersIgnoreCaseOptional
  • Type: java.lang.Boolean OR com.hashicorp.cdktf.IResolvable

If true, the case of quoted identifiers is ignored. For more information, see QUOTED_IDENTIFIERS_IGNORE_CASE.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/snowflake-labs/snowflake/0.99.0/docs/resources/secondary_database#quoted_identifiers_ignore_case SecondaryDatabase#quoted_identifiers_ignore_case}


replaceInvalidCharactersOptional
  • Type: java.lang.Boolean OR com.hashicorp.cdktf.IResolvable

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 REPLACE_INVALID_CHARACTERS.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/snowflake-labs/snowflake/0.99.0/docs/resources/secondary_database#replace_invalid_characters SecondaryDatabase#replace_invalid_characters}


storageSerializationPolicyOptional
  • Type: java.lang.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 STORAGE_SERIALIZATION_POLICY.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/snowflake-labs/snowflake/0.99.0/docs/resources/secondary_database#storage_serialization_policy SecondaryDatabase#storage_serialization_policy}


suspendTaskAfterNumFailuresOptional
  • Type: java.lang.Number

How many times a task must fail in a row before it is automatically suspended.

0 disables auto-suspending. For more information, see SUSPEND_TASK_AFTER_NUM_FAILURES.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/snowflake-labs/snowflake/0.99.0/docs/resources/secondary_database#suspend_task_after_num_failures SecondaryDatabase#suspend_task_after_num_failures}


taskAutoRetryAttemptsOptional
  • Type: java.lang.Number

Maximum automatic retries allowed for a user task. For more information, see TASK_AUTO_RETRY_ATTEMPTS.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/snowflake-labs/snowflake/0.99.0/docs/resources/secondary_database#task_auto_retry_attempts SecondaryDatabase#task_auto_retry_attempts}


traceLevelOptional
  • Type: java.lang.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.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/snowflake-labs/snowflake/0.99.0/docs/resources/secondary_database#trace_level SecondaryDatabase#trace_level}


userTaskManagedInitialWarehouseSizeOptional
  • Type: java.lang.String

The initial size of warehouse to use for managed warehouses in the absence of history.

For more information, see USER_TASK_MANAGED_INITIAL_WAREHOUSE_SIZE.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/snowflake-labs/snowflake/0.99.0/docs/resources/secondary_database#user_task_managed_initial_warehouse_size SecondaryDatabase#user_task_managed_initial_warehouse_size}


userTaskMinimumTriggerIntervalInSecondsOptional
  • Type: java.lang.Number

Minimum amount of time between Triggered Task executions in seconds.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/snowflake-labs/snowflake/0.99.0/docs/resources/secondary_database#user_task_minimum_trigger_interval_in_seconds SecondaryDatabase#user_task_minimum_trigger_interval_in_seconds}


userTaskTimeoutMsOptional
  • Type: java.lang.Number

User task execution timeout in milliseconds. For more information, see USER_TASK_TIMEOUT_MS.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/snowflake-labs/snowflake/0.99.0/docs/resources/secondary_database#user_task_timeout_ms SecondaryDatabase#user_task_timeout_ms}


Methods

Name Description
toString Returns a string representation of this construct.
addOverride No description.
overrideLogicalId Overrides the auto-generated logical ID with a specific ID.
resetOverrideLogicalId Resets a previously passed logical Id to use the auto-generated logical id again.
toHclTerraform No description.
toMetadata No description.
toTerraform Adds this resource to the terraform JSON output.
addMoveTarget Adds a user defined moveTarget string to this resource to be later used in .moveTo(moveTarget) to resolve the location of the move.
getAnyMapAttribute No description.
getBooleanAttribute No description.
getBooleanMapAttribute No description.
getListAttribute No description.
getNumberAttribute No description.
getNumberListAttribute No description.
getNumberMapAttribute No description.
getStringAttribute No description.
getStringMapAttribute No description.
hasResourceMove No description.
importFrom No description.
interpolationForAttribute No description.
moveFromId Move the resource corresponding to "id" to this resource.
moveTo Moves this resource to the target resource given by moveTarget.
moveToId Moves this resource to the resource corresponding to "id".
resetCatalog No description.
resetComment No description.
resetDataRetentionTimeInDays No description.
resetDefaultDdlCollation No description.
resetEnableConsoleOutput No description.
resetExternalVolume No description.
resetId No description.
resetIsTransient No description.
resetLogLevel No description.
resetMaxDataExtensionTimeInDays No description.
resetQuotedIdentifiersIgnoreCase No description.
resetReplaceInvalidCharacters No description.
resetStorageSerializationPolicy No description.
resetSuspendTaskAfterNumFailures No description.
resetTaskAutoRetryAttempts No description.
resetTraceLevel No description.
resetUserTaskManagedInitialWarehouseSize No description.
resetUserTaskMinimumTriggerIntervalInSeconds No description.
resetUserTaskTimeoutMs No description.

toString
public java.lang.String toString()

Returns a string representation of this construct.

addOverride
public void addOverride(java.lang.String path, java.lang.Object value)
pathRequired
  • Type: java.lang.String

valueRequired
  • Type: java.lang.Object

overrideLogicalId
public void overrideLogicalId(java.lang.String newLogicalId)

Overrides the auto-generated logical ID with a specific ID.

newLogicalIdRequired
  • Type: java.lang.String

The new logical ID to use for this stack element.


resetOverrideLogicalId
public void resetOverrideLogicalId()

Resets a previously passed logical Id to use the auto-generated logical id again.

toHclTerraform
public java.lang.Object toHclTerraform()
toMetadata
public java.lang.Object toMetadata()
toTerraform
public java.lang.Object toTerraform()

Adds this resource to the terraform JSON output.

addMoveTarget
public void addMoveTarget(java.lang.String moveTarget)

Adds a user defined moveTarget string to this resource to be later used in .moveTo(moveTarget) to resolve the location of the move.

moveTargetRequired
  • Type: java.lang.String

The string move target that will correspond to this resource.


getAnyMapAttribute
public java.util.Map<java.lang.String, java.lang.Object> getAnyMapAttribute(java.lang.String terraformAttribute)
terraformAttributeRequired
  • Type: java.lang.String

getBooleanAttribute
public IResolvable getBooleanAttribute(java.lang.String terraformAttribute)
terraformAttributeRequired
  • Type: java.lang.String

getBooleanMapAttribute
public java.util.Map<java.lang.String, java.lang.Boolean> getBooleanMapAttribute(java.lang.String terraformAttribute)
terraformAttributeRequired
  • Type: java.lang.String

getListAttribute
public java.util.List<java.lang.String> getListAttribute(java.lang.String terraformAttribute)
terraformAttributeRequired
  • Type: java.lang.String

getNumberAttribute
public java.lang.Number getNumberAttribute(java.lang.String terraformAttribute)
terraformAttributeRequired
  • Type: java.lang.String

getNumberListAttribute
public java.util.List<java.lang.Number> getNumberListAttribute(java.lang.String terraformAttribute)
terraformAttributeRequired
  • Type: java.lang.String

getNumberMapAttribute
public java.util.Map<java.lang.String, java.lang.Number> getNumberMapAttribute(java.lang.String terraformAttribute)
terraformAttributeRequired
  • Type: java.lang.String

getStringAttribute
public java.lang.String getStringAttribute(java.lang.String terraformAttribute)
terraformAttributeRequired
  • Type: java.lang.String

getStringMapAttribute
public java.util.Map<java.lang.String, java.lang.String> getStringMapAttribute(java.lang.String terraformAttribute)
terraformAttributeRequired
  • Type: java.lang.String

hasResourceMove
public TerraformResourceMoveByTarget OR TerraformResourceMoveById hasResourceMove()
importFrom
public void importFrom(java.lang.String id)
public void importFrom(java.lang.String id, TerraformProvider provider)
idRequired
  • Type: java.lang.String

providerOptional
  • Type: com.hashicorp.cdktf.TerraformProvider

interpolationForAttribute
public IResolvable interpolationForAttribute(java.lang.String terraformAttribute)
terraformAttributeRequired
  • Type: java.lang.String

moveFromId
public void moveFromId(java.lang.String id)

Move the resource corresponding to "id" to this resource.

Note that the resource being moved from must be marked as moved using it's instance function.

idRequired
  • Type: java.lang.String

Full id of resource being moved from, e.g. "aws_s3_bucket.example".


moveTo
public void moveTo(java.lang.String moveTarget)
public void moveTo(java.lang.String moveTarget, java.lang.String OR java.lang.Number index)

Moves this resource to the target resource given by moveTarget.

moveTargetRequired
  • Type: java.lang.String

The previously set user defined string set by .addMoveTarget() corresponding to the resource to move to.


indexOptional
  • Type: java.lang.String OR java.lang.Number

Optional The index corresponding to the key the resource is to appear in the foreach of a resource to move to.


moveToId
public void moveToId(java.lang.String id)

Moves this resource to the resource corresponding to "id".

idRequired
  • Type: java.lang.String

Full id of resource to move to, e.g. "aws_s3_bucket.example".


resetCatalog
public void resetCatalog()
resetComment
public void resetComment()
resetDataRetentionTimeInDays
public void resetDataRetentionTimeInDays()
resetDefaultDdlCollation
public void resetDefaultDdlCollation()
resetEnableConsoleOutput
public void resetEnableConsoleOutput()
resetExternalVolume
public void resetExternalVolume()
resetId
public void resetId()
resetIsTransient
public void resetIsTransient()
resetLogLevel
public void resetLogLevel()
resetMaxDataExtensionTimeInDays
public void resetMaxDataExtensionTimeInDays()
resetQuotedIdentifiersIgnoreCase
public void resetQuotedIdentifiersIgnoreCase()
resetReplaceInvalidCharacters
public void resetReplaceInvalidCharacters()
resetStorageSerializationPolicy
public void resetStorageSerializationPolicy()
resetSuspendTaskAfterNumFailures
public void resetSuspendTaskAfterNumFailures()
resetTaskAutoRetryAttempts
public void resetTaskAutoRetryAttempts()
resetTraceLevel
public void resetTraceLevel()
resetUserTaskManagedInitialWarehouseSize
public void resetUserTaskManagedInitialWarehouseSize()
resetUserTaskMinimumTriggerIntervalInSeconds
public void resetUserTaskMinimumTriggerIntervalInSeconds()
resetUserTaskTimeoutMs
public void resetUserTaskTimeoutMs()

Static Functions

Name Description
isConstruct Checks if x is a construct.
isTerraformElement No description.
isTerraformResource No description.
generateConfigForImport Generates CDKTF code for importing a SecondaryDatabase resource upon running "cdktf plan ".

isConstruct
import com.hashicorp.cdktf.providers.snowflake.secondary_database.SecondaryDatabase;

SecondaryDatabase.isConstruct(java.lang.Object x)

Checks if x is a construct.

Use this method instead of instanceof to properly detect Construct instances, even when the construct library is symlinked.

Explanation: in JavaScript, multiple copies of the constructs library on disk are seen as independent, completely different libraries. As a consequence, the class Construct in each copy of the constructs library is seen as a different class, and an instance of one class will not test as instanceof the other class. npm install will not create installations like this, but users may manually symlink construct libraries together or use a monorepo tool: in those cases, multiple copies of the constructs library can be accidentally installed, and instanceof will behave unpredictably. It is safest to avoid using instanceof, and using this type-testing method instead.

xRequired
  • Type: java.lang.Object

Any object.


isTerraformElement
import com.hashicorp.cdktf.providers.snowflake.secondary_database.SecondaryDatabase;

SecondaryDatabase.isTerraformElement(java.lang.Object x)
xRequired
  • Type: java.lang.Object

isTerraformResource
import com.hashicorp.cdktf.providers.snowflake.secondary_database.SecondaryDatabase;

SecondaryDatabase.isTerraformResource(java.lang.Object x)
xRequired
  • Type: java.lang.Object

generateConfigForImport
import com.hashicorp.cdktf.providers.snowflake.secondary_database.SecondaryDatabase;

SecondaryDatabase.generateConfigForImport(Construct scope, java.lang.String importToId, java.lang.String importFromId),SecondaryDatabase.generateConfigForImport(Construct scope, java.lang.String importToId, java.lang.String importFromId, TerraformProvider provider)

Generates CDKTF code for importing a SecondaryDatabase resource upon running "cdktf plan ".

scopeRequired
  • Type: software.constructs.Construct

The scope in which to define this construct.


importToIdRequired
  • Type: java.lang.String

The construct id used in the generated config for the SecondaryDatabase to import.


importFromIdRequired
  • Type: java.lang.String

The id of the existing SecondaryDatabase that should be imported.

Refer to the {@link https://registry.terraform.io/providers/snowflake-labs/snowflake/0.99.0/docs/resources/secondary_database#import import section} in the documentation of this resource for the id to use


providerOptional
  • Type: com.hashicorp.cdktf.TerraformProvider

? Optional instance of the provider where the SecondaryDatabase to import is found.


Properties

Name Type Description
node software.constructs.Node The tree node.
cdktfStack com.hashicorp.cdktf.TerraformStack No description.
fqn java.lang.String No description.
friendlyUniqueId java.lang.String No description.
terraformMetaArguments java.util.Map<java.lang.String, java.lang.Object> No description.
terraformResourceType java.lang.String No description.
terraformGeneratorMetadata com.hashicorp.cdktf.TerraformProviderGeneratorMetadata No description.
connection com.hashicorp.cdktf.SSHProvisionerConnection OR com.hashicorp.cdktf.WinrmProvisionerConnection No description.
count java.lang.Number OR com.hashicorp.cdktf.TerraformCount No description.
dependsOn java.util.List<java.lang.String> No description.
forEach com.hashicorp.cdktf.ITerraformIterator No description.
lifecycle com.hashicorp.cdktf.TerraformResourceLifecycle No description.
provider com.hashicorp.cdktf.TerraformProvider No description.
provisioners java.util.List<com.hashicorp.cdktf.FileProvisioner OR com.hashicorp.cdktf.LocalExecProvisioner OR com.hashicorp.cdktf.RemoteExecProvisioner> No description.
fullyQualifiedName java.lang.String No description.
asReplicaOfInput java.lang.String No description.
catalogInput java.lang.String No description.
commentInput java.lang.String No description.
dataRetentionTimeInDaysInput java.lang.Number No description.
defaultDdlCollationInput java.lang.String No description.
enableConsoleOutputInput java.lang.Boolean OR com.hashicorp.cdktf.IResolvable No description.
externalVolumeInput java.lang.String No description.
idInput java.lang.String No description.
isTransientInput java.lang.Boolean OR com.hashicorp.cdktf.IResolvable No description.
logLevelInput java.lang.String No description.
maxDataExtensionTimeInDaysInput java.lang.Number No description.
nameInput java.lang.String No description.
quotedIdentifiersIgnoreCaseInput java.lang.Boolean OR com.hashicorp.cdktf.IResolvable No description.
replaceInvalidCharactersInput java.lang.Boolean OR com.hashicorp.cdktf.IResolvable No description.
storageSerializationPolicyInput java.lang.String No description.
suspendTaskAfterNumFailuresInput java.lang.Number No description.
taskAutoRetryAttemptsInput java.lang.Number No description.
traceLevelInput java.lang.String No description.
userTaskManagedInitialWarehouseSizeInput java.lang.String No description.
userTaskMinimumTriggerIntervalInSecondsInput java.lang.Number No description.
userTaskTimeoutMsInput java.lang.Number No description.
asReplicaOf java.lang.String No description.
catalog java.lang.String No description.
comment java.lang.String No description.
dataRetentionTimeInDays java.lang.Number No description.
defaultDdlCollation java.lang.String No description.
enableConsoleOutput java.lang.Boolean OR com.hashicorp.cdktf.IResolvable No description.
externalVolume java.lang.String No description.
id java.lang.String No description.
isTransient java.lang.Boolean OR com.hashicorp.cdktf.IResolvable No description.
logLevel java.lang.String No description.
maxDataExtensionTimeInDays java.lang.Number No description.
name java.lang.String No description.
quotedIdentifiersIgnoreCase java.lang.Boolean OR com.hashicorp.cdktf.IResolvable No description.
replaceInvalidCharacters java.lang.Boolean OR com.hashicorp.cdktf.IResolvable No description.
storageSerializationPolicy java.lang.String No description.
suspendTaskAfterNumFailures java.lang.Number No description.
taskAutoRetryAttempts java.lang.Number No description.
traceLevel java.lang.String No description.
userTaskManagedInitialWarehouseSize java.lang.String No description.
userTaskMinimumTriggerIntervalInSeconds java.lang.Number No description.
userTaskTimeoutMs java.lang.Number No description.

nodeRequired
public Node getNode();
  • Type: software.constructs.Node

The tree node.


cdktfStackRequired
public TerraformStack getCdktfStack();
  • Type: com.hashicorp.cdktf.TerraformStack

fqnRequired
public java.lang.String getFqn();
  • Type: java.lang.String

friendlyUniqueIdRequired
public java.lang.String getFriendlyUniqueId();
  • Type: java.lang.String

terraformMetaArgumentsRequired
public java.util.Map<java.lang.String, java.lang.Object> getTerraformMetaArguments();
  • Type: java.util.Map<java.lang.String, java.lang.Object>

terraformResourceTypeRequired
public java.lang.String getTerraformResourceType();
  • Type: java.lang.String

terraformGeneratorMetadataOptional
public TerraformProviderGeneratorMetadata getTerraformGeneratorMetadata();
  • Type: com.hashicorp.cdktf.TerraformProviderGeneratorMetadata

connectionOptional
public java.lang.Object getConnection();
  • Type: com.hashicorp.cdktf.SSHProvisionerConnection OR com.hashicorp.cdktf.WinrmProvisionerConnection

countOptional
public java.lang.Object getCount();
  • Type: java.lang.Number OR com.hashicorp.cdktf.TerraformCount

dependsOnOptional
public java.util.List<java.lang.String> getDependsOn();
  • Type: java.util.List<java.lang.String>

forEachOptional
public ITerraformIterator getForEach();
  • Type: com.hashicorp.cdktf.ITerraformIterator

lifecycleOptional
public TerraformResourceLifecycle getLifecycle();
  • Type: com.hashicorp.cdktf.TerraformResourceLifecycle

providerOptional
public TerraformProvider getProvider();
  • Type: com.hashicorp.cdktf.TerraformProvider

provisionersOptional
public java.lang.Object getProvisioners();
  • Type: java.util.List<com.hashicorp.cdktf.FileProvisioner OR com.hashicorp.cdktf.LocalExecProvisioner OR com.hashicorp.cdktf.RemoteExecProvisioner>

fullyQualifiedNameRequired
public java.lang.String getFullyQualifiedName();
  • Type: java.lang.String

asReplicaOfInputOptional
public java.lang.String getAsReplicaOfInput();
  • Type: java.lang.String

catalogInputOptional
public java.lang.String getCatalogInput();
  • Type: java.lang.String

commentInputOptional
public java.lang.String getCommentInput();
  • Type: java.lang.String

dataRetentionTimeInDaysInputOptional
public java.lang.Number getDataRetentionTimeInDaysInput();
  • Type: java.lang.Number

defaultDdlCollationInputOptional
public java.lang.String getDefaultDdlCollationInput();
  • Type: java.lang.String

enableConsoleOutputInputOptional
public java.lang.Object getEnableConsoleOutputInput();
  • Type: java.lang.Boolean OR com.hashicorp.cdktf.IResolvable

externalVolumeInputOptional
public java.lang.String getExternalVolumeInput();
  • Type: java.lang.String

idInputOptional
public java.lang.String getIdInput();
  • Type: java.lang.String

isTransientInputOptional
public java.lang.Object getIsTransientInput();
  • Type: java.lang.Boolean OR com.hashicorp.cdktf.IResolvable

logLevelInputOptional
public java.lang.String getLogLevelInput();
  • Type: java.lang.String

maxDataExtensionTimeInDaysInputOptional
public java.lang.Number getMaxDataExtensionTimeInDaysInput();
  • Type: java.lang.Number

nameInputOptional
public java.lang.String getNameInput();
  • Type: java.lang.String

quotedIdentifiersIgnoreCaseInputOptional
public java.lang.Object getQuotedIdentifiersIgnoreCaseInput();
  • Type: java.lang.Boolean OR com.hashicorp.cdktf.IResolvable

replaceInvalidCharactersInputOptional
public java.lang.Object getReplaceInvalidCharactersInput();
  • Type: java.lang.Boolean OR com.hashicorp.cdktf.IResolvable

storageSerializationPolicyInputOptional
public java.lang.String getStorageSerializationPolicyInput();
  • Type: java.lang.String

suspendTaskAfterNumFailuresInputOptional
public java.lang.Number getSuspendTaskAfterNumFailuresInput();
  • Type: java.lang.Number

taskAutoRetryAttemptsInputOptional
public java.lang.Number getTaskAutoRetryAttemptsInput();
  • Type: java.lang.Number

traceLevelInputOptional
public java.lang.String getTraceLevelInput();
  • Type: java.lang.String

userTaskManagedInitialWarehouseSizeInputOptional
public java.lang.String getUserTaskManagedInitialWarehouseSizeInput();
  • Type: java.lang.String

userTaskMinimumTriggerIntervalInSecondsInputOptional
public java.lang.Number getUserTaskMinimumTriggerIntervalInSecondsInput();
  • Type: java.lang.Number

userTaskTimeoutMsInputOptional
public java.lang.Number getUserTaskTimeoutMsInput();
  • Type: java.lang.Number

asReplicaOfRequired
public java.lang.String getAsReplicaOf();
  • Type: java.lang.String

catalogRequired
public java.lang.String getCatalog();
  • Type: java.lang.String

commentRequired
public java.lang.String getComment();
  • Type: java.lang.String

dataRetentionTimeInDaysRequired
public java.lang.Number getDataRetentionTimeInDays();
  • Type: java.lang.Number

defaultDdlCollationRequired
public java.lang.String getDefaultDdlCollation();
  • Type: java.lang.String

enableConsoleOutputRequired
public java.lang.Object getEnableConsoleOutput();
  • Type: java.lang.Boolean OR com.hashicorp.cdktf.IResolvable

externalVolumeRequired
public java.lang.String getExternalVolume();
  • Type: java.lang.String

idRequired
public java.lang.String getId();
  • Type: java.lang.String

isTransientRequired
public java.lang.Object getIsTransient();
  • Type: java.lang.Boolean OR com.hashicorp.cdktf.IResolvable

logLevelRequired
public java.lang.String getLogLevel();
  • Type: java.lang.String

maxDataExtensionTimeInDaysRequired
public java.lang.Number getMaxDataExtensionTimeInDays();
  • Type: java.lang.Number

nameRequired
public java.lang.String getName();
  • Type: java.lang.String

quotedIdentifiersIgnoreCaseRequired
public java.lang.Object getQuotedIdentifiersIgnoreCase();
  • Type: java.lang.Boolean OR com.hashicorp.cdktf.IResolvable

replaceInvalidCharactersRequired
public java.lang.Object getReplaceInvalidCharacters();
  • Type: java.lang.Boolean OR com.hashicorp.cdktf.IResolvable

storageSerializationPolicyRequired
public java.lang.String getStorageSerializationPolicy();
  • Type: java.lang.String

suspendTaskAfterNumFailuresRequired
public java.lang.Number getSuspendTaskAfterNumFailures();
  • Type: java.lang.Number

taskAutoRetryAttemptsRequired
public java.lang.Number getTaskAutoRetryAttempts();
  • Type: java.lang.Number

traceLevelRequired
public java.lang.String getTraceLevel();
  • Type: java.lang.String

userTaskManagedInitialWarehouseSizeRequired
public java.lang.String getUserTaskManagedInitialWarehouseSize();
  • Type: java.lang.String

userTaskMinimumTriggerIntervalInSecondsRequired
public java.lang.Number getUserTaskMinimumTriggerIntervalInSeconds();
  • Type: java.lang.Number

userTaskTimeoutMsRequired
public java.lang.Number getUserTaskTimeoutMs();
  • Type: java.lang.Number

Constants

Name Type Description
tfResourceType java.lang.String No description.

tfResourceTypeRequired
public java.lang.String getTfResourceType();
  • Type: java.lang.String

Structs

SecondaryDatabaseConfig

Initializer

import com.hashicorp.cdktf.providers.snowflake.secondary_database.SecondaryDatabaseConfig;

SecondaryDatabaseConfig.builder()
//  .connection(SSHProvisionerConnection)
//  .connection(WinrmProvisionerConnection)
//  .count(java.lang.Number)
//  .count(TerraformCount)
//  .dependsOn(java.util.List<ITerraformDependable>)
//  .forEach(ITerraformIterator)
//  .lifecycle(TerraformResourceLifecycle)
//  .provider(TerraformProvider)
//  .provisioners(java.util.List<FileProvisioner)
//  .provisioners(LocalExecProvisioner)
//  .provisioners(RemoteExecProvisioner>)
    .asReplicaOf(java.lang.String)
    .name(java.lang.String)
//  .catalog(java.lang.String)
//  .comment(java.lang.String)
//  .dataRetentionTimeInDays(java.lang.Number)
//  .defaultDdlCollation(java.lang.String)
//  .enableConsoleOutput(java.lang.Boolean)
//  .enableConsoleOutput(IResolvable)
//  .externalVolume(java.lang.String)
//  .id(java.lang.String)
//  .isTransient(java.lang.Boolean)
//  .isTransient(IResolvable)
//  .logLevel(java.lang.String)
//  .maxDataExtensionTimeInDays(java.lang.Number)
//  .quotedIdentifiersIgnoreCase(java.lang.Boolean)
//  .quotedIdentifiersIgnoreCase(IResolvable)
//  .replaceInvalidCharacters(java.lang.Boolean)
//  .replaceInvalidCharacters(IResolvable)
//  .storageSerializationPolicy(java.lang.String)
//  .suspendTaskAfterNumFailures(java.lang.Number)
//  .taskAutoRetryAttempts(java.lang.Number)
//  .traceLevel(java.lang.String)
//  .userTaskManagedInitialWarehouseSize(java.lang.String)
//  .userTaskMinimumTriggerIntervalInSeconds(java.lang.Number)
//  .userTaskTimeoutMs(java.lang.Number)
    .build();

Properties

Name Type Description
connection com.hashicorp.cdktf.SSHProvisionerConnection OR com.hashicorp.cdktf.WinrmProvisionerConnection No description.
count java.lang.Number OR com.hashicorp.cdktf.TerraformCount No description.
dependsOn java.util.List<com.hashicorp.cdktf.ITerraformDependable> No description.
forEach com.hashicorp.cdktf.ITerraformIterator No description.
lifecycle com.hashicorp.cdktf.TerraformResourceLifecycle No description.
provider com.hashicorp.cdktf.TerraformProvider No description.
provisioners java.util.List<com.hashicorp.cdktf.FileProvisioner OR com.hashicorp.cdktf.LocalExecProvisioner OR com.hashicorp.cdktf.RemoteExecProvisioner> No description.
asReplicaOf java.lang.String A fully qualified path to a database to create a replica from.
name java.lang.String Specifies the identifier for the database;
catalog java.lang.String The database parameter that specifies the default catalog to use for Iceberg tables. For more information, see CATALOG.
comment java.lang.String Specifies a comment for the database.
dataRetentionTimeInDays java.lang.Number Specifies the number of days for which Time Travel actions (CLONE and UNDROP) can be performed on the database, as well as specifying the default Time Travel retention time for all schemas created in the database.
defaultDdlCollation java.lang.String Specifies a default collation specification for all schemas and tables added to the database.
enableConsoleOutput java.lang.Boolean OR com.hashicorp.cdktf.IResolvable If true, enables stdout/stderr fast path logging for anonymous stored procedures.
externalVolume java.lang.String The database parameter that specifies the default external volume to use for Iceberg tables. For more information, see EXTERNAL_VOLUME.
id java.lang.String Docs at Terraform Registry: {@link https://registry.terraform.io/providers/snowflake-labs/snowflake/0.99.0/docs/resources/secondary_database#id SecondaryDatabase#id}.
isTransient java.lang.Boolean OR com.hashicorp.cdktf.IResolvable Specifies the database as transient.
logLevel java.lang.String Specifies the severity level of messages that should be ingested and made available in the active event table.
maxDataExtensionTimeInDays java.lang.Number Object parameter that specifies the maximum number of days for which Snowflake can extend the data retention period for tables in the database to prevent streams on the tables from becoming stale.
quotedIdentifiersIgnoreCase java.lang.Boolean OR com.hashicorp.cdktf.IResolvable If true, the case of quoted identifiers is ignored. For more information, see QUOTED_IDENTIFIERS_IGNORE_CASE.
replaceInvalidCharacters java.lang.Boolean OR com.hashicorp.cdktf.IResolvable Specifies whether to replace invalid UTF-8 characters with the Unicode replacement character (�) in query results for an Iceberg table.
storageSerializationPolicy java.lang.String The storage serialization policy for Iceberg tables that use Snowflake as the catalog.
suspendTaskAfterNumFailures java.lang.Number How many times a task must fail in a row before it is automatically suspended.
taskAutoRetryAttempts java.lang.Number Maximum automatic retries allowed for a user task. For more information, see TASK_AUTO_RETRY_ATTEMPTS.
traceLevel java.lang.String Controls how trace events are ingested into the event table.
userTaskManagedInitialWarehouseSize java.lang.String The initial size of warehouse to use for managed warehouses in the absence of history.
userTaskMinimumTriggerIntervalInSeconds java.lang.Number Minimum amount of time between Triggered Task executions in seconds.
userTaskTimeoutMs java.lang.Number User task execution timeout in milliseconds. For more information, see USER_TASK_TIMEOUT_MS.

connectionOptional
public java.lang.Object getConnection();
  • Type: com.hashicorp.cdktf.SSHProvisionerConnection OR com.hashicorp.cdktf.WinrmProvisionerConnection

countOptional
public java.lang.Object getCount();
  • Type: java.lang.Number OR com.hashicorp.cdktf.TerraformCount

dependsOnOptional
public java.util.List<ITerraformDependable> getDependsOn();
  • Type: java.util.List<com.hashicorp.cdktf.ITerraformDependable>

forEachOptional
public ITerraformIterator getForEach();
  • Type: com.hashicorp.cdktf.ITerraformIterator

lifecycleOptional
public TerraformResourceLifecycle getLifecycle();
  • Type: com.hashicorp.cdktf.TerraformResourceLifecycle

providerOptional
public TerraformProvider getProvider();
  • Type: com.hashicorp.cdktf.TerraformProvider

provisionersOptional
public java.lang.Object getProvisioners();
  • Type: java.util.List<com.hashicorp.cdktf.FileProvisioner OR com.hashicorp.cdktf.LocalExecProvisioner OR com.hashicorp.cdktf.RemoteExecProvisioner>

asReplicaOfRequired
public java.lang.String getAsReplicaOf();
  • Type: java.lang.String

A fully qualified path to a database to create a replica from.

A fully qualified path follows the format of "<organization_name>"."<account_name>"."<database_name>".

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/snowflake-labs/snowflake/0.99.0/docs/resources/secondary_database#as_replica_of SecondaryDatabase#as_replica_of}


nameRequired
public java.lang.String getName();
  • Type: java.lang.String

Specifies the identifier for the database;

must be unique for your account. As a best practice for Database Replication and Failover, it is recommended to give each secondary database the same name as its primary database. This practice supports referencing fully-qualified objects (i.e. '..') by other objects in the same database, such as querying a fully-qualified table name in a view. If a secondary database has a different name from the primary database, then these object references would break in the secondary database. Due to technical limitations (read more here), avoid using the following characters: |, ., "

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/snowflake-labs/snowflake/0.99.0/docs/resources/secondary_database#name SecondaryDatabase#name}


catalogOptional
public java.lang.String getCatalog();
  • Type: java.lang.String

The database parameter that specifies the default catalog to use for Iceberg tables. For more information, see CATALOG.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/snowflake-labs/snowflake/0.99.0/docs/resources/secondary_database#catalog SecondaryDatabase#catalog}


commentOptional
public java.lang.String getComment();
  • Type: java.lang.String

Specifies a comment for the database.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/snowflake-labs/snowflake/0.99.0/docs/resources/secondary_database#comment SecondaryDatabase#comment}


dataRetentionTimeInDaysOptional
public java.lang.Number getDataRetentionTimeInDays();
  • Type: java.lang.Number

Specifies the number of days for which Time Travel actions (CLONE and UNDROP) can be performed on the database, as well as specifying the default Time Travel retention time for all schemas created in the database.

For more details, see Understanding & Using Time Travel.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/snowflake-labs/snowflake/0.99.0/docs/resources/secondary_database#data_retention_time_in_days SecondaryDatabase#data_retention_time_in_days}


defaultDdlCollationOptional
public java.lang.String getDefaultDdlCollation();
  • Type: java.lang.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.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/snowflake-labs/snowflake/0.99.0/docs/resources/secondary_database#default_ddl_collation SecondaryDatabase#default_ddl_collation}


enableConsoleOutputOptional
public java.lang.Object getEnableConsoleOutput();
  • Type: java.lang.Boolean OR com.hashicorp.cdktf.IResolvable

If true, enables stdout/stderr fast path logging for anonymous stored procedures.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/snowflake-labs/snowflake/0.99.0/docs/resources/secondary_database#enable_console_output SecondaryDatabase#enable_console_output}


externalVolumeOptional
public java.lang.String getExternalVolume();
  • Type: java.lang.String

The database parameter that specifies the default external volume to use for Iceberg tables. For more information, see EXTERNAL_VOLUME.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/snowflake-labs/snowflake/0.99.0/docs/resources/secondary_database#external_volume SecondaryDatabase#external_volume}


idOptional
public java.lang.String getId();
  • Type: java.lang.String

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/snowflake-labs/snowflake/0.99.0/docs/resources/secondary_database#id SecondaryDatabase#id}.

Please be aware that the id field is automatically added to all resources in Terraform providers using a Terraform provider SDK version below 2. If you experience problems setting this value it might not be settable. Please take a look at the provider documentation to ensure it should be settable.


isTransientOptional
public java.lang.Object getIsTransient();
  • Type: java.lang.Boolean OR com.hashicorp.cdktf.IResolvable

Specifies the database as transient.

Transient databases do not have a Fail-safe period so they do not incur additional storage costs once they leave Time Travel; however, this means they are also not protected by Fail-safe in the event of a data loss.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/snowflake-labs/snowflake/0.99.0/docs/resources/secondary_database#is_transient SecondaryDatabase#is_transient}


logLevelOptional
public java.lang.String getLogLevel();
  • Type: java.lang.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.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/snowflake-labs/snowflake/0.99.0/docs/resources/secondary_database#log_level SecondaryDatabase#log_level}


maxDataExtensionTimeInDaysOptional
public java.lang.Number getMaxDataExtensionTimeInDays();
  • Type: java.lang.Number

Object parameter that specifies the maximum number of days for which Snowflake can extend the data retention period for tables in the database to prevent streams on the tables from becoming stale.

For a detailed description of this parameter, see MAX_DATA_EXTENSION_TIME_IN_DAYS.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/snowflake-labs/snowflake/0.99.0/docs/resources/secondary_database#max_data_extension_time_in_days SecondaryDatabase#max_data_extension_time_in_days}


quotedIdentifiersIgnoreCaseOptional
public java.lang.Object getQuotedIdentifiersIgnoreCase();
  • Type: java.lang.Boolean OR com.hashicorp.cdktf.IResolvable

If true, the case of quoted identifiers is ignored. For more information, see QUOTED_IDENTIFIERS_IGNORE_CASE.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/snowflake-labs/snowflake/0.99.0/docs/resources/secondary_database#quoted_identifiers_ignore_case SecondaryDatabase#quoted_identifiers_ignore_case}


replaceInvalidCharactersOptional
public java.lang.Object getReplaceInvalidCharacters();
  • Type: java.lang.Boolean OR com.hashicorp.cdktf.IResolvable

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 REPLACE_INVALID_CHARACTERS.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/snowflake-labs/snowflake/0.99.0/docs/resources/secondary_database#replace_invalid_characters SecondaryDatabase#replace_invalid_characters}


storageSerializationPolicyOptional
public java.lang.String getStorageSerializationPolicy();
  • Type: java.lang.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 STORAGE_SERIALIZATION_POLICY.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/snowflake-labs/snowflake/0.99.0/docs/resources/secondary_database#storage_serialization_policy SecondaryDatabase#storage_serialization_policy}


suspendTaskAfterNumFailuresOptional
public java.lang.Number getSuspendTaskAfterNumFailures();
  • Type: java.lang.Number

How many times a task must fail in a row before it is automatically suspended.

0 disables auto-suspending. For more information, see SUSPEND_TASK_AFTER_NUM_FAILURES.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/snowflake-labs/snowflake/0.99.0/docs/resources/secondary_database#suspend_task_after_num_failures SecondaryDatabase#suspend_task_after_num_failures}


taskAutoRetryAttemptsOptional
public java.lang.Number getTaskAutoRetryAttempts();
  • Type: java.lang.Number

Maximum automatic retries allowed for a user task. For more information, see TASK_AUTO_RETRY_ATTEMPTS.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/snowflake-labs/snowflake/0.99.0/docs/resources/secondary_database#task_auto_retry_attempts SecondaryDatabase#task_auto_retry_attempts}


traceLevelOptional
public java.lang.String getTraceLevel();
  • Type: java.lang.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.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/snowflake-labs/snowflake/0.99.0/docs/resources/secondary_database#trace_level SecondaryDatabase#trace_level}


userTaskManagedInitialWarehouseSizeOptional
public java.lang.String getUserTaskManagedInitialWarehouseSize();
  • Type: java.lang.String

The initial size of warehouse to use for managed warehouses in the absence of history.

For more information, see USER_TASK_MANAGED_INITIAL_WAREHOUSE_SIZE.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/snowflake-labs/snowflake/0.99.0/docs/resources/secondary_database#user_task_managed_initial_warehouse_size SecondaryDatabase#user_task_managed_initial_warehouse_size}


userTaskMinimumTriggerIntervalInSecondsOptional
public java.lang.Number getUserTaskMinimumTriggerIntervalInSeconds();
  • Type: java.lang.Number

Minimum amount of time between Triggered Task executions in seconds.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/snowflake-labs/snowflake/0.99.0/docs/resources/secondary_database#user_task_minimum_trigger_interval_in_seconds SecondaryDatabase#user_task_minimum_trigger_interval_in_seconds}


userTaskTimeoutMsOptional
public java.lang.Number getUserTaskTimeoutMs();
  • Type: java.lang.Number

User task execution timeout in milliseconds. For more information, see USER_TASK_TIMEOUT_MS.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/snowflake-labs/snowflake/0.99.0/docs/resources/secondary_database#user_task_timeout_ms SecondaryDatabase#user_task_timeout_ms}