Recipe
redis-elasticache
Redis OSS on Amazon ElastiCache, rendered as a CloudFormation fragment: one AWS::ElastiCache::ReplicationGroup with cluster mode disabled and one node, encrypted at rest, and a parameter group beside it where maxmemory_policy or databases is set. The cloudformation provider stamps the stack envelope and projects this Recipe's provides into the stack Outputs. ElastiCache runs Redis OSS up to 7.1, so infra.engine_version takes 7.1, 7.0, 6.2, 6.0, 5.0.6 or 4.0.10, read off the start of the value; from 8 on it halts naming the key, the Component's default included, so the Release sets the version on this target. ElastiCache serves vector search on Valkey alone, so vector_search is empty and a gateway's semantic cache halts on this store. Reach for this realization where the cache is an ElastiCache service in a CloudFormation stack; reach for terraform/redis-elasticache on terraform, cloudformation/valkey-elasticache for a newer engine, or redis on helm or compose where it runs as a container. host is a reference to the primary endpoint's address, or infra.overrides.host while set; port is infra.port. infra.overrides.CacheSubnetGroupName is required. maxmemory, appendonly, persistence, infra.overrides.image, and databases below 6.0 halt naming the key; compute and storage are not read. With infra.client_tls the service encrypts in transit and protocol is redis-tls; an attached password becomes the AUTH token through a Secrets Manager dynamic reference, and needs client_tls.
Nguồn gốc
- Digest nội dung
- sha256:91f444d82c7f17fee817d97779d7eddcd5267cafc111df7c84d7dcf6962440da
- Đã xuất bản
- 2026-11-10T10:17:58Z
- 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:ab421487c2685237a0a2db6fd6f584e1d696f2175bd94673c7a52fce7776c2b5
Tham chiếu ở phiên bản này
oci://hub.aggrega.ai/recipe/cloudformation/redis-elasticache:1.0.0- Đích
- —
- Triển khai
- core/datastore/redis: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 }}!GetAtt {{ .locals.logical_id }}.PrimaryEndPoint.Address{{ end }} |
| port | {{ .infra.port }} |
| protocol | {{ if .infra.client_tls }}redis-tls{{ else }}redis{{ end }} |
| vector_search |
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_major | {{ regexFind `^[0-9]+` (toString .infra.engine_version) }} |
| engine_version | {{ $t := toString .infra.engine_version }}{{ if and .locals.engine_major (ge (atoi .locals.engine_major) 6) }}{{ regexFind `^[0-9]+\.[0-9]+` $t }}{{ else }}{{ regexFind `^[0-9]+\.[0-9]+\.[0-9]+` $t }}{{ end }} |
| family | {{ $m := .locals.engine_major }}{{ if eq $m "6" }}redis6.x{{ else if and $m (ge (atoi $m) 7) }}redis{{ $m }}{{ else }}redis{{ regexFind `^[0-9]+\.[0-9]+` .locals.engine_version }}{{ end }} |
| 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/datastore/redis: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.