aws_cloudfront_public_key

Nivis Nix constructor for the aws_cloudfront_public_key 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,
  encoded_key,
  comment ? null,
  id ? null,
  cfg_name ? null,
  name_prefix ? null,
  overrides ? {}
}
Required arguments
  • encoded_key
Optional arguments
  • comment (defaults to null)
  • id (defaults to null)
  • cfg_name (defaults to null)
  • name_prefix (defaults to null)
Computed outputs

Read these from the resource's refAttr:

  • caller_reference
  • etag
Example
aws_cloudfront_public_key {
  name = "cloudfront_public_key";
  encoded_key = …;  # required
}

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