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

Recipe

function-lambda

The generic event-driven compute primitive as one AWS Lambda function run from a container image, by the terraform-aws-modules project's Lambda module, terraform-aws-modules/lambda/aws at v8.12.0, Apache-2.0, fetched from its git repository at that tag and pinned in the entity.lock beside this Recipe. Its packaging, which runs Python on the applying machine, is off, as an image function has no package. 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 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 last two 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 the published version, serving invocations of that version. 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.

来源

官方由本目录认定为官方发布者的签名身份签名。
内容摘要
sha256:ecd468367871457b4ca664e73cd019b11e4ea62a44e134477c2319a9d274a8ea
发布时间
2026-11-10T10:28:19Z
签名身份
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:fd58f75147d37d2e540cf770df1f99546af1001eab3ec2dca9809790278bc6c6

此版本的引用

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

提供

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

未声明 provides 模板。

Workload

未声明工作负载模板。

局部变量

名称模板
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 设计系统构建。

隐私