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.
Nguồn gốc
- Digest nội dung
- sha256:6fff733f15b45ef7a83a27a37eaff617f005a4488a6658715dd2199042fd6213
- Đã xuất bản
- 2026-11-10T10:17:54Z
- 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:51cdd734d5c091fe472ad8b79717142f6925624e9efdc6db2426d5da92f8c668
Tham chiếu ở phiên bản này
oci://hub.aggrega.ai/recipe/cloudformation/rabbitmq-amazon-mq:1.0.0- Đích
- —
- Triển khai
- core/messaging/rabbitmq: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 |
|---|---|
| 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
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 |
|---|---|
| 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 }} |
Á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 khaihợp đồng tương thích
core/messaging/rabbitmq:1.0.0
Tất cả đầu ra bắt buộc đều được đáp ứng và mọi đầu ra được cung cấp đều được nêu tên trong hợp đồng.
Được sử dụng bởi
Không có gì trong danh mục phụ thuộc vào thực thể này.