aws_lambda_function_url

Nivis Nix constructor for the aws_lambda_function_url 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,
  authorization_type,
  function_name,
  id ? null,
  invoke_mode ? null,
  qualifier ? null,
  region ? null,
  cors ? null,
  timeouts ? null,
  overrides ? {}
}
Required arguments
  • authorization_type
  • function_name
Optional arguments
  • id (defaults to null)
  • invoke_mode (defaults to null)
  • qualifier (defaults to null)
  • region (defaults to null)
  • cors (defaults to null)
  • timeouts (defaults to null)
Computed outputs

Read these from the resource's refAttr:

  • function_arn
  • function_url
  • url_id
Example
aws_lambda_function_url {
  name = "lambda_function_url";
  authorization_type = …;  # required
  function_name = …;  # required
}

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