alicloud_db_read_write_splitting_connectionNivis 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_typeinstance_id
Optional arguments
connection_prefix(defaults tonull)id(defaults tonull)max_delay_time(defaults tonull)port(defaults tonull)weight(defaults tonull)
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.