alicloud_db_read_write_splitting_connection

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

Constructor
{
  name,
  distribution_type,
  instance_id,
  connection_prefix ? null,
  id ? null,
  max_delay_time ? null,
  port ? null,
  weight ? null,
  overrides ? {}
}
Required arguments
  • distribution_type
  • instance_id
Optional arguments
  • connection_prefix (defaults to null)
  • id (defaults to null)
  • max_delay_time (defaults to null)
  • port (defaults to null)
  • weight (defaults to null)
Computed outputs

Read these from the resource's refAttr:

  • connection_string
Example
alicloud_db_read_write_splitting_connection {
  name = "db_read_write_splitting_connection";
  distribution_type = …;  # required
  instance_id = …;  # required
}

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