aws_alb_target_group_attachment

Nivis Nix constructor for the aws_alb_target_group_attachment 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,
  target_group_arn,
  target_id,
  availability_zone ? null,
  id ? null,
  port ? null,
  quic_server_id ? null,
  region ? null,
  overrides ? {}
}
Required arguments
  • target_group_arn
  • target_id
Optional arguments
  • availability_zone (defaults to null)
  • id (defaults to null)
  • port (defaults to null)
  • quic_server_id (defaults to null)
  • region (defaults to null)
Computed outputs

Read these from the resource's refAttr:

  • (none)
Example
aws_alb_target_group_attachment {
  name = "alb_target_group_attachment";
  target_group_arn = …;  # required
  target_id = …;  # required
}

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