tencentcloud_ckafka_topic

Nivis Nix constructor for the tencentcloud_ckafka_topic resource (provider tencentcloud). This reference is derived from the provider binary's own schema via nivis gen — it always matches the real provider.

Constructor
{
  name,
  instance_id,
  partition_num,
  replica_num,
  topic_name,
  clean_up_policy ? null,
  enable_white_list ? null,
  id ? null,
  ip_white_list ? null,
  max_message_bytes ? null,
  note ? null,
  retention ? null,
  segment ? null,
  sync_replica_min_num ? null,
  unclean_leader_election_enable ? null,
  overrides ? {}
}
Required arguments
  • instance_id
  • partition_num
  • replica_num
  • topic_name
Optional arguments
  • clean_up_policy (defaults to null)
  • enable_white_list (defaults to null)
  • id (defaults to null)
  • ip_white_list (defaults to null)
  • max_message_bytes (defaults to null)
  • note (defaults to null)
  • retention (defaults to null)
  • segment (defaults to null)
  • sync_replica_min_num (defaults to null)
  • unclean_leader_election_enable (defaults to null)
Computed outputs

Read these from the resource's refAttr:

  • create_time
  • forward_cos_bucket
  • forward_interval
  • forward_status
  • message_storage_location
  • segment_bytes
Example
tencentcloud_ckafka_topic {
  name = "ckafka_topic";
  instance_id = …;  # required
  partition_num = …;  # required
  replica_num = …;  # required
  topic_name = …;  # required
}

The reference for every provider is generated from the provider's own schema, not copied from its documentation.