Recipe
memcached-elasticache
Memcached on Amazon ElastiCache, rendered as a CloudFormation fragment: one AWS::ElastiCache::CacheCluster of infra.replicas nodes, and a parameter group beside it where max_item_size 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/memcached-elasticache on terraform, and memcached on helm or on compose, where it runs as a container. host publishes a CloudFormation reference to the cluster's configuration endpoint 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, and infra.engine_version must name a full version ElastiCache offers, such as 1.6.22. A value ElastiCache cannot apply — memory_limit, max_connections, threads, a password — halts the build naming the key; compute is not read. With infra.client_tls true the service encrypts in transit and protocol is memcached-tls.
Herkunft
- Inhalts-Digest
- sha256:c27a8a1f08eb8a333af2aaaf6dd68071a866d9606c73611c5d814e7caa2a9153
- Veröffentlicht
- 2026-11-10T10:17:47Z
- Signaturidentität
- https://token.actions.githubusercontent.com/https://github.com/aggrega-ai/aggrega-hub/.github/workflows/catalog-publish-sign.yml@refs/heads/main
Signatur
- Offiziellapplication/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:60cb8075369032c774eff0ee3aa5ef89d333ead5b3706f9e19841a2e6d8243bb
Referenz zu dieser Version
oci://hub.aggrega.ai/recipe/cloudformation/memcached-elasticache:1.0.0- Ziel
- —
- Implementiert
- core/datastore/memcached:1.0.0
Stellt bereit
Deterministische Zeigervorlagen, die dieses Rezept für Konsumenten verdrahtet.
| Name | Vorlage |
|---|---|
| host | {{ if .locals.operator_host }}{{ .locals.operator_host }}{{ else }}!GetAtt {{ .locals.logical_id }}.ConfigurationEndpoint.Address{{ end }} |
| port | {{ .infra.port }} |
| protocol | {{ if .infra.client_tls }}memcached-tls{{ else }}memcached{{ end }} |
Workload
Keine Workload-Vorlage deklariert.
Lokale Variablen
| Name | Vorlage |
|---|---|
| logical_id | {{ capitalizedWords .context.instance_id }} |
| engine_version | {{ regexFind `^[0-9]+(\.[0-9]+)*` (toString .infra.engine_version) }} |
| family | {{ $p := splitList "." .locals.engine_version }}{{ if ge (len $p) 2 }}memcached{{ index $p 0 }}.{{ index $p 1 }}{{ end }} |
| item_size | {{ with optional .values "max_item_size" "" }}{{ $s := toString . }}{{ $n := regexFind `^[0-9]+` $s }}{{ $u := lower (trimPrefix $n $s) }}{{ if eq $u "k" }}{{ mul (int $n) 1024 }}{{ else if eq $u "m" }}{{ mul (int $n) 1048576 }}{{ else }}{{ $n }}{{ end }}{{ end }} |
| operator_host | {{ $h := optional (optional .infra "overrides" dict) "host" "" }}{{ if typeIs "string" $h }}{{ $h }}{{ end }} |
Wertezuordnung
Keine Wertezuordnung deklariert.
Beziehungen
Typisierte Kanten zu und von anderen veröffentlichten Entitäten. Eine Referenz ohne veröffentlichtes Ziel wird als unterbrochene Kante statt als Link dargestellt.
Verwendet
- implementiertimplementiertVertrag kompatibel
core/datastore/memcached:1.0.0
Alle erforderlichen Ausgaben sind erfüllt, und jede bereitgestellte Ausgabe ist im Vertrag genannt.
Verwendet von
Nichts im Katalog hängt von dieser Entität ab.