aws_lightsail_lb

Nivis Nix constructor for the aws_lightsail_lb 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,
  instance_port,
  health_check_path ? null,
  id ? null,
  ip_address_type ? null,
  cfg_name ? null,
  region ? null,
  tags ? null,
  tags_all ? null,
  overrides ? {}
}
Required arguments
  • instance_port
Optional arguments
  • health_check_path (defaults to null)
  • id (defaults to null)
  • ip_address_type (defaults to null)
  • cfg_name (defaults to null)
  • region (defaults to null)
  • tags (defaults to null)
  • tags_all (defaults to null)
Computed outputs

Read these from the resource's refAttr:

  • arn
  • created_at
  • dns_name
  • protocol
  • public_ports
  • support_code
Example
aws_lightsail_lb {
  name = "lightsail_lb";
  instance_port = …;  # required
}

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