aws_cloudfront_cache_policy

Nivis Nix constructor for the aws_cloudfront_cache_policy 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,
  comment ? null,
  default_ttl ? null,
  id ? null,
  max_ttl ? null,
  min_ttl ? null,
  cfg_name ? null,
  parameters_in_cache_key_and_forwarded_to_origin ? null,
  overrides ? {}
}
Required arguments

_None._

Optional arguments
  • comment (defaults to null)
  • default_ttl (defaults to null)
  • id (defaults to null)
  • max_ttl (defaults to null)
  • min_ttl (defaults to null)
  • cfg_name (defaults to null)
  • parameters_in_cache_key_and_forwarded_to_origin (defaults to null)
Computed outputs

Read these from the resource's refAttr:

  • arn
  • etag
Example
aws_cloudfront_cache_policy {
  name = "cloudfront_cache_policy";
}

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