aws_lightsail_distribution

Nivis Nix constructor for the aws_lightsail_distribution 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,
  bundle_id,
  certificate_name ? null,
  id ? null,
  ip_address_type ? null,
  is_enabled ? null,
  cfg_name ? null,
  region ? null,
  tags ? null,
  tags_all ? null,
  cache_behavior ? null,
  cache_behavior_settings ? null,
  default_cache_behavior ? null,
  origin ? null,
  timeouts ? null,
  overrides ? {}
}
Required arguments
  • bundle_id
Optional arguments
  • certificate_name (defaults to null)
  • id (defaults to null)
  • ip_address_type (defaults to null)
  • is_enabled (defaults to null)
  • cfg_name (defaults to null)
  • region (defaults to null)
  • tags (defaults to null)
  • tags_all (defaults to null)
  • cache_behavior (defaults to null)
  • cache_behavior_settings (defaults to null)
  • default_cache_behavior (defaults to null)
  • origin (defaults to null)
  • timeouts (defaults to null)
Computed outputs

Read these from the resource's refAttr:

  • alternative_domain_names
  • arn
  • created_at
  • domain_name
  • location
  • origin_public_dns
  • resource_type
  • status
  • support_code
Example
aws_lightsail_distribution {
  name = "lightsail_distribution";
  bundle_id = …;  # required
}

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