本页面为机器翻译。阅读英文原文。

Recipe

function-lambda

The generic event-driven compute primitive as one AWS Lambda function run from a container image, rendered as a CloudFormation fragment the provider assembles into the boundary's stack. Reach for it where the target is an AWS account; reach for helm/function-knative or helm/function-keda on Kubernetes. Only the function is emitted, with a published version holding provisioned concurrency for a floor: no role, log group, trigger, URL or event source mapping: what invokes it, its role and its log group are the operator's, the role required under infra.overrides. The image is in Amazon ECR, in the function's Region, and implements Lambda's runtime API — an AWS base image for Lambda, or a linux/amd64 image with a runtime interface client; one serving HTTP carries an adapter forwarding Lambda's invocations. An image outside ECR is refused by name. compute.memory is the function's memory, max_replicas its reserved concurrency, and a min_replicas above zero provisioned concurrency on a version published at each change, serving invocations of that version; as a replaced version holds its share until deleted, the floor is half the ceiling at most. port, compute.cpu, control_plane_present and scaler are not read; the comment above the assertions gives each reason. Each env entry an edge or the component's own inject block dictates becomes a variable of the function's environment, its value written whole; runtime arrives by default as FUNCTION_RUNTIME. A name Lambda reserves or cannot take, or FUNCTION_RUNTIME while it is that default, is refused by name, and so are file, arg and other entries. It is written as a fragment, as the catalog writes its CloudFormation Recipes.

来源

官方由本目录认定为官方发布者的签名身份签名。
内容摘要
sha256:57a1228c6950212cd54dcc33e1a432e2d6697f4f397604fba36baa06eed3174d
发布时间
2026-11-10T10:17:44Z
签名身份
https://token.actions.githubusercontent.com/https://github.com/aggrega-ai/aggrega-hub/.github/workflows/catalog-publish-sign.yml@refs/heads/main

签名

  • 官方application/vnd.dev.sigstore.bundle.v0.3+json

    https://token.actions.githubusercontent.com/https://github.com/aggrega-ai/aggrega-hub/.github/workflows/catalog-publish-sign.yml@refs/heads/main

    sha256:cb94636022518701bd559bf7f73788d21d8fe864b2cf19a40598f179f7323745

此版本的引用

oci://hub.aggrega.ai/recipe/cloudformation/function-lambda:1.0.0
目标
—
实现
core/compute/function:1.0.0

提供

此配方为使用方接入的确定性指针模板。

未声明 provides 模板。

Workload

未声明工作负载模板。

局部变量

名称模板
logical_id{{ capitalizedWords .context.instance_id }}
memory_mib{{- $m := toString (optional (optional .infra "compute" dict) "memory" "") -}} {{- if regexMatch `^[0-9]+Mi function-lambda 1.0.0 · Aggrega 目录 $m -}}{{ atoi (trimSuffix "Mi" $m) }} {{- else if regexMatch `^[0-9]+Gi function-lambda 1.0.0 · Aggrega 目录 $m -}}{{ mul (atoi (trimSuffix "Gi" $m)) 1024 }} {{- end -}}

值映射

未声明值映射。

关系

与其他已发布实体之间的类型化边。没有已发布目标的引用会呈现为断开的边,而不是链接。

使用

被使用

目录中没有任何内容依赖此实体。

Recipe 概念参考 →

Aggrega 目录 — 收录组件、功能、配方以及渲染它们的插件的开放索引。

基于共享的 Aggrega 设计系统构建。

隐私