aws_cloudfront_functionNivis Nix constructor for the aws_cloudfront_function 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,
code,
runtime,
comment ? null,
id ? null,
key_value_store_associations ? null,
cfg_name ? null,
publish ? null,
tags ? null,
tags_all ? null,
overrides ? {}
}Required arguments
coderuntime
Optional arguments
comment(defaults tonull)id(defaults tonull)key_value_store_associations(defaults tonull)cfg_name(defaults tonull)publish(defaults tonull)tags(defaults tonull)tags_all(defaults tonull)
Computed outputs
Read these from the resource's refAttr:
arnetaglive_stage_etagstatus
Example
aws_cloudfront_function {
name = "cloudfront_function";
code = …; # required
runtime = …; # required
}The reference for every provider is generated from the provider's own schema, not copied from its documentation.