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.
Nguồn gốc
- Digest nội dung
- sha256:25074337fa0ad55706c3a3779a540d1c91cb4856ae01dbfb645e8fc4900e60e7
- Đã xuất bản
- 2026-11-10T10:14:37Z
- Danh tính ký
- https://token.actions.githubusercontent.com/https://github.com/aggrega-ai/aggrega-hub/.github/workflows/catalog-publish-sign.yml@refs/heads/main
Chữ ký
- Chính thứcapplication/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
Tham chiếu ở phiên bản này
oci://hub.aggrega.ai/featurerecipe/cloudformation/storage-alarm:1.0.0- Đích
- —
- Triển khai
- example/storage-alarm:1.0.0
Cung cấp
Các mẫu con trỏ xác định mà công thức này nối cho bên tiêu thụ.
| Tên | Mẫu |
|---|---|
| alarm-id | !Ref {{ .locals.alarm_id }} |
Workload
Chưa khai báo mẫu khối lượng công việc nào.
Giá trị cục bộ
| Tên | Mẫu |
|---|---|
| host_id | {{ capitalizedWords .context.instance_id }} |
| alarm_id | {{ capitalizedWords (printf "%s %s" .context.instance_id .attachment_name) }} |
Ánh xạ values
Chưa khai báo ánh xạ values nào.
Quan hệ
Các cạnh có kiểu đi tới và đi từ các thực thể đã xuất bản khác. Một tham chiếu không có đích đã xuất bản được hiển thị là một cạnh bị đứt thay vì một liên kết.
Sử dụng
- triển khaitriển khai
example/storage-alarm:1.0.0
Được sử dụng bởi
Không có gì trong danh mục phụ thuộc vào thực thể này.