Recipe
rabbitmq-amazon-mq
RabbitMQ on Amazon MQ, rendered as a CloudFormation fragment: one AWS::AmazonMQ::Broker in the operator's VPC. The cloudformation provider stamps the stack envelope and projects this Recipe's provides into the stack Outputs. Reach for it where the broker is an Amazon MQ broker in a CloudFormation stack; reach for terraform/rabbitmq-amazon-mq on terraform, and rabbitmq or rabbitmq-cluster on helm, or rabbitmq on compose, where it runs as a container. Amazon MQ serves AMQP over TLS alone, so port is 5671 and protocol amqps, which is what tells a consumer to connect over TLS. host publishes the host of the broker's AMQP endpoint, read out of the endpoint URL when the stack deploys, inside the stack and through its export; infra.overrides.host publishes the operator's DNS name instead, which a client checking the certificate cannot use, since the certificate names the broker's own endpoint. The password is required: with nothing attached the build halts naming the slot. It is the secret core/random-password creates in the stack, handed over as a Secrets Manager dynamic reference, so the rendered template carries none, and the attachment must leave values.symbols off and keep values.length at 12 or more, as the service's password rules need. Any other credential halts. infra.overrides.SubnetIds is required. infra.engine_version must name a version the service offers, so the Component's default halts here; the container-sizing, port and controller keys, and values.metrics_enabled, halt away from the Component's defaults.
出處
- 內容摘要
- sha256:6fff733f15b45ef7a83a27a37eaff617f005a4488a6658715dd2199042fd6213
- 發布時間
- 2026-11-10T10:17:54Z
- 簽署身分
- 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:51cdd734d5c091fe472ad8b79717142f6925624e9efdc6db2426d5da92f8c668
此版本的參照
oci://hub.aggrega.ai/recipe/cloudformation/rabbitmq-amazon-mq:1.0.0- 目標
- —
- 實作
- core/messaging/rabbitmq:1.0.0
提供
此配方為使用端連接的確定性指標範本。
| 名稱 | 範本 |
|---|---|
| host | {{ if .locals.operator_host }}{{ .locals.operator_host }}{{ else }}!Select [0, !Split [":", !Select [1, !Split ["//", !Select [0, !GetAtt {{ .locals.logical_id }}.AmqpEndpoints]]]]]{{ end }} |
| port | 5671 |
| protocol | amqps |
| metrics_endpoint | |
| metrics_service | |
| metrics_service_port | |
| metrics_path |
Workload
未宣告任何工作負載範本。
Locals
| 名稱 | 範本 |
|---|---|
| logical_id | {{ capitalizedWords .context.instance_id }} |
| engine_version | {{ regexFind `^[0-9]+\.[0-9]+` (toString .infra.engine_version) }} |
| instance_type | {{ optional (optional .infra "overrides" dict) "HostInstanceType" "mq.m7g.medium" }} |
| deployment_mode | {{ optional (optional .infra "overrides" dict) "DeploymentMode" "SINGLE_INSTANCE" }} |
| operator_host | {{ $h := optional (optional .infra "overrides" dict) "host" "" }}{{ if typeIs "string" $h }}{{ $h }}{{ end }} |
值對應
未宣告任何值對應。
關係
與其他已發布實體之間具型別的邊。沒有已發布目標的參照,會渲染為中斷的邊,而不是連結。
使用
- 實作實作契約相容
core/messaging/rabbitmq:1.0.0
所有必要的輸出都已滿足,且每個提供的輸出都在契約中列名。
被使用於
目錄中沒有任何項目相依於此實體。