aws_lightsail_distributionNivis 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 tonull)id(defaults tonull)ip_address_type(defaults tonull)is_enabled(defaults tonull)cfg_name(defaults tonull)region(defaults tonull)tags(defaults tonull)tags_all(defaults tonull)cache_behavior(defaults tonull)cache_behavior_settings(defaults tonull)default_cache_behavior(defaults tonull)origin(defaults tonull)timeouts(defaults tonull)
Computed outputs
Read these from the resource's refAttr:
alternative_domain_namesarncreated_atdomain_namelocationorigin_public_dnsresource_typestatussupport_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.