alicloud_fc_functionNivis Nix constructor for the alicloud_fc_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,
handler,
runtime,
service,
ca_port ? null,
code_checksum ? null,
description ? null,
environment_variables ? null,
filename ? null,
id ? null,
initialization_timeout ? null,
initializer ? null,
instance_concurrency ? null,
instance_type ? null,
layers ? null,
memory_size ? null,
cfg_name ? null,
name_prefix ? null,
oss_bucket ? null,
oss_key ? null,
timeout ? null,
custom_container_config ? null,
overrides ? {}
}Required arguments
handlerruntimeservice
Optional arguments
ca_port(defaults tonull)code_checksum(defaults tonull)description(defaults tonull)environment_variables(defaults tonull)filename(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)cfg_name(defaults tonull)name_prefix(defaults tonull)oss_bucket(defaults tonull)oss_key(defaults tonull)timeout(defaults tonull)custom_container_config(defaults tonull)
Computed outputs
Read these from the resource's refAttr:
function_arnfunction_idlast_modified
Example
alicloud_fc_function {
name = "fc_function";
handler = …; # required
runtime = …; # required
service = …; # required
}The reference for every provider is generated from the provider's own schema, not copied from its documentation.