alicloud_fcv2_function

Nivis Nix constructor for the alicloud_fcv2_function resource (provider alicloud). This reference is derived from the provider binary's own schema via nivis gen — it always matches the real provider.

Constructor
{
  name,
  function_name,
  handler,
  runtime,
  service_name,
  ca_port ? null,
  code_checksum ? null,
  cpu ? null,
  description ? null,
  disk_size ? null,
  environment_variables ? null,
  gpu_memory_size ? null,
  id ? null,
  initialization_timeout ? null,
  initializer ? null,
  instance_concurrency ? null,
  instance_type ? null,
  layers ? null,
  memory_size ? null,
  timeout ? null,
  code ? null,
  custom_container_config ? null,
  custom_dns ? null,
  custom_health_check_config ? null,
  custom_runtime_config ? null,
  instance_lifecycle_config ? null,
  timeouts ? null,
  overrides ? {}
}
Required arguments
  • function_name
  • handler
  • runtime
  • service_name
Optional arguments
  • ca_port (defaults to null)
  • code_checksum (defaults to null)
  • cpu (defaults to null)
  • description (defaults to null)
  • disk_size (defaults to null)
  • environment_variables (defaults to null)
  • gpu_memory_size (defaults to null)
  • id (defaults to null)
  • initialization_timeout (defaults to null)
  • initializer (defaults to null)
  • instance_concurrency (defaults to null)
  • instance_type (defaults to null)
  • layers (defaults to null)
  • memory_size (defaults to null)
  • timeout (defaults to null)
  • code (defaults to null)
  • custom_container_config (defaults to null)
  • custom_dns (defaults to null)
  • custom_health_check_config (defaults to null)
  • custom_runtime_config (defaults to null)
  • instance_lifecycle_config (defaults to null)
  • timeouts (defaults to null)
Computed outputs

Read these from the resource's refAttr:

  • create_time
  • function_arn
Example
alicloud_fcv2_function {
  name = "fcv2_function";
  function_name = …;  # required
  handler = …;  # required
  runtime = …;  # required
  service_name = …;  # required
}

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