Documentation
¶
Index ¶
- func NewSharedDatabase_Override(s SharedDatabase, scope constructs.Construct, id *string, ...)
- func SharedDatabase_GenerateConfigForImport(scope constructs.Construct, importToId *string, importFromId *string, ...) cdktf.ImportableResource
- func SharedDatabase_IsConstruct(x interface{}) *bool
- func SharedDatabase_IsTerraformElement(x interface{}) *bool
- func SharedDatabase_IsTerraformResource(x interface{}) *bool
- func SharedDatabase_TfResourceType() *string
- type SharedDatabase
- type SharedDatabaseConfig
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewSharedDatabase_Override ¶
func NewSharedDatabase_Override(s SharedDatabase, scope constructs.Construct, id *string, config *SharedDatabaseConfig)
Create a new {@link https://registry.terraform.io/providers/snowflake-labs/snowflake/0.96.0/docs/resources/shared_database snowflake_shared_database} Resource.
func SharedDatabase_GenerateConfigForImport ¶
func SharedDatabase_GenerateConfigForImport(scope constructs.Construct, importToId *string, importFromId *string, provider cdktf.TerraformProvider) cdktf.ImportableResource
Generates CDKTF code for importing a SharedDatabase resource upon running "cdktf plan <stack-name>".
func SharedDatabase_IsConstruct ¶
func SharedDatabase_IsConstruct(x interface{}) *bool
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.
Returns: true if `x` is an object created from a class which extends `Construct`.
func SharedDatabase_IsTerraformElement ¶
func SharedDatabase_IsTerraformElement(x interface{}) *bool
Experimental.
func SharedDatabase_IsTerraformResource ¶
func SharedDatabase_IsTerraformResource(x interface{}) *bool
Experimental.
func SharedDatabase_TfResourceType ¶
func SharedDatabase_TfResourceType() *string
Types ¶
type SharedDatabase ¶
type SharedDatabase interface { cdktf.TerraformResource // Experimental. Connection() interface{} SetConnection(val interface{}) ConstructNodeMetadata() *map[string]interface{} Count() interface{} // Experimental. DependsOn() *[]*string // Experimental. ForEach() cdktf.ITerraformIterator SetForEach(val cdktf.ITerraformIterator) Fqn() *string // Experimental. Lifecycle() *cdktf.TerraformResourceLifecycle // Experimental. Node() constructs.Node Provider() cdktf.TerraformProvider SetProvider(val cdktf.TerraformProvider) Provisioners() *[]interface{} // Experimental. // Experimental. TerraformGeneratorMetadata() *cdktf.TerraformProviderGeneratorMetadata TerraformMetaArguments() *map[string]interface{} // Experimental. // Experimental. AddMoveTarget(moveTarget *string) AddOverride(path *string, value interface{}) GetAnyMapAttribute(terraformAttribute *string) *map[string]interface{} GetBooleanAttribute(terraformAttribute *string) cdktf.IResolvable GetBooleanMapAttribute(terraformAttribute *string) *map[string]*bool GetListAttribute(terraformAttribute *string) *[]*string GetNumberAttribute(terraformAttribute *string) *float64 GetNumberListAttribute(terraformAttribute *string) *[]*float64 GetNumberMapAttribute(terraformAttribute *string) *map[string]*float64 GetStringAttribute(terraformAttribute *string) *string GetStringMapAttribute(terraformAttribute *string) *map[string]*string HasResourceMove() interface{} ImportFrom(id *string, provider cdktf.TerraformProvider) InterpolationForAttribute(terraformAttribute *string) cdktf.IResolvable // // Note that the resource being moved from must be marked as moved using it's instance function. // Experimental. MoveFromId(id *string) // Experimental. MoveTo(moveTarget *string, index interface{}) // Experimental. MoveToId(id *string) // Overrides the auto-generated logical ID with a specific ID. // Experimental. // Resets a previously passed logical Id to use the auto-generated logical id again. // Experimental. ToHclTerraform() interface{} ToMetadata() interface{} ToString() *string // Experimental. ToTerraform() interface{} }
Represents a {@link https://registry.terraform.io/providers/snowflake-labs/snowflake/0.96.0/docs/resources/shared_database snowflake_shared_database}.
func NewSharedDatabase ¶
func NewSharedDatabase(scope constructs.Construct, id *string, config *SharedDatabaseConfig) SharedDatabase
Create a new {@link https://registry.terraform.io/providers/snowflake-labs/snowflake/0.96.0/docs/resources/shared_database snowflake_shared_database} Resource.
type SharedDatabaseConfig ¶
type SharedDatabaseConfig struct { cdktf.ITerraformDependable `field:"optional" json:"dependsOn" yaml:"dependsOn"` ForEach cdktf.ITerraformIterator `field:"optional" json:"forEach" yaml:"forEach"` Lifecycle *cdktf.TerraformResourceLifecycle `field:"optional" json:"lifecycle" yaml:"lifecycle"` Provider cdktf.TerraformProvider `field:"optional" json:"provider" yaml:"provider"` Provisioners *[]interface{} `field:"optional" json:"provisioners" yaml:"provisioners"` // // A fully qualified path follows the format of `"<organization_name>"."<account_name>"."<share_name>"`. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/snowflake-labs/snowflake/0.96.0/docs/resources/shared_database#from_share SharedDatabase#from_share} FromShare *string `field:"required" json:"fromShare" yaml:"fromShare"` // // must be unique for your account. Due to technical limitations (read more [here](https://github.com/Snowflake-Labs/terraform-provider-snowflake/blob/main/docs/technical-documentation/identifiers_rework_design_decisions.md#known-limitations-and-identifier-recommendations)), avoid using the following characters: `|`, `.`, `(`, `)`, `"` // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/snowflake-labs/snowflake/0.96.0/docs/resources/shared_database#name SharedDatabase#name} Name *string `field:"required" json:"name" yaml:"name"` // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/snowflake-labs/snowflake/0.96.0/docs/resources/shared_database#catalog SharedDatabase#catalog} Catalog *string `field:"optional" json:"catalog" yaml:"catalog"` // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/snowflake-labs/snowflake/0.96.0/docs/resources/shared_database#comment SharedDatabase#comment} Comment *string `field:"optional" json:"comment" yaml:"comment"` // // It can be overridden on schema or table level. For more information, see [collation specification](https://docs.snowflake.com/en/sql-reference/collation#label-collation-specification). // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/snowflake-labs/snowflake/0.96.0/docs/resources/shared_database#default_ddl_collation SharedDatabase#default_ddl_collation} DefaultDdlCollation *string `field:"optional" json:"defaultDdlCollation" yaml:"defaultDdlCollation"` // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/snowflake-labs/snowflake/0.96.0/docs/resources/shared_database#enable_console_output SharedDatabase#enable_console_output} EnableConsoleOutput interface{} `field:"optional" json:"enableConsoleOutput" yaml:"enableConsoleOutput"` // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/snowflake-labs/snowflake/0.96.0/docs/resources/shared_database#external_volume SharedDatabase#external_volume} ExternalVolume *string `field:"optional" json:"externalVolume" yaml:"externalVolume"` // // 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. Id *string `field:"optional" json:"id" yaml:"id"` // // 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](https://docs.snowflake.com/en/sql-reference/parameters.html#label-log-level). // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/snowflake-labs/snowflake/0.96.0/docs/resources/shared_database#log_level SharedDatabase#log_level} LogLevel *string `field:"optional" json:"logLevel" yaml:"logLevel"` // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/snowflake-labs/snowflake/0.96.0/docs/resources/shared_database#quoted_identifiers_ignore_case SharedDatabase#quoted_identifiers_ignore_case} QuotedIdentifiersIgnoreCase interface{} `field:"optional" json:"quotedIdentifiersIgnoreCase" yaml:"quotedIdentifiersIgnoreCase"` // // You can only set this parameter for tables that use an external Iceberg catalog. For more information, see [REPLACE_INVALID_CHARACTERS](https://docs.snowflake.com/en/sql-reference/parameters#replace-invalid-characters). // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/snowflake-labs/snowflake/0.96.0/docs/resources/shared_database#replace_invalid_characters SharedDatabase#replace_invalid_characters} ReplaceInvalidCharacters interface{} `field:"optional" json:"replaceInvalidCharacters" yaml:"replaceInvalidCharacters"` // // 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](https://docs.snowflake.com/en/sql-reference/parameters#storage-serialization-policy). // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/snowflake-labs/snowflake/0.96.0/docs/resources/shared_database#storage_serialization_policy SharedDatabase#storage_serialization_policy} StorageSerializationPolicy *string `field:"optional" json:"storageSerializationPolicy" yaml:"storageSerializationPolicy"` // // 0 disables auto-suspending. For more information, see [SUSPEND_TASK_AFTER_NUM_FAILURES](https://docs.snowflake.com/en/sql-reference/parameters#suspend-task-after-num-failures). // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/snowflake-labs/snowflake/0.96.0/docs/resources/shared_database#suspend_task_after_num_failures SharedDatabase#suspend_task_after_num_failures} SuspendTaskAfterNumFailures *float64 `field:"optional" json:"suspendTaskAfterNumFailures" yaml:"suspendTaskAfterNumFailures"` // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/snowflake-labs/snowflake/0.96.0/docs/resources/shared_database#task_auto_retry_attempts SharedDatabase#task_auto_retry_attempts} TaskAutoRetryAttempts *float64 `field:"optional" json:"taskAutoRetryAttempts" yaml:"taskAutoRetryAttempts"` // // Valid options are: [ALWAYS ON_EVENT OFF]. For information about levels, see [TRACE_LEVEL](https://docs.snowflake.com/en/sql-reference/parameters.html#label-trace-level). // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/snowflake-labs/snowflake/0.96.0/docs/resources/shared_database#trace_level SharedDatabase#trace_level} TraceLevel *string `field:"optional" json:"traceLevel" yaml:"traceLevel"` // // For more information, see [USER_TASK_MANAGED_INITIAL_WAREHOUSE_SIZE](https://docs.snowflake.com/en/sql-reference/parameters#user-task-managed-initial-warehouse-size). // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/snowflake-labs/snowflake/0.96.0/docs/resources/shared_database#user_task_managed_initial_warehouse_size SharedDatabase#user_task_managed_initial_warehouse_size} UserTaskManagedInitialWarehouseSize *string `field:"optional" json:"userTaskManagedInitialWarehouseSize" yaml:"userTaskManagedInitialWarehouseSize"` // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/snowflake-labs/snowflake/0.96.0/docs/resources/shared_database#user_task_minimum_trigger_interval_in_seconds SharedDatabase#user_task_minimum_trigger_interval_in_seconds} UserTaskMinimumTriggerIntervalInSeconds *float64 `field:"optional" json:"userTaskMinimumTriggerIntervalInSeconds" yaml:"userTaskMinimumTriggerIntervalInSeconds"` // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/snowflake-labs/snowflake/0.96.0/docs/resources/shared_database#user_task_timeout_ms SharedDatabase#user_task_timeout_ms} UserTaskTimeoutMs *float64 `field:"optional" json:"userTaskTimeoutMs" yaml:"userTaskTimeoutMs"` }Connection interface{} `field:"optional" json:"connection" yaml:"connection"` Count interface{} `field:"optional" json:"count" yaml:"count"` DependsOn *[]