aws_db_proxy_target

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

Constructor
{
  name,
  db_proxy_name,
  target_group_name,
  db_cluster_identifier ? null,
  db_instance_identifier ? null,
  id ? null,
  region ? null,
  overrides ? {}
}
Required arguments
  • db_proxy_name
  • target_group_name
Optional arguments
  • db_cluster_identifier (defaults to null)
  • db_instance_identifier (defaults to null)
  • id (defaults to null)
  • region (defaults to null)
Computed outputs

Read these from the resource's refAttr:

  • endpoint
  • port
  • rds_resource_id
  • target_arn
  • tracked_cluster_id
  • type
Example
aws_db_proxy_target {
  name = "db_proxy_target";
  db_proxy_name = …;  # required
  target_group_name = …;  # required
}

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