Recipe
valkey-elasticache
Valkey 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. Reach for this realization where the cache is an ElastiCache service in a CloudFormation stack; reach for terraform/valkey-elasticache on terraform, and valkey or valkey-chart on helm, or valkey on compose, where it runs as a container. host publishes a CloudFormation reference to the primary endpoint's address, which resolves inside the stack and through its export, and port the configured infra.port. Set infra.overrides.host to publish the DNS name the operator points at the cache instead. infra.overrides.CacheSubnetGroupName is required. A value ElastiCache cannot apply — maxmemory, appendonly, persistence — halts the build naming the key; compute and storage are not read. With infra.client_tls true the service encrypts in transit and protocol is valkey-tls; an attached password becomes the AUTH token through a Secrets Manager dynamic reference, and needs client_tls.
Asal-usul
- Digest konten
- sha256:a8631f94210312cf7fbf24ce3711a201bf9acc7e0ff4382b5044aff5898a43d7
- Dipublikasikan
- 2026-11-10T10:18:04Z
- Identitas penandatangan
- https://token.actions.githubusercontent.com/https://github.com/aggrega-ai/aggrega-hub/.github/workflows/catalog-publish-sign.yml@refs/heads/main
Tanda tangan
- Resmiapplication/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:a1cf3242a069cea952425cf1c12b7aa2eea59bab543bb06468a7d27794a82d4c
Referensi pada versi ini
oci://hub.aggrega.ai/recipe/cloudformation/valkey-elasticache:1.0.0- Target
- —
- Mengimplementasikan
- core/datastore/valkey:1.0.0
Menyediakan
Templat pointer deterministik yang dihubungkan resep ini untuk konsumen.
| Nama | Templat |
|---|---|
| host | {{ if .locals.operator_host }}{{ .locals.operator_host }}{{ else }}!GetAtt {{ .locals.logical_id }}.PrimaryEndPoint.Address{{ end }} |
| port | {{ .infra.port }} |
| protocol | {{ if .infra.client_tls }}valkey-tls{{ else }}valkey{{ end }} |
Workload
Tidak ada templat beban kerja yang dideklarasikan.
Nilai lokal
| Nama | Templat |
|---|---|
| logical_id | {{ capitalizedWords .context.instance_id }} |
| engine_version | {{ regexFind `^[0-9]+\.[0-9]+` (toString .infra.engine_version) }} |
| family | {{ $p := splitList "." .locals.engine_version }}valkey{{ index $p 0 }} |
| operator_host | {{ $h := optional (optional .infra "overrides" dict) "host" "" }}{{ if typeIs "string" $h }}{{ $h }}{{ end }} |
Pemetaan values
Tidak ada pemetaan values yang dideklarasikan.
Relasi
Sisi bertipe ke dan dari entitas lain yang dipublikasikan. Referensi tanpa target yang dipublikasikan ditampilkan sebagai sisi yang terputus, bukan sebagai tautan.
Menggunakan
- mengimplementasikanmengimplementasikankontrak kompatibel
core/datastore/valkey:1.0.0
Semua keluaran wajib terpenuhi dan setiap keluaran yang disediakan disebutkan dalam kontrak.
Digunakan oleh
Tidak ada apa pun di katalog yang bergantung pada entitas ini.