alicloud_fcv2_functionNivis 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_namehandlerruntimeservice_name
Optional arguments
ca_port(defaults tonull)code_checksum(defaults tonull)cpu(defaults tonull)description(defaults tonull)disk_size(defaults tonull)environment_variables(defaults tonull)gpu_memory_size(defaults tonull)id(defaults tonull)initialization_timeout(defaults tonull)initializer(defaults tonull)instance_concurrency(defaults tonull)instance_type(defaults tonull)layers(defaults tonull)memory_size(defaults tonull)timeout(defaults tonull)code(defaults tonull)custom_container_config(defaults tonull)custom_dns(defaults tonull)custom_health_check_config(defaults tonull)custom_runtime_config(defaults tonull)instance_lifecycle_config(defaults tonull)timeouts(defaults tonull)
Computed outputs
Read these from the resource's refAttr:
create_timefunction_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.