alicloud_rds_db_proxy

Nivis Nix constructor for the alicloud_rds_db_proxy 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,
  db_proxy_instance_num,
  instance_id,
  instance_network_type,
  vpc_id,
  vswitch_id,
  db_proxy_connect_string_port ? null,
  db_proxy_connection_prefix ? null,
  db_proxy_endpoint_read_write_mode ? null,
  db_proxy_features ? null,
  db_proxy_instance_type ? null,
  db_proxy_ssl_enabled ? null,
  effective_specific_time ? null,
  effective_time ? null,
  id ? null,
  read_only_instance_distribution_type ? null,
  read_only_instance_max_delay_time ? null,
  resource_group_id ? null,
  switch_time ? null,
  upgrade_time ? null,
  read_only_instance_weight ? null,
  timeouts ? null,
  overrides ? {}
}
Required arguments
  • db_proxy_instance_num
  • instance_id
  • instance_network_type
  • vpc_id
  • vswitch_id
Optional arguments
  • db_proxy_connect_string_port (defaults to null)
  • db_proxy_connection_prefix (defaults to null)
  • db_proxy_endpoint_read_write_mode (defaults to null)
  • db_proxy_features (defaults to null)
  • db_proxy_instance_type (defaults to null)
  • db_proxy_ssl_enabled (defaults to null)
  • effective_specific_time (defaults to null)
  • effective_time (defaults to null)
  • id (defaults to null)
  • read_only_instance_distribution_type (defaults to null)
  • read_only_instance_max_delay_time (defaults to null)
  • resource_group_id (defaults to null)
  • switch_time (defaults to null)
  • upgrade_time (defaults to null)
  • read_only_instance_weight (defaults to null)
  • timeouts (defaults to null)
Computed outputs

Read these from the resource's refAttr:

  • db_proxy_connection_string
  • db_proxy_endpoint_aliases
  • db_proxy_endpoint_id
  • net_type
  • ssl_expired_time
Example
alicloud_rds_db_proxy {
  name = "rds_db_proxy";
  db_proxy_instance_num = …;  # required
  instance_id = …;  # required
  instance_network_type = …;  # required
  vpc_id = …;  # required
  vswitch_id = …;  # required
}

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