Represents a {@link https://registry.terraform.io/providers/snowflake-labs/snowflake/1.0.3/docs/resources/database snowflake_database}.
import com.hashicorp.cdktf.providers.snowflake.database.Database;
Database.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>)
.name(java.lang.String)
// .catalog(java.lang.String)
// .comment(java.lang.String)
// .dataRetentionTimeInDays(java.lang.Number)
// .defaultDdlCollation(java.lang.String)
// .dropPublicSchemaOnCreation(java.lang.Boolean)
// .dropPublicSchemaOnCreation(IResolvable)
// .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)
// .replication(DatabaseReplication)
// .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. |
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. |
dropPublicSchemaOnCreation |
java.lang.Boolean OR com.hashicorp.cdktf.IResolvable |
Specifies whether to drop public schema on creation or not. |
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/1.0.3/docs/resources/database#id Database#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. |
replication |
DatabaseReplication |
replication block. |
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. |
- Type: software.constructs.Construct
The scope in which to define this construct.
- Type: java.lang.String
The scoped construct ID.
Must be unique amongst siblings in the same scope
- Type: com.hashicorp.cdktf.SSHProvisionerConnection OR com.hashicorp.cdktf.WinrmProvisionerConnection
- Type: java.lang.Number OR com.hashicorp.cdktf.TerraformCount
- Type: java.util.List<com.hashicorp.cdktf.ITerraformDependable>
- Type: com.hashicorp.cdktf.ITerraformIterator
- Type: com.hashicorp.cdktf.TerraformResourceLifecycle
- Type: com.hashicorp.cdktf.TerraformProvider
- Type: java.util.List<com.hashicorp.cdktf.FileProvisioner OR com.hashicorp.cdktf.LocalExecProvisioner OR com.hashicorp.cdktf.RemoteExecProvisioner>
- 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/1.0.3/docs/resources/database#name Database#name}
- 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/1.0.3/docs/resources/database#catalog Database#catalog}
- Type: java.lang.String
Specifies a comment for the database.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/snowflake-labs/snowflake/1.0.3/docs/resources/database#comment Database#comment}
- 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/1.0.3/docs/resources/database#data_retention_time_in_days Database#data_retention_time_in_days}
- 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/1.0.3/docs/resources/database#default_ddl_collation Database#default_ddl_collation}
- Type: java.lang.Boolean OR com.hashicorp.cdktf.IResolvable
Specifies whether to drop public schema on creation or not.
Modifying the parameter after database is already created won't have any effect.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/snowflake-labs/snowflake/1.0.3/docs/resources/database#drop_public_schema_on_creation Database#drop_public_schema_on_creation}
- 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/1.0.3/docs/resources/database#enable_console_output Database#enable_console_output}
- 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/1.0.3/docs/resources/database#external_volume Database#external_volume}
- Type: java.lang.String
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/snowflake-labs/snowflake/1.0.3/docs/resources/database#id Database#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.
- 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/1.0.3/docs/resources/database#is_transient Database#is_transient}
- 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/1.0.3/docs/resources/database#log_level Database#log_level}
- 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/1.0.3/docs/resources/database#max_data_extension_time_in_days Database#max_data_extension_time_in_days}
- 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/1.0.3/docs/resources/database#quoted_identifiers_ignore_case Database#quoted_identifiers_ignore_case}
- 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/1.0.3/docs/resources/database#replace_invalid_characters Database#replace_invalid_characters}
- Type: DatabaseReplication
replication block.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/snowflake-labs/snowflake/1.0.3/docs/resources/database#replication Database#replication}
- 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/1.0.3/docs/resources/database#storage_serialization_policy Database#storage_serialization_policy}
- 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/1.0.3/docs/resources/database#suspend_task_after_num_failures Database#suspend_task_after_num_failures}
- 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/1.0.3/docs/resources/database#task_auto_retry_attempts Database#task_auto_retry_attempts}
- 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/1.0.3/docs/resources/database#trace_level Database#trace_level}
- 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/1.0.3/docs/resources/database#user_task_managed_initial_warehouse_size Database#user_task_managed_initial_warehouse_size}
- 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/1.0.3/docs/resources/database#user_task_minimum_trigger_interval_in_seconds Database#user_task_minimum_trigger_interval_in_seconds}
- 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/1.0.3/docs/resources/database#user_task_timeout_ms Database#user_task_timeout_ms}
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". |
putReplication |
No description. |
resetCatalog |
No description. |
resetComment |
No description. |
resetDataRetentionTimeInDays |
No description. |
resetDefaultDdlCollation |
No description. |
resetDropPublicSchemaOnCreation |
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. |
resetReplication |
No description. |
resetStorageSerializationPolicy |
No description. |
resetSuspendTaskAfterNumFailures |
No description. |
resetTaskAutoRetryAttempts |
No description. |
resetTraceLevel |
No description. |
resetUserTaskManagedInitialWarehouseSize |
No description. |
resetUserTaskMinimumTriggerIntervalInSeconds |
No description. |
resetUserTaskTimeoutMs |
No description. |
public java.lang.String toString()
Returns a string representation of this construct.
public void addOverride(java.lang.String path, java.lang.Object value)
- Type: java.lang.String
- Type: java.lang.Object
public void overrideLogicalId(java.lang.String newLogicalId)
Overrides the auto-generated logical ID with a specific ID.
- Type: java.lang.String
The new logical ID to use for this stack element.
public void resetOverrideLogicalId()
Resets a previously passed logical Id to use the auto-generated logical id again.
public java.lang.Object toHclTerraform()
public java.lang.Object toMetadata()
public java.lang.Object toTerraform()
Adds this resource to the terraform JSON output.
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.
- Type: java.lang.String
The string move target that will correspond to this resource.
public java.util.Map<java.lang.String, java.lang.Object> getAnyMapAttribute(java.lang.String terraformAttribute)
- Type: java.lang.String
public IResolvable getBooleanAttribute(java.lang.String terraformAttribute)
- Type: java.lang.String
public java.util.Map<java.lang.String, java.lang.Boolean> getBooleanMapAttribute(java.lang.String terraformAttribute)
- Type: java.lang.String
public java.util.List<java.lang.String> getListAttribute(java.lang.String terraformAttribute)
- Type: java.lang.String
public java.lang.Number getNumberAttribute(java.lang.String terraformAttribute)
- Type: java.lang.String
public java.util.List<java.lang.Number> getNumberListAttribute(java.lang.String terraformAttribute)
- Type: java.lang.String
public java.util.Map<java.lang.String, java.lang.Number> getNumberMapAttribute(java.lang.String terraformAttribute)
- Type: java.lang.String
public java.lang.String getStringAttribute(java.lang.String terraformAttribute)
- Type: java.lang.String
public java.util.Map<java.lang.String, java.lang.String> getStringMapAttribute(java.lang.String terraformAttribute)
- Type: java.lang.String
public TerraformResourceMoveByTarget OR TerraformResourceMoveById hasResourceMove()
public void importFrom(java.lang.String id)
public void importFrom(java.lang.String id, TerraformProvider provider)
- Type: java.lang.String
- Type: com.hashicorp.cdktf.TerraformProvider
public IResolvable interpolationForAttribute(java.lang.String terraformAttribute)
- Type: java.lang.String
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.
- Type: java.lang.String
Full id of resource being moved from, e.g. "aws_s3_bucket.example".
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.
- Type: java.lang.String
The previously set user defined string set by .addMoveTarget() corresponding to the resource to move to.
- 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.
public void moveToId(java.lang.String id)
Moves this resource to the resource corresponding to "id".
- Type: java.lang.String
Full id of resource to move to, e.g. "aws_s3_bucket.example".
public void putReplication(DatabaseReplication value)
- Type: DatabaseReplication
public void resetCatalog()
public void resetComment()
public void resetDataRetentionTimeInDays()
public void resetDefaultDdlCollation()
public void resetDropPublicSchemaOnCreation()
public void resetEnableConsoleOutput()
public void resetExternalVolume()
public void resetId()
public void resetIsTransient()
public void resetLogLevel()
public void resetMaxDataExtensionTimeInDays()
public void resetQuotedIdentifiersIgnoreCase()
public void resetReplaceInvalidCharacters()
public void resetReplication()
public void resetStorageSerializationPolicy()
public void resetSuspendTaskAfterNumFailures()
public void resetTaskAutoRetryAttempts()
public void resetTraceLevel()
public void resetUserTaskManagedInitialWarehouseSize()
public void resetUserTaskMinimumTriggerIntervalInSeconds()
public void resetUserTaskTimeoutMs()
Name | Description |
---|---|
isConstruct |
Checks if x is a construct. |
isTerraformElement |
No description. |
isTerraformResource |
No description. |
generateConfigForImport |
Generates CDKTF code for importing a Database resource upon running "cdktf plan ". |
import com.hashicorp.cdktf.providers.snowflake.database.Database;
Database.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.
- Type: java.lang.Object
Any object.
import com.hashicorp.cdktf.providers.snowflake.database.Database;
Database.isTerraformElement(java.lang.Object x)
- Type: java.lang.Object
import com.hashicorp.cdktf.providers.snowflake.database.Database;
Database.isTerraformResource(java.lang.Object x)
- Type: java.lang.Object
import com.hashicorp.cdktf.providers.snowflake.database.Database;
Database.generateConfigForImport(Construct scope, java.lang.String importToId, java.lang.String importFromId),Database.generateConfigForImport(Construct scope, java.lang.String importToId, java.lang.String importFromId, TerraformProvider provider)
Generates CDKTF code for importing a Database resource upon running "cdktf plan ".
- Type: software.constructs.Construct
The scope in which to define this construct.
- Type: java.lang.String
The construct id used in the generated config for the Database to import.
- Type: java.lang.String
The id of the existing Database that should be imported.
Refer to the {@link https://registry.terraform.io/providers/snowflake-labs/snowflake/1.0.3/docs/resources/database#import import section} in the documentation of this resource for the id to use
- Type: com.hashicorp.cdktf.TerraformProvider
? Optional instance of the provider where the Database to import is found.
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. |
replication |
DatabaseReplicationOutputReference |
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. |
dropPublicSchemaOnCreationInput |
java.lang.Boolean OR com.hashicorp.cdktf.IResolvable |
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. |
replicationInput |
DatabaseReplication |
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. |
catalog |
java.lang.String |
No description. |
comment |
java.lang.String |
No description. |
dataRetentionTimeInDays |
java.lang.Number |
No description. |
defaultDdlCollation |
java.lang.String |
No description. |
dropPublicSchemaOnCreation |
java.lang.Boolean OR com.hashicorp.cdktf.IResolvable |
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. |
public Node getNode();
- Type: software.constructs.Node
The tree node.
public TerraformStack getCdktfStack();
- Type: com.hashicorp.cdktf.TerraformStack
public java.lang.String getFqn();
- Type: java.lang.String
public java.lang.String getFriendlyUniqueId();
- Type: java.lang.String
public java.util.Map<java.lang.String, java.lang.Object> getTerraformMetaArguments();
- Type: java.util.Map<java.lang.String, java.lang.Object>
public java.lang.String getTerraformResourceType();
- Type: java.lang.String
public TerraformProviderGeneratorMetadata getTerraformGeneratorMetadata();
- Type: com.hashicorp.cdktf.TerraformProviderGeneratorMetadata
public java.lang.Object getConnection();
- Type: com.hashicorp.cdktf.SSHProvisionerConnection OR com.hashicorp.cdktf.WinrmProvisionerConnection
public java.lang.Object getCount();
- Type: java.lang.Number OR com.hashicorp.cdktf.TerraformCount
public java.util.List<java.lang.String> getDependsOn();
- Type: java.util.List<java.lang.String>
public ITerraformIterator getForEach();
- Type: com.hashicorp.cdktf.ITerraformIterator
public TerraformResourceLifecycle getLifecycle();
- Type: com.hashicorp.cdktf.TerraformResourceLifecycle
public TerraformProvider getProvider();
- Type: com.hashicorp.cdktf.TerraformProvider
public java.lang.Object getProvisioners();
- Type: java.util.List<com.hashicorp.cdktf.FileProvisioner OR com.hashicorp.cdktf.LocalExecProvisioner OR com.hashicorp.cdktf.RemoteExecProvisioner>
public java.lang.String getFullyQualifiedName();
- Type: java.lang.String
public DatabaseReplicationOutputReference getReplication();
public java.lang.String getCatalogInput();
- Type: java.lang.String
public java.lang.String getCommentInput();
- Type: java.lang.String
public java.lang.Number getDataRetentionTimeInDaysInput();
- Type: java.lang.Number
public java.lang.String getDefaultDdlCollationInput();
- Type: java.lang.String
public java.lang.Object getDropPublicSchemaOnCreationInput();
- Type: java.lang.Boolean OR com.hashicorp.cdktf.IResolvable
public java.lang.Object getEnableConsoleOutputInput();
- Type: java.lang.Boolean OR com.hashicorp.cdktf.IResolvable
public java.lang.String getExternalVolumeInput();
- Type: java.lang.String
public java.lang.String getIdInput();
- Type: java.lang.String
public java.lang.Object getIsTransientInput();
- Type: java.lang.Boolean OR com.hashicorp.cdktf.IResolvable
public java.lang.String getLogLevelInput();
- Type: java.lang.String
public java.lang.Number getMaxDataExtensionTimeInDaysInput();
- Type: java.lang.Number
public java.lang.String getNameInput();
- Type: java.lang.String
public java.lang.Object getQuotedIdentifiersIgnoreCaseInput();
- Type: java.lang.Boolean OR com.hashicorp.cdktf.IResolvable
public java.lang.Object getReplaceInvalidCharactersInput();
- Type: java.lang.Boolean OR com.hashicorp.cdktf.IResolvable
public DatabaseReplication getReplicationInput();
- Type: DatabaseReplication
public java.lang.String getStorageSerializationPolicyInput();
- Type: java.lang.String
public java.lang.Number getSuspendTaskAfterNumFailuresInput();
- Type: java.lang.Number
public java.lang.Number getTaskAutoRetryAttemptsInput();
- Type: java.lang.Number
public java.lang.String getTraceLevelInput();
- Type: java.lang.String
public java.lang.String getUserTaskManagedInitialWarehouseSizeInput();
- Type: java.lang.String
public java.lang.Number getUserTaskMinimumTriggerIntervalInSecondsInput();
- Type: java.lang.Number
public java.lang.Number getUserTaskTimeoutMsInput();
- Type: java.lang.Number
public java.lang.String getCatalog();
- Type: java.lang.String
public java.lang.String getComment();
- Type: java.lang.String
public java.lang.Number getDataRetentionTimeInDays();
- Type: java.lang.Number
public java.lang.String getDefaultDdlCollation();
- Type: java.lang.String
public java.lang.Object getDropPublicSchemaOnCreation();
- Type: java.lang.Boolean OR com.hashicorp.cdktf.IResolvable
public java.lang.Object getEnableConsoleOutput();
- Type: java.lang.Boolean OR com.hashicorp.cdktf.IResolvable
public java.lang.String getExternalVolume();
- Type: java.lang.String
public java.lang.String getId();
- Type: java.lang.String
public java.lang.Object getIsTransient();
- Type: java.lang.Boolean OR com.hashicorp.cdktf.IResolvable
public java.lang.String getLogLevel();
- Type: java.lang.String
public java.lang.Number getMaxDataExtensionTimeInDays();
- Type: java.lang.Number
public java.lang.String getName();
- Type: java.lang.String
public java.lang.Object getQuotedIdentifiersIgnoreCase();
- Type: java.lang.Boolean OR com.hashicorp.cdktf.IResolvable
public java.lang.Object getReplaceInvalidCharacters();
- Type: java.lang.Boolean OR com.hashicorp.cdktf.IResolvable
public java.lang.String getStorageSerializationPolicy();
- Type: java.lang.String
public java.lang.Number getSuspendTaskAfterNumFailures();
- Type: java.lang.Number
public java.lang.Number getTaskAutoRetryAttempts();
- Type: java.lang.Number
public java.lang.String getTraceLevel();
- Type: java.lang.String
public java.lang.String getUserTaskManagedInitialWarehouseSize();
- Type: java.lang.String
public java.lang.Number getUserTaskMinimumTriggerIntervalInSeconds();
- Type: java.lang.Number
public java.lang.Number getUserTaskTimeoutMs();
- Type: java.lang.Number
Name | Type | Description |
---|---|---|
tfResourceType |
java.lang.String |
No description. |
public java.lang.String getTfResourceType();
- Type: java.lang.String
import com.hashicorp.cdktf.providers.snowflake.database.DatabaseConfig;
DatabaseConfig.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>)
.name(java.lang.String)
// .catalog(java.lang.String)
// .comment(java.lang.String)
// .dataRetentionTimeInDays(java.lang.Number)
// .defaultDdlCollation(java.lang.String)
// .dropPublicSchemaOnCreation(java.lang.Boolean)
// .dropPublicSchemaOnCreation(IResolvable)
// .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)
// .replication(DatabaseReplication)
// .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 |
---|---|---|
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. |
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. |
dropPublicSchemaOnCreation |
java.lang.Boolean OR com.hashicorp.cdktf.IResolvable |
Specifies whether to drop public schema on creation or not. |
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/1.0.3/docs/resources/database#id Database#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. |
replication |
DatabaseReplication |
replication block. |
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. |
public java.lang.Object getConnection();
- Type: com.hashicorp.cdktf.SSHProvisionerConnection OR com.hashicorp.cdktf.WinrmProvisionerConnection
public java.lang.Object getCount();
- Type: java.lang.Number OR com.hashicorp.cdktf.TerraformCount
public java.util.List<ITerraformDependable> getDependsOn();
- Type: java.util.List<com.hashicorp.cdktf.ITerraformDependable>
public ITerraformIterator getForEach();
- Type: com.hashicorp.cdktf.ITerraformIterator
public TerraformResourceLifecycle getLifecycle();
- Type: com.hashicorp.cdktf.TerraformResourceLifecycle
public TerraformProvider getProvider();
- Type: com.hashicorp.cdktf.TerraformProvider
public java.lang.Object getProvisioners();
- Type: java.util.List<com.hashicorp.cdktf.FileProvisioner OR com.hashicorp.cdktf.LocalExecProvisioner OR com.hashicorp.cdktf.RemoteExecProvisioner>
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/1.0.3/docs/resources/database#name Database#name}
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/1.0.3/docs/resources/database#catalog Database#catalog}
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/1.0.3/docs/resources/database#comment Database#comment}
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/1.0.3/docs/resources/database#data_retention_time_in_days Database#data_retention_time_in_days}
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/1.0.3/docs/resources/database#default_ddl_collation Database#default_ddl_collation}
public java.lang.Object getDropPublicSchemaOnCreation();
- Type: java.lang.Boolean OR com.hashicorp.cdktf.IResolvable
Specifies whether to drop public schema on creation or not.
Modifying the parameter after database is already created won't have any effect.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/snowflake-labs/snowflake/1.0.3/docs/resources/database#drop_public_schema_on_creation Database#drop_public_schema_on_creation}
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/1.0.3/docs/resources/database#enable_console_output Database#enable_console_output}
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/1.0.3/docs/resources/database#external_volume Database#external_volume}
public java.lang.String getId();
- Type: java.lang.String
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/snowflake-labs/snowflake/1.0.3/docs/resources/database#id Database#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.
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/1.0.3/docs/resources/database#is_transient Database#is_transient}
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/1.0.3/docs/resources/database#log_level Database#log_level}
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/1.0.3/docs/resources/database#max_data_extension_time_in_days Database#max_data_extension_time_in_days}
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/1.0.3/docs/resources/database#quoted_identifiers_ignore_case Database#quoted_identifiers_ignore_case}
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/1.0.3/docs/resources/database#replace_invalid_characters Database#replace_invalid_characters}
public DatabaseReplication getReplication();
- Type: DatabaseReplication
replication block.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/snowflake-labs/snowflake/1.0.3/docs/resources/database#replication Database#replication}
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/1.0.3/docs/resources/database#storage_serialization_policy Database#storage_serialization_policy}
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/1.0.3/docs/resources/database#suspend_task_after_num_failures Database#suspend_task_after_num_failures}
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/1.0.3/docs/resources/database#task_auto_retry_attempts Database#task_auto_retry_attempts}
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/1.0.3/docs/resources/database#trace_level Database#trace_level}
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/1.0.3/docs/resources/database#user_task_managed_initial_warehouse_size Database#user_task_managed_initial_warehouse_size}
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/1.0.3/docs/resources/database#user_task_minimum_trigger_interval_in_seconds Database#user_task_minimum_trigger_interval_in_seconds}
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/1.0.3/docs/resources/database#user_task_timeout_ms Database#user_task_timeout_ms}
import com.hashicorp.cdktf.providers.snowflake.database.DatabaseReplication;
DatabaseReplication.builder()
.enableToAccount(IResolvable)
.enableToAccount(java.util.List<DatabaseReplicationEnableToAccount>)
// .ignoreEditionCheck(java.lang.Boolean)
// .ignoreEditionCheck(IResolvable)
.build();
Name | Type | Description |
---|---|---|
enableToAccount |
com.hashicorp.cdktf.IResolvable OR java.util.List<DatabaseReplicationEnableToAccount> |
enable_to_account block. |
ignoreEditionCheck |
java.lang.Boolean OR com.hashicorp.cdktf.IResolvable |
Allows replicating data to accounts on lower editions in either of the following scenarios: 1. |
public java.lang.Object getEnableToAccount();
- Type: com.hashicorp.cdktf.IResolvable OR java.util.List<DatabaseReplicationEnableToAccount>
enable_to_account block.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/snowflake-labs/snowflake/1.0.3/docs/resources/database#enable_to_account Database#enable_to_account}
public java.lang.Object getIgnoreEditionCheck();
- Type: java.lang.Boolean OR com.hashicorp.cdktf.IResolvable
Allows replicating data to accounts on lower editions in either of the following scenarios: 1.
The primary database is in a Business Critical (or higher) account but one or more of the accounts approved for replication are on lower editions. Business Critical Edition is intended for Snowflake accounts with extremely sensitive data. 2. The primary database is in a Business Critical (or higher) account and a signed business associate agreement is in place to store PHI data in the account per HIPAA and HITRUST regulations, but no such agreement is in place for one or more of the accounts approved for replication, regardless if they are Business Critical (or higher) accounts. Both scenarios are prohibited by default in an effort to help prevent account administrators for Business Critical (or higher) accounts from inadvertently replicating sensitive data to accounts on lower editions.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/snowflake-labs/snowflake/1.0.3/docs/resources/database#ignore_edition_check Database#ignore_edition_check}
import com.hashicorp.cdktf.providers.snowflake.database.DatabaseReplicationEnableToAccount;
DatabaseReplicationEnableToAccount.builder()
.accountIdentifier(java.lang.String)
// .withFailover(java.lang.Boolean)
// .withFailover(IResolvable)
.build();
Name | Type | Description |
---|---|---|
accountIdentifier |
java.lang.String |
Specifies account identifier for which replication should be enabled. |
withFailover |
java.lang.Boolean OR com.hashicorp.cdktf.IResolvable |
Specifies if failover should be enabled for the specified account identifier. |
public java.lang.String getAccountIdentifier();
- Type: java.lang.String
Specifies account identifier for which replication should be enabled.
The account identifiers should be in the form of "<organization_name>"."<account_name>"
. For more information about this resource, see docs.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/snowflake-labs/snowflake/1.0.3/docs/resources/database#account_identifier Database#account_identifier}
public java.lang.Object getWithFailover();
- Type: java.lang.Boolean OR com.hashicorp.cdktf.IResolvable
Specifies if failover should be enabled for the specified account identifier.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/snowflake-labs/snowflake/1.0.3/docs/resources/database#with_failover Database#with_failover}
import com.hashicorp.cdktf.providers.snowflake.database.DatabaseReplicationEnableToAccountList;
new DatabaseReplicationEnableToAccountList(IInterpolatingParent terraformResource, java.lang.String terraformAttribute, java.lang.Boolean wrapsSet);
Name | Type | Description |
---|---|---|
terraformResource |
com.hashicorp.cdktf.IInterpolatingParent |
The parent resource. |
terraformAttribute |
java.lang.String |
The attribute on the parent resource this class is referencing. |
wrapsSet |
java.lang.Boolean |
whether the list is wrapping a set (will add tolist() to be able to access an item via an index). |
- Type: com.hashicorp.cdktf.IInterpolatingParent
The parent resource.
- Type: java.lang.String
The attribute on the parent resource this class is referencing.
- Type: java.lang.Boolean
whether the list is wrapping a set (will add tolist() to be able to access an item via an index).
Name | Description |
---|---|
allWithMapKey |
Creating an iterator for this complex list. |
computeFqn |
No description. |
resolve |
Produce the Token's value at resolution time. |
toString |
Return a string representation of this resolvable object. |
get |
No description. |
public DynamicListTerraformIterator allWithMapKey(java.lang.String mapKeyAttributeName)
Creating an iterator for this complex list.
The list will be converted into a map with the mapKeyAttributeName as the key.
- Type: java.lang.String
public java.lang.String computeFqn()
public java.lang.Object resolve(IResolveContext _context)
Produce the Token's value at resolution time.
- Type: com.hashicorp.cdktf.IResolveContext
public java.lang.String toString()
Return a string representation of this resolvable object.
Returns a reversible string representation.
public DatabaseReplicationEnableToAccountOutputReference get(java.lang.Number index)
- Type: java.lang.Number
the index of the item to return.
Name | Type | Description |
---|---|---|
creationStack |
java.util.List<java.lang.String> |
The creation stack of this resolvable which will be appended to errors thrown during resolution. |
fqn |
java.lang.String |
No description. |
internalValue |
com.hashicorp.cdktf.IResolvable OR java.util.List<DatabaseReplicationEnableToAccount> |
No description. |
public java.util.List<java.lang.String> getCreationStack();
- Type: java.util.List<java.lang.String>
The creation stack of this resolvable which will be appended to errors thrown during resolution.
If this returns an empty array the stack will not be attached.
public java.lang.String getFqn();
- Type: java.lang.String
public java.lang.Object getInternalValue();
- Type: com.hashicorp.cdktf.IResolvable OR java.util.List<DatabaseReplicationEnableToAccount>
import com.hashicorp.cdktf.providers.snowflake.database.DatabaseReplicationEnableToAccountOutputReference;
new DatabaseReplicationEnableToAccountOutputReference(IInterpolatingParent terraformResource, java.lang.String terraformAttribute, java.lang.Number complexObjectIndex, java.lang.Boolean complexObjectIsFromSet);
Name | Type | Description |
---|---|---|
terraformResource |
com.hashicorp.cdktf.IInterpolatingParent |
The parent resource. |
terraformAttribute |
java.lang.String |
The attribute on the parent resource this class is referencing. |
complexObjectIndex |
java.lang.Number |
the index of this item in the list. |
complexObjectIsFromSet |
java.lang.Boolean |
whether the list is wrapping a set (will add tolist() to be able to access an item via an index). |
- Type: com.hashicorp.cdktf.IInterpolatingParent
The parent resource.
- Type: java.lang.String
The attribute on the parent resource this class is referencing.
- Type: java.lang.Number
the index of this item in the list.
- Type: java.lang.Boolean
whether the list is wrapping a set (will add tolist() to be able to access an item via an index).
Name | Description |
---|---|
computeFqn |
No description. |
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. |
interpolationForAttribute |
No description. |
resolve |
Produce the Token's value at resolution time. |
toString |
Return a string representation of this resolvable object. |
resetWithFailover |
No description. |
public java.lang.String computeFqn()
public java.util.Map<java.lang.String, java.lang.Object> getAnyMapAttribute(java.lang.String terraformAttribute)
- Type: java.lang.String
public IResolvable getBooleanAttribute(java.lang.String terraformAttribute)
- Type: java.lang.String
public java.util.Map<java.lang.String, java.lang.Boolean> getBooleanMapAttribute(java.lang.String terraformAttribute)
- Type: java.lang.String
public java.util.List<java.lang.String> getListAttribute(java.lang.String terraformAttribute)
- Type: java.lang.String
public java.lang.Number getNumberAttribute(java.lang.String terraformAttribute)
- Type: java.lang.String
public java.util.List<java.lang.Number> getNumberListAttribute(java.lang.String terraformAttribute)
- Type: java.lang.String
public java.util.Map<java.lang.String, java.lang.Number> getNumberMapAttribute(java.lang.String terraformAttribute)
- Type: java.lang.String
public java.lang.String getStringAttribute(java.lang.String terraformAttribute)
- Type: java.lang.String
public java.util.Map<java.lang.String, java.lang.String> getStringMapAttribute(java.lang.String terraformAttribute)
- Type: java.lang.String
public IResolvable interpolationForAttribute(java.lang.String property)
- Type: java.lang.String
public java.lang.Object resolve(IResolveContext _context)
Produce the Token's value at resolution time.
- Type: com.hashicorp.cdktf.IResolveContext
public java.lang.String toString()
Return a string representation of this resolvable object.
Returns a reversible string representation.
public void resetWithFailover()
Name | Type | Description |
---|---|---|
creationStack |
java.util.List<java.lang.String> |
The creation stack of this resolvable which will be appended to errors thrown during resolution. |
fqn |
java.lang.String |
No description. |
accountIdentifierInput |
java.lang.String |
No description. |
withFailoverInput |
java.lang.Boolean OR com.hashicorp.cdktf.IResolvable |
No description. |
accountIdentifier |
java.lang.String |
No description. |
withFailover |
java.lang.Boolean OR com.hashicorp.cdktf.IResolvable |
No description. |
internalValue |
com.hashicorp.cdktf.IResolvable OR DatabaseReplicationEnableToAccount |
No description. |
public java.util.List<java.lang.String> getCreationStack();
- Type: java.util.List<java.lang.String>
The creation stack of this resolvable which will be appended to errors thrown during resolution.
If this returns an empty array the stack will not be attached.
public java.lang.String getFqn();
- Type: java.lang.String
public java.lang.String getAccountIdentifierInput();
- Type: java.lang.String
public java.lang.Object getWithFailoverInput();
- Type: java.lang.Boolean OR com.hashicorp.cdktf.IResolvable
public java.lang.String getAccountIdentifier();
- Type: java.lang.String
public java.lang.Object getWithFailover();
- Type: java.lang.Boolean OR com.hashicorp.cdktf.IResolvable
public java.lang.Object getInternalValue();
- Type: com.hashicorp.cdktf.IResolvable OR DatabaseReplicationEnableToAccount
import com.hashicorp.cdktf.providers.snowflake.database.DatabaseReplicationOutputReference;
new DatabaseReplicationOutputReference(IInterpolatingParent terraformResource, java.lang.String terraformAttribute);
Name | Type | Description |
---|---|---|
terraformResource |
com.hashicorp.cdktf.IInterpolatingParent |
The parent resource. |
terraformAttribute |
java.lang.String |
The attribute on the parent resource this class is referencing. |
- Type: com.hashicorp.cdktf.IInterpolatingParent
The parent resource.
- Type: java.lang.String
The attribute on the parent resource this class is referencing.
Name | Description |
---|---|
computeFqn |
No description. |
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. |
interpolationForAttribute |
No description. |
resolve |
Produce the Token's value at resolution time. |
toString |
Return a string representation of this resolvable object. |
putEnableToAccount |
No description. |
resetIgnoreEditionCheck |
No description. |
public java.lang.String computeFqn()
public java.util.Map<java.lang.String, java.lang.Object> getAnyMapAttribute(java.lang.String terraformAttribute)
- Type: java.lang.String
public IResolvable getBooleanAttribute(java.lang.String terraformAttribute)
- Type: java.lang.String
public java.util.Map<java.lang.String, java.lang.Boolean> getBooleanMapAttribute(java.lang.String terraformAttribute)
- Type: java.lang.String
public java.util.List<java.lang.String> getListAttribute(java.lang.String terraformAttribute)
- Type: java.lang.String
public java.lang.Number getNumberAttribute(java.lang.String terraformAttribute)
- Type: java.lang.String
public java.util.List<java.lang.Number> getNumberListAttribute(java.lang.String terraformAttribute)
- Type: java.lang.String
public java.util.Map<java.lang.String, java.lang.Number> getNumberMapAttribute(java.lang.String terraformAttribute)
- Type: java.lang.String
public java.lang.String getStringAttribute(java.lang.String terraformAttribute)
- Type: java.lang.String
public java.util.Map<java.lang.String, java.lang.String> getStringMapAttribute(java.lang.String terraformAttribute)
- Type: java.lang.String
public IResolvable interpolationForAttribute(java.lang.String property)
- Type: java.lang.String
public java.lang.Object resolve(IResolveContext _context)
Produce the Token's value at resolution time.
- Type: com.hashicorp.cdktf.IResolveContext
public java.lang.String toString()
Return a string representation of this resolvable object.
Returns a reversible string representation.
public void putEnableToAccount(IResolvable OR java.util.List<DatabaseReplicationEnableToAccount> value)
- Type: com.hashicorp.cdktf.IResolvable OR java.util.List<DatabaseReplicationEnableToAccount>
public void resetIgnoreEditionCheck()
Name | Type | Description |
---|---|---|
creationStack |
java.util.List<java.lang.String> |
The creation stack of this resolvable which will be appended to errors thrown during resolution. |
fqn |
java.lang.String |
No description. |
enableToAccount |
DatabaseReplicationEnableToAccountList |
No description. |
enableToAccountInput |
com.hashicorp.cdktf.IResolvable OR java.util.List<DatabaseReplicationEnableToAccount> |
No description. |
ignoreEditionCheckInput |
java.lang.Boolean OR com.hashicorp.cdktf.IResolvable |
No description. |
ignoreEditionCheck |
java.lang.Boolean OR com.hashicorp.cdktf.IResolvable |
No description. |
internalValue |
DatabaseReplication |
No description. |
public java.util.List<java.lang.String> getCreationStack();
- Type: java.util.List<java.lang.String>
The creation stack of this resolvable which will be appended to errors thrown during resolution.
If this returns an empty array the stack will not be attached.
public java.lang.String getFqn();
- Type: java.lang.String
public DatabaseReplicationEnableToAccountList getEnableToAccount();
public java.lang.Object getEnableToAccountInput();
- Type: com.hashicorp.cdktf.IResolvable OR java.util.List<DatabaseReplicationEnableToAccount>
public java.lang.Object getIgnoreEditionCheckInput();
- Type: java.lang.Boolean OR com.hashicorp.cdktf.IResolvable
public java.lang.Object getIgnoreEditionCheck();
- Type: java.lang.Boolean OR com.hashicorp.cdktf.IResolvable
public DatabaseReplication getInternalValue();
- Type: DatabaseReplication