Documentation ¶
Index ¶
- func DatabaseMysqlConfig_GenerateConfigForImport(scope constructs.Construct, importToId *string, importFromId *string, ...) cdktf.ImportableResource
- func DatabaseMysqlConfig_IsConstruct(x interface{}) *bool
- func DatabaseMysqlConfig_IsTerraformElement(x interface{}) *bool
- func DatabaseMysqlConfig_IsTerraformResource(x interface{}) *bool
- func DatabaseMysqlConfig_TfResourceType() *string
- func NewDatabaseMysqlConfig_Override(d DatabaseMysqlConfig, scope constructs.Construct, id *string, ...)
- type DatabaseMysqlConfig
- type DatabaseMysqlConfigConfig
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DatabaseMysqlConfig_GenerateConfigForImport ¶
func DatabaseMysqlConfig_GenerateConfigForImport(scope constructs.Construct, importToId *string, importFromId *string, provider cdktf.TerraformProvider) cdktf.ImportableResource
Generates CDKTF code for importing a DatabaseMysqlConfig resource upon running "cdktf plan <stack-name>".
func DatabaseMysqlConfig_IsConstruct ¶
func DatabaseMysqlConfig_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 DatabaseMysqlConfig_IsTerraformElement ¶
func DatabaseMysqlConfig_IsTerraformElement(x interface{}) *bool
Experimental.
func DatabaseMysqlConfig_IsTerraformResource ¶
func DatabaseMysqlConfig_IsTerraformResource(x interface{}) *bool
Experimental.
func DatabaseMysqlConfig_TfResourceType ¶
func DatabaseMysqlConfig_TfResourceType() *string
func NewDatabaseMysqlConfig_Override ¶
func NewDatabaseMysqlConfig_Override(d DatabaseMysqlConfig, scope constructs.Construct, id *string, config *DatabaseMysqlConfigConfig)
Create a new {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.35.0/docs/resources/database_mysql_config digitalocean_database_mysql_config} Resource.
Types ¶
type DatabaseMysqlConfig ¶
type DatabaseMysqlConfig interface { cdktf.TerraformResource BackupHour() *float64 SetBackupHour(val *float64) BackupHourInput() *float64 BackupMinute() *float64 SetBackupMinute(val *float64) BackupMinuteInput() *float64 BinlogRetentionPeriod() *float64 SetBinlogRetentionPeriod(val *float64) BinlogRetentionPeriodInput() *float64 // Experimental. CdktfStack() cdktf.TerraformStack ClusterId() *string SetClusterId(val *string) ClusterIdInput() *string // Experimental. Connection() interface{} // Experimental. SetConnection(val interface{}) ConnectTimeout() *float64 SetConnectTimeout(val *float64) ConnectTimeoutInput() *float64 // Experimental. ConstructNodeMetadata() *map[string]interface{} // Experimental. Count() interface{} // Experimental. SetCount(val interface{}) DefaultTimeZone() *string SetDefaultTimeZone(val *string) DefaultTimeZoneInput() *string // Experimental. DependsOn() *[]*string // Experimental. SetDependsOn(val *[]*string) // Experimental. ForEach() cdktf.ITerraformIterator // Experimental. SetForEach(val cdktf.ITerraformIterator) // Experimental. Fqn() *string // Experimental. FriendlyUniqueId() *string GroupConcatMaxLen() *float64 SetGroupConcatMaxLen(val *float64) GroupConcatMaxLenInput() *float64 Id() *string SetId(val *string) IdInput() *string InformationSchemaStatsExpiry() *float64 SetInformationSchemaStatsExpiry(val *float64) InformationSchemaStatsExpiryInput() *float64 InnodbFtMinTokenSize() *float64 SetInnodbFtMinTokenSize(val *float64) InnodbFtMinTokenSizeInput() *float64 InnodbFtServerStopwordTable() *string SetInnodbFtServerStopwordTable(val *string) InnodbFtServerStopwordTableInput() *string InnodbLockWaitTimeout() *float64 SetInnodbLockWaitTimeout(val *float64) InnodbLockWaitTimeoutInput() *float64 InnodbLogBufferSize() *float64 SetInnodbLogBufferSize(val *float64) InnodbLogBufferSizeInput() *float64 InnodbOnlineAlterLogMaxSize() *float64 SetInnodbOnlineAlterLogMaxSize(val *float64) InnodbOnlineAlterLogMaxSizeInput() *float64 InnodbPrintAllDeadlocks() interface{} SetInnodbPrintAllDeadlocks(val interface{}) InnodbPrintAllDeadlocksInput() interface{} InnodbRollbackOnTimeout() interface{} SetInnodbRollbackOnTimeout(val interface{}) InnodbRollbackOnTimeoutInput() interface{} InteractiveTimeout() *float64 SetInteractiveTimeout(val *float64) InteractiveTimeoutInput() *float64 InternalTmpMemStorageEngine() *string SetInternalTmpMemStorageEngine(val *string) InternalTmpMemStorageEngineInput() *string // Experimental. Lifecycle() *cdktf.TerraformResourceLifecycle // Experimental. SetLifecycle(val *cdktf.TerraformResourceLifecycle) LongQueryTime() *float64 SetLongQueryTime(val *float64) LongQueryTimeInput() *float64 MaxAllowedPacket() *float64 SetMaxAllowedPacket(val *float64) MaxAllowedPacketInput() *float64 MaxHeapTableSize() *float64 SetMaxHeapTableSize(val *float64) MaxHeapTableSizeInput() *float64 NetReadTimeout() *float64 SetNetReadTimeout(val *float64) NetReadTimeoutInput() *float64 NetWriteTimeout() *float64 SetNetWriteTimeout(val *float64) NetWriteTimeoutInput() *float64 // The tree node. Node() constructs.Node // Experimental. Provider() cdktf.TerraformProvider // Experimental. SetProvider(val cdktf.TerraformProvider) // Experimental. Provisioners() *[]interface{} // Experimental. SetProvisioners(val *[]interface{}) // Experimental. RawOverrides() interface{} SlowQueryLog() interface{} SetSlowQueryLog(val interface{}) SlowQueryLogInput() interface{} SortBufferSize() *float64 SetSortBufferSize(val *float64) SortBufferSizeInput() *float64 SqlMode() *string SetSqlMode(val *string) SqlModeInput() *string SqlRequirePrimaryKey() interface{} SetSqlRequirePrimaryKey(val interface{}) SqlRequirePrimaryKeyInput() interface{} // Experimental. TerraformGeneratorMetadata() *cdktf.TerraformProviderGeneratorMetadata // Experimental. TerraformMetaArguments() *map[string]interface{} // Experimental. TerraformResourceType() *string TmpTableSize() *float64 SetTmpTableSize(val *float64) TmpTableSizeInput() *float64 WaitTimeout() *float64 SetWaitTimeout(val *float64) WaitTimeoutInput() *float64 // Adds a user defined moveTarget string to this resource to be later used in .moveTo(moveTarget) to resolve the location of the move. // Experimental. AddMoveTarget(moveTarget *string) // Experimental. AddOverride(path *string, value interface{}) // Experimental. GetAnyMapAttribute(terraformAttribute *string) *map[string]interface{} // Experimental. GetBooleanAttribute(terraformAttribute *string) cdktf.IResolvable // Experimental. GetBooleanMapAttribute(terraformAttribute *string) *map[string]*bool // Experimental. GetListAttribute(terraformAttribute *string) *[]*string // Experimental. GetNumberAttribute(terraformAttribute *string) *float64 // Experimental. GetNumberListAttribute(terraformAttribute *string) *[]*float64 // Experimental. GetNumberMapAttribute(terraformAttribute *string) *map[string]*float64 // Experimental. GetStringAttribute(terraformAttribute *string) *string // Experimental. GetStringMapAttribute(terraformAttribute *string) *map[string]*string // Experimental. HasResourceMove() interface{} // Experimental. ImportFrom(id *string, provider cdktf.TerraformProvider) // Experimental. InterpolationForAttribute(terraformAttribute *string) cdktf.IResolvable // 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. // Experimental. MoveFromId(id *string) // Moves this resource to the target resource given by moveTarget. // Experimental. MoveTo(moveTarget *string, index interface{}) // Moves this resource to the resource corresponding to "id". // Experimental. MoveToId(id *string) // Overrides the auto-generated logical ID with a specific ID. // Experimental. OverrideLogicalId(newLogicalId *string) ResetBackupHour() ResetBackupMinute() ResetBinlogRetentionPeriod() ResetConnectTimeout() ResetDefaultTimeZone() ResetGroupConcatMaxLen() ResetId() ResetInformationSchemaStatsExpiry() ResetInnodbFtMinTokenSize() ResetInnodbFtServerStopwordTable() ResetInnodbLockWaitTimeout() ResetInnodbLogBufferSize() ResetInnodbOnlineAlterLogMaxSize() ResetInnodbPrintAllDeadlocks() ResetInnodbRollbackOnTimeout() ResetInteractiveTimeout() ResetInternalTmpMemStorageEngine() ResetLongQueryTime() ResetMaxAllowedPacket() ResetMaxHeapTableSize() ResetNetReadTimeout() ResetNetWriteTimeout() // Resets a previously passed logical Id to use the auto-generated logical id again. // Experimental. ResetOverrideLogicalId() ResetSlowQueryLog() ResetSortBufferSize() ResetSqlMode() ResetSqlRequirePrimaryKey() ResetTmpTableSize() ResetWaitTimeout() SynthesizeAttributes() *map[string]interface{} SynthesizeHclAttributes() *map[string]interface{} // Experimental. ToHclTerraform() interface{} // Experimental. ToMetadata() interface{} // Returns a string representation of this construct. ToString() *string // Adds this resource to the terraform JSON output. // Experimental. ToTerraform() interface{} }
Represents a {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.35.0/docs/resources/database_mysql_config digitalocean_database_mysql_config}.
func NewDatabaseMysqlConfig ¶
func NewDatabaseMysqlConfig(scope constructs.Construct, id *string, config *DatabaseMysqlConfigConfig) DatabaseMysqlConfig
Create a new {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.35.0/docs/resources/database_mysql_config digitalocean_database_mysql_config} Resource.
type DatabaseMysqlConfigConfig ¶
type DatabaseMysqlConfigConfig struct { // Experimental. Connection interface{} `field:"optional" json:"connection" yaml:"connection"` // Experimental. Count interface{} `field:"optional" json:"count" yaml:"count"` // Experimental. DependsOn *[]cdktf.ITerraformDependable `field:"optional" json:"dependsOn" yaml:"dependsOn"` // Experimental. ForEach cdktf.ITerraformIterator `field:"optional" json:"forEach" yaml:"forEach"` // Experimental. Lifecycle *cdktf.TerraformResourceLifecycle `field:"optional" json:"lifecycle" yaml:"lifecycle"` // Experimental. Provider cdktf.TerraformProvider `field:"optional" json:"provider" yaml:"provider"` // Experimental. Provisioners *[]interface{} `field:"optional" json:"provisioners" yaml:"provisioners"` // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.35.0/docs/resources/database_mysql_config#cluster_id DatabaseMysqlConfig#cluster_id}. ClusterId *string `field:"required" json:"clusterId" yaml:"clusterId"` // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.35.0/docs/resources/database_mysql_config#backup_hour DatabaseMysqlConfig#backup_hour}. BackupHour *float64 `field:"optional" json:"backupHour" yaml:"backupHour"` // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.35.0/docs/resources/database_mysql_config#backup_minute DatabaseMysqlConfig#backup_minute}. BackupMinute *float64 `field:"optional" json:"backupMinute" yaml:"backupMinute"` // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.35.0/docs/resources/database_mysql_config#binlog_retention_period DatabaseMysqlConfig#binlog_retention_period}. BinlogRetentionPeriod *float64 `field:"optional" json:"binlogRetentionPeriod" yaml:"binlogRetentionPeriod"` // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.35.0/docs/resources/database_mysql_config#connect_timeout DatabaseMysqlConfig#connect_timeout}. ConnectTimeout *float64 `field:"optional" json:"connectTimeout" yaml:"connectTimeout"` // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.35.0/docs/resources/database_mysql_config#default_time_zone DatabaseMysqlConfig#default_time_zone}. DefaultTimeZone *string `field:"optional" json:"defaultTimeZone" yaml:"defaultTimeZone"` // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.35.0/docs/resources/database_mysql_config#group_concat_max_len DatabaseMysqlConfig#group_concat_max_len}. GroupConcatMaxLen *float64 `field:"optional" json:"groupConcatMaxLen" yaml:"groupConcatMaxLen"` // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.35.0/docs/resources/database_mysql_config#id DatabaseMysqlConfig#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. Id *string `field:"optional" json:"id" yaml:"id"` // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.35.0/docs/resources/database_mysql_config#information_schema_stats_expiry DatabaseMysqlConfig#information_schema_stats_expiry}. InformationSchemaStatsExpiry *float64 `field:"optional" json:"informationSchemaStatsExpiry" yaml:"informationSchemaStatsExpiry"` // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.35.0/docs/resources/database_mysql_config#innodb_ft_min_token_size DatabaseMysqlConfig#innodb_ft_min_token_size}. InnodbFtMinTokenSize *float64 `field:"optional" json:"innodbFtMinTokenSize" yaml:"innodbFtMinTokenSize"` // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.35.0/docs/resources/database_mysql_config#innodb_ft_server_stopword_table DatabaseMysqlConfig#innodb_ft_server_stopword_table}. InnodbFtServerStopwordTable *string `field:"optional" json:"innodbFtServerStopwordTable" yaml:"innodbFtServerStopwordTable"` // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.35.0/docs/resources/database_mysql_config#innodb_lock_wait_timeout DatabaseMysqlConfig#innodb_lock_wait_timeout}. InnodbLockWaitTimeout *float64 `field:"optional" json:"innodbLockWaitTimeout" yaml:"innodbLockWaitTimeout"` // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.35.0/docs/resources/database_mysql_config#innodb_log_buffer_size DatabaseMysqlConfig#innodb_log_buffer_size}. InnodbLogBufferSize *float64 `field:"optional" json:"innodbLogBufferSize" yaml:"innodbLogBufferSize"` // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.35.0/docs/resources/database_mysql_config#innodb_online_alter_log_max_size DatabaseMysqlConfig#innodb_online_alter_log_max_size}. InnodbOnlineAlterLogMaxSize *float64 `field:"optional" json:"innodbOnlineAlterLogMaxSize" yaml:"innodbOnlineAlterLogMaxSize"` // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.35.0/docs/resources/database_mysql_config#innodb_print_all_deadlocks DatabaseMysqlConfig#innodb_print_all_deadlocks}. InnodbPrintAllDeadlocks interface{} `field:"optional" json:"innodbPrintAllDeadlocks" yaml:"innodbPrintAllDeadlocks"` // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.35.0/docs/resources/database_mysql_config#innodb_rollback_on_timeout DatabaseMysqlConfig#innodb_rollback_on_timeout}. InnodbRollbackOnTimeout interface{} `field:"optional" json:"innodbRollbackOnTimeout" yaml:"innodbRollbackOnTimeout"` // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.35.0/docs/resources/database_mysql_config#interactive_timeout DatabaseMysqlConfig#interactive_timeout}. InteractiveTimeout *float64 `field:"optional" json:"interactiveTimeout" yaml:"interactiveTimeout"` // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.35.0/docs/resources/database_mysql_config#internal_tmp_mem_storage_engine DatabaseMysqlConfig#internal_tmp_mem_storage_engine}. InternalTmpMemStorageEngine *string `field:"optional" json:"internalTmpMemStorageEngine" yaml:"internalTmpMemStorageEngine"` // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.35.0/docs/resources/database_mysql_config#long_query_time DatabaseMysqlConfig#long_query_time}. LongQueryTime *float64 `field:"optional" json:"longQueryTime" yaml:"longQueryTime"` // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.35.0/docs/resources/database_mysql_config#max_allowed_packet DatabaseMysqlConfig#max_allowed_packet}. MaxAllowedPacket *float64 `field:"optional" json:"maxAllowedPacket" yaml:"maxAllowedPacket"` // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.35.0/docs/resources/database_mysql_config#max_heap_table_size DatabaseMysqlConfig#max_heap_table_size}. MaxHeapTableSize *float64 `field:"optional" json:"maxHeapTableSize" yaml:"maxHeapTableSize"` // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.35.0/docs/resources/database_mysql_config#net_read_timeout DatabaseMysqlConfig#net_read_timeout}. NetReadTimeout *float64 `field:"optional" json:"netReadTimeout" yaml:"netReadTimeout"` // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.35.0/docs/resources/database_mysql_config#net_write_timeout DatabaseMysqlConfig#net_write_timeout}. NetWriteTimeout *float64 `field:"optional" json:"netWriteTimeout" yaml:"netWriteTimeout"` // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.35.0/docs/resources/database_mysql_config#slow_query_log DatabaseMysqlConfig#slow_query_log}. SlowQueryLog interface{} `field:"optional" json:"slowQueryLog" yaml:"slowQueryLog"` // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.35.0/docs/resources/database_mysql_config#sort_buffer_size DatabaseMysqlConfig#sort_buffer_size}. SortBufferSize *float64 `field:"optional" json:"sortBufferSize" yaml:"sortBufferSize"` // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.35.0/docs/resources/database_mysql_config#sql_mode DatabaseMysqlConfig#sql_mode}. SqlMode *string `field:"optional" json:"sqlMode" yaml:"sqlMode"` // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.35.0/docs/resources/database_mysql_config#sql_require_primary_key DatabaseMysqlConfig#sql_require_primary_key}. SqlRequirePrimaryKey interface{} `field:"optional" json:"sqlRequirePrimaryKey" yaml:"sqlRequirePrimaryKey"` // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.35.0/docs/resources/database_mysql_config#tmp_table_size DatabaseMysqlConfig#tmp_table_size}. TmpTableSize *float64 `field:"optional" json:"tmpTableSize" yaml:"tmpTableSize"` // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.35.0/docs/resources/database_mysql_config#wait_timeout DatabaseMysqlConfig#wait_timeout}. WaitTimeout *float64 `field:"optional" json:"waitTimeout" yaml:"waitTimeout"` }