aws_cloudfront_connection_function

Nivis Nix constructor for the aws_cloudfront_connection_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,
  connection_function_code,
  cfg_name ? null,
  publish ? null,
  tags ? null,
  connection_function_config ? null,
  overrides ? {}
}
Required arguments
  • connection_function_code
Optional arguments
  • cfg_name (defaults to null)
  • publish (defaults to null)
  • tags (defaults to null)
  • connection_function_config (defaults to null)
Computed outputs

Read these from the resource's refAttr:

  • connection_function_arn
  • etag
  • id
  • live_stage_etag
  • status
  • tags_all
Example
aws_cloudfront_connection_function {
  name = "cloudfront_connection_function";
  connection_function_code = …;  # required
}

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