Documentation ¶
Index ¶
- func DatabaseKafkaConfig_GenerateConfigForImport(scope constructs.Construct, importToId *string, importFromId *string, ...) cdktf.ImportableResource
- func DatabaseKafkaConfig_IsConstruct(x interface{}) *bool
- func DatabaseKafkaConfig_IsTerraformElement(x interface{}) *bool
- func DatabaseKafkaConfig_IsTerraformResource(x interface{}) *bool
- func DatabaseKafkaConfig_TfResourceType() *string
- func NewDatabaseKafkaConfig_Override(d DatabaseKafkaConfig, scope constructs.Construct, id *string, ...)
- type DatabaseKafkaConfig
- type DatabaseKafkaConfigConfig
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DatabaseKafkaConfig_GenerateConfigForImport ¶
func DatabaseKafkaConfig_GenerateConfigForImport(scope constructs.Construct, importToId *string, importFromId *string, provider cdktf.TerraformProvider) cdktf.ImportableResource
Generates CDKTF code for importing a DatabaseKafkaConfig resource upon running "cdktf plan <stack-name>".
func DatabaseKafkaConfig_IsConstruct ¶
func DatabaseKafkaConfig_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 DatabaseKafkaConfig_IsTerraformElement ¶
func DatabaseKafkaConfig_IsTerraformElement(x interface{}) *bool
Experimental.
func DatabaseKafkaConfig_IsTerraformResource ¶
func DatabaseKafkaConfig_IsTerraformResource(x interface{}) *bool
Experimental.
func DatabaseKafkaConfig_TfResourceType ¶
func DatabaseKafkaConfig_TfResourceType() *string
func NewDatabaseKafkaConfig_Override ¶
func NewDatabaseKafkaConfig_Override(d DatabaseKafkaConfig, scope constructs.Construct, id *string, config *DatabaseKafkaConfigConfig)
Create a new {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.44.1/docs/resources/database_kafka_config digitalocean_database_kafka_config} Resource.
Types ¶
type DatabaseKafkaConfig ¶
type DatabaseKafkaConfig interface { cdktf.TerraformResource AutoCreateTopicsEnable() interface{} SetAutoCreateTopicsEnable(val interface{}) AutoCreateTopicsEnableInput() interface{} // Experimental. CdktfStack() cdktf.TerraformStack ClusterId() *string SetClusterId(val *string) ClusterIdInput() *string // Experimental. Connection() interface{} // Experimental. SetConnection(val interface{}) // Experimental. ConstructNodeMetadata() *map[string]interface{} // Experimental. Count() interface{} // Experimental. SetCount(val interface{}) // Experimental. DependsOn() *[]*string // Experimental. SetDependsOn(val *[]*string) // Experimental. ForEach() cdktf.ITerraformIterator // Experimental. SetForEach(val cdktf.ITerraformIterator) // Experimental. Fqn() *string // Experimental. FriendlyUniqueId() *string GroupInitialRebalanceDelayMs() *float64 SetGroupInitialRebalanceDelayMs(val *float64) GroupInitialRebalanceDelayMsInput() *float64 GroupMaxSessionTimeoutMs() *float64 SetGroupMaxSessionTimeoutMs(val *float64) GroupMaxSessionTimeoutMsInput() *float64 GroupMinSessionTimeoutMs() *float64 SetGroupMinSessionTimeoutMs(val *float64) GroupMinSessionTimeoutMsInput() *float64 Id() *string SetId(val *string) IdInput() *string // Experimental. Lifecycle() *cdktf.TerraformResourceLifecycle // Experimental. SetLifecycle(val *cdktf.TerraformResourceLifecycle) LogCleanerDeleteRetentionMs() *float64 SetLogCleanerDeleteRetentionMs(val *float64) LogCleanerDeleteRetentionMsInput() *float64 LogCleanerMinCompactionLagMs() *string SetLogCleanerMinCompactionLagMs(val *string) LogCleanerMinCompactionLagMsInput() *string LogFlushIntervalMs() *string SetLogFlushIntervalMs(val *string) LogFlushIntervalMsInput() *string LogIndexIntervalBytes() *float64 SetLogIndexIntervalBytes(val *float64) LogIndexIntervalBytesInput() *float64 LogMessageDownconversionEnable() interface{} SetLogMessageDownconversionEnable(val interface{}) LogMessageDownconversionEnableInput() interface{} LogMessageTimestampDifferenceMaxMs() *string SetLogMessageTimestampDifferenceMaxMs(val *string) LogMessageTimestampDifferenceMaxMsInput() *string LogPreallocate() interface{} SetLogPreallocate(val interface{}) LogPreallocateInput() interface{} LogRetentionBytes() *string SetLogRetentionBytes(val *string) LogRetentionBytesInput() *string LogRetentionHours() *float64 SetLogRetentionHours(val *float64) LogRetentionHoursInput() *float64 LogRetentionMs() *string SetLogRetentionMs(val *string) LogRetentionMsInput() *string LogRollJitterMs() *string SetLogRollJitterMs(val *string) LogRollJitterMsInput() *string LogSegmentDeleteDelayMs() *float64 SetLogSegmentDeleteDelayMs(val *float64) LogSegmentDeleteDelayMsInput() *float64 MessageMaxBytes() *float64 SetMessageMaxBytes(val *float64) MessageMaxBytesInput() *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{} // Experimental. TerraformGeneratorMetadata() *cdktf.TerraformProviderGeneratorMetadata // Experimental. TerraformMetaArguments() *map[string]interface{} // Experimental. TerraformResourceType() *string // 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) ResetAutoCreateTopicsEnable() ResetGroupInitialRebalanceDelayMs() ResetGroupMaxSessionTimeoutMs() ResetGroupMinSessionTimeoutMs() ResetId() ResetLogCleanerDeleteRetentionMs() ResetLogCleanerMinCompactionLagMs() ResetLogFlushIntervalMs() ResetLogIndexIntervalBytes() ResetLogMessageDownconversionEnable() ResetLogMessageTimestampDifferenceMaxMs() ResetLogPreallocate() ResetLogRetentionBytes() ResetLogRetentionHours() ResetLogRetentionMs() ResetLogRollJitterMs() ResetLogSegmentDeleteDelayMs() ResetMessageMaxBytes() // Resets a previously passed logical Id to use the auto-generated logical id again. // Experimental. ResetOverrideLogicalId() 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.44.1/docs/resources/database_kafka_config digitalocean_database_kafka_config}.
func NewDatabaseKafkaConfig ¶
func NewDatabaseKafkaConfig(scope constructs.Construct, id *string, config *DatabaseKafkaConfigConfig) DatabaseKafkaConfig
Create a new {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.44.1/docs/resources/database_kafka_config digitalocean_database_kafka_config} Resource.
type DatabaseKafkaConfigConfig ¶
type DatabaseKafkaConfigConfig 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.44.1/docs/resources/database_kafka_config#cluster_id DatabaseKafkaConfig#cluster_id}. ClusterId *string `field:"required" json:"clusterId" yaml:"clusterId"` // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.44.1/docs/resources/database_kafka_config#auto_create_topics_enable DatabaseKafkaConfig#auto_create_topics_enable}. AutoCreateTopicsEnable interface{} `field:"optional" json:"autoCreateTopicsEnable" yaml:"autoCreateTopicsEnable"` // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.44.1/docs/resources/database_kafka_config#group_initial_rebalance_delay_ms DatabaseKafkaConfig#group_initial_rebalance_delay_ms}. GroupInitialRebalanceDelayMs *float64 `field:"optional" json:"groupInitialRebalanceDelayMs" yaml:"groupInitialRebalanceDelayMs"` // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.44.1/docs/resources/database_kafka_config#group_max_session_timeout_ms DatabaseKafkaConfig#group_max_session_timeout_ms}. GroupMaxSessionTimeoutMs *float64 `field:"optional" json:"groupMaxSessionTimeoutMs" yaml:"groupMaxSessionTimeoutMs"` // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.44.1/docs/resources/database_kafka_config#group_min_session_timeout_ms DatabaseKafkaConfig#group_min_session_timeout_ms}. GroupMinSessionTimeoutMs *float64 `field:"optional" json:"groupMinSessionTimeoutMs" yaml:"groupMinSessionTimeoutMs"` // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.44.1/docs/resources/database_kafka_config#id DatabaseKafkaConfig#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.44.1/docs/resources/database_kafka_config#log_cleaner_delete_retention_ms DatabaseKafkaConfig#log_cleaner_delete_retention_ms}. LogCleanerDeleteRetentionMs *float64 `field:"optional" json:"logCleanerDeleteRetentionMs" yaml:"logCleanerDeleteRetentionMs"` // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.44.1/docs/resources/database_kafka_config#log_cleaner_min_compaction_lag_ms DatabaseKafkaConfig#log_cleaner_min_compaction_lag_ms}. LogCleanerMinCompactionLagMs *string `field:"optional" json:"logCleanerMinCompactionLagMs" yaml:"logCleanerMinCompactionLagMs"` // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.44.1/docs/resources/database_kafka_config#log_flush_interval_ms DatabaseKafkaConfig#log_flush_interval_ms}. LogFlushIntervalMs *string `field:"optional" json:"logFlushIntervalMs" yaml:"logFlushIntervalMs"` // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.44.1/docs/resources/database_kafka_config#log_index_interval_bytes DatabaseKafkaConfig#log_index_interval_bytes}. LogIndexIntervalBytes *float64 `field:"optional" json:"logIndexIntervalBytes" yaml:"logIndexIntervalBytes"` // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.44.1/docs/resources/database_kafka_config#log_message_downconversion_enable DatabaseKafkaConfig#log_message_downconversion_enable}. LogMessageDownconversionEnable interface{} `field:"optional" json:"logMessageDownconversionEnable" yaml:"logMessageDownconversionEnable"` // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.44.1/docs/resources/database_kafka_config#log_message_timestamp_difference_max_ms DatabaseKafkaConfig#log_message_timestamp_difference_max_ms}. LogMessageTimestampDifferenceMaxMs *string `field:"optional" json:"logMessageTimestampDifferenceMaxMs" yaml:"logMessageTimestampDifferenceMaxMs"` // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.44.1/docs/resources/database_kafka_config#log_preallocate DatabaseKafkaConfig#log_preallocate}. LogPreallocate interface{} `field:"optional" json:"logPreallocate" yaml:"logPreallocate"` // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.44.1/docs/resources/database_kafka_config#log_retention_bytes DatabaseKafkaConfig#log_retention_bytes}. LogRetentionBytes *string `field:"optional" json:"logRetentionBytes" yaml:"logRetentionBytes"` // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.44.1/docs/resources/database_kafka_config#log_retention_hours DatabaseKafkaConfig#log_retention_hours}. LogRetentionHours *float64 `field:"optional" json:"logRetentionHours" yaml:"logRetentionHours"` // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.44.1/docs/resources/database_kafka_config#log_retention_ms DatabaseKafkaConfig#log_retention_ms}. LogRetentionMs *string `field:"optional" json:"logRetentionMs" yaml:"logRetentionMs"` // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.44.1/docs/resources/database_kafka_config#log_roll_jitter_ms DatabaseKafkaConfig#log_roll_jitter_ms}. LogRollJitterMs *string `field:"optional" json:"logRollJitterMs" yaml:"logRollJitterMs"` // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.44.1/docs/resources/database_kafka_config#log_segment_delete_delay_ms DatabaseKafkaConfig#log_segment_delete_delay_ms}. LogSegmentDeleteDelayMs *float64 `field:"optional" json:"logSegmentDeleteDelayMs" yaml:"logSegmentDeleteDelayMs"` // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.44.1/docs/resources/database_kafka_config#message_max_bytes DatabaseKafkaConfig#message_max_bytes}. MessageMaxBytes *float64 `field:"optional" json:"messageMaxBytes" yaml:"messageMaxBytes"` }