Component
example/compute/db-reader
A minimal application that consumes a database connection. It declares a `database` uses-socket for any stateful-server datastore and injects the matched database's published host onto its injection context. Its Recipe stores that host as a whole-scalar value, so a CloudFormation Recipe can receive the database endpoint as an intrinsic reference — an intra-stack Fn::GetAtt when the database assembles into the same stack, or a cross-stack import when the database assembles into another stack.
出處
- 內容摘要
- sha256:60337835d94b81339da46ec64f35d583ad51f65afa4507721f36b1994f3030ea
- 發布時間
- 2026-11-10T10:14:21Z
- 簽署身分
- 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:72eb61922f53ffac0a6d9ab763edeec3cad6c535756f22a3cd869ced5e448620
此版本的參照
oci://hub.aggrega.ai/component/example/compute/db-reader:1.0.0開發者參數
開發者在 Aggregate 中設定的值。
| 名稱 | 型別 | 預設 | 必填 | 描述 |
|---|---|---|---|---|
| parameter_name | string | /app/db-host | 否 | Name of the parameter the application stores the database host under. |
操作員資源規格
操作員依各環境調整的基礎架構資源規格。
| 名稱 | 型別 | 預設 | 必填 | 描述 |
|---|---|---|---|---|
| tier | string | Standard | 否 | Parameter store tier. |
輸出契約
此元件透過 uses 拓撲向使用端發布的值。
未宣告任何輸出值。
Uses 插槽
此元件用來連線的相依插槽。經由插槽連接的每個連線,其目標都必須符合該插槽的標籤選擇器,且每個連線可在該插槽宣告的槽位中帶有附加項目。Aggregate 或 Release 經由該插槽連接的每個連線,都必須提供必填槽位。
database
- 選擇器
- component.aggrega.ai/type=stateful-server
- 注入
- env
此插槽未宣告任何附加槽位,因此經由它的連線不帶任何附加項目。
附加槽位
Feature 附加到此元件的具名繫結點。槽位的選擇器限制哪個 Feature 可以填入該槽位,其注入清單則指明該 Feature 的內容可以如何傳遞。必填槽位必須在每個實例上繫結,方式是在該實例上或其上層範圍中附加項目;敏感槽位則宣告用於處理機密內容。Feature 也可以附加在沒有任何槽位宣告的名稱之下。
未宣告任何附加槽位。
自我注入允許清單
env
關係
與其他已發布實體之間具型別的邊。沒有已發布目標的參照,會渲染為中斷的邊,而不是連結。
使用
- 使用使用插槽「database」
component.aggrega.ai/type=stateful-server
未宣告任何附加槽位。
core/ai-agent/dify-plugin-daemon v1.0.0 core/ai-tool/filesystem v1.0.0 core/datastore/chroma v1.0.0 core/datastore/cognee v1.0.0 core/datastore/documentdb v1.0.0 core/datastore/elasticsearch v1.0.0 core/datastore/etcd v1.0.0 core/datastore/ferretdb v1.0.0 core/datastore/mariadb v1.0.0 core/datastore/milvus v1.0.0 core/datastore/mysql v1.0.0 core/datastore/mysql-innodb-cluster v1.0.0 core/datastore/opensearch v1.0.0 core/datastore/pgvector v1.0.0 core/datastore/postgres v1.0.0 core/datastore/qdrant v1.0.0 core/datastore/timescaledb v1.0.0 core/datastore/weaviate v1.0.0 core/devtool/harbor v1.0.0 core/messaging/kafka v1.0.0 core/messaging/rabbitmq v1.0.0 core/observability/fluentd v1.0.0 core/observability/jaeger v1.0.0 core/observability/loki v1.0.0 core/observability/prometheus v1.0.0 core/observability/tempo v1.0.0 core/security/openbao v1.0.0
被使用於
使用插槽「upstream」
使用插槽「forward_target」
使用插槽「scrape_target」
使用插槽「store」
適用於
適用於
適用於
適用於
適用於
適用於
適用於
實作