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

FeatureRecipe

storage-alarm

CloudFormation realization of example/storage-alarm. Component-scope: it emits one CloudWatch alarm per attached component, watching the free storage of the RDS instance that component's own Recipe describes. The alarm is a fragment like any other, so it assembles into the same stack as its host component rather than into a template of its own. The alarm's own logical ID carries the identity of the scope that carries the attachment: the host component and the name the attachment is carried under, together. Composing the host alone would be enough to keep the alarm clear of the resource it watches, and not enough to keep this Feature attached twice to one component from colliding with itself — so both halves are composed. The dimension identifying which instance to watch reads the host's resource by the logical ID the standard-library CloudFormation Recipes derive — both halves derive it from the same component instance name, which is what makes them agree. Ref on an RDS instance resolves to that instance's identifier at deploy time; the compiler pipes the reference through without resolving it.

来源

官方由本目录认定为官方发布者的签名身份签名。
内容摘要
sha256:25074337fa0ad55706c3a3779a540d1c91cb4856ae01dbfb645e8fc4900e60e7
发布时间
2026-11-10T10:14:37Z
签名身份
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:6b75d2f0f880b17412c018876b4cb675b64684806e3cb16831eaf0ecde5a8e59

此版本的引用

oci://hub.aggrega.ai/featurerecipe/cloudformation/storage-alarm:1.0.0
目标
—
实现
example/storage-alarm:1.0.0

提供

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

名称模板
alarm-id!Ref {{ .locals.alarm_id }}

Workload

未声明工作负载模板。

局部变量

名称模板
host_id{{ capitalizedWords .context.instance_id }}
alarm_id{{ capitalizedWords (printf "%s %s" .context.instance_id .attachment_name) }}

值映射

未声明值映射。

关系

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

使用

被使用

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

FeatureRecipe 概念参考 →

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

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

隐私