{"id":18401404,"url":"https://github.com/dozyio/paramcache","last_synced_at":"2025-08-17T08:04:15.643Z","repository":{"id":57538192,"uuid":"286779965","full_name":"dozyio/paramcache","owner":"dozyio","description":"SSM / AWS systems manager parameter store cache for Go Lambdas","archived":false,"fork":false,"pushed_at":"2021-01-30T17:57:50.000Z","size":17,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-12T17:55:58.929Z","etag":null,"topics":["go","lambda","lambda-functions","ssm","systems-manager"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dozyio.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-08-11T15:26:48.000Z","updated_at":"2021-01-30T17:57:37.000Z","dependencies_parsed_at":"2022-09-07T17:35:28.863Z","dependency_job_id":null,"html_url":"https://github.com/dozyio/paramcache","commit_stats":null,"previous_names":[],"tags_count":11,"template":false,"template_full_name":null,"purl":"pkg:github/dozyio/paramcache","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dozyio%2Fparamcache","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dozyio%2Fparamcache/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dozyio%2Fparamcache/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dozyio%2Fparamcache/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dozyio","download_url":"https://codeload.github.com/dozyio/paramcache/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dozyio%2Fparamcache/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":270820793,"owners_count":24651534,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-08-17T02:00:09.016Z","response_time":129,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["go","lambda","lambda-functions","ssm","systems-manager"],"created_at":"2024-11-06T02:38:43.329Z","updated_at":"2025-08-17T08:04:15.615Z","avatar_url":"https://github.com/dozyio.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ParamCache - A Go SSM Parameter Store Cache\n\nParamCache is used in AWS Go Lambdas when cold booting to save repeated lookups on subsequent invocations.\nAssumes SSM / AWS Systems Manager is in the same region as the lambda.\n\nCache configurable via lambda environment variables:\n\nSSM_CACHE_ENABLE string (default \"TRUE\")\n\nSSM_CACHE_VERBOSE string (default \"FALSE\")\n\nSSM_CACHE_TIMEOUT int (default 300 seconds)\n\n\n# Usage\n```go\nimport \"github.com/dozyio/paramcache\"\n\n...\n\ntableName, err := paramcache.GetParameterStoreValue(\"dynamodb_table_name\")\nif err != nil {\n\t//handle error\n}\nlog.Printf(\"%s\\n\", *tableName.Parameter.Value)\n```\n\n# Example: Cache timeout per parameter\nIt is possible to set a cache timeout value per parameter. The example below sets a 20 second cache for \"dynamodb_table_name\". \n```go\ntableName, err := paramcache.GetParameterStoreValue(\"dynamodb_table_name\", 20)\n```\n\n# Example: Don't cache a parameter\nSetting a cache timeout of 0 will not add the parameter to the cache\n```go\ntableName, err := paramcache.GetParameterStoreValue(\"dynamodb_table_name\", 0)\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdozyio%2Fparamcache","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdozyio%2Fparamcache","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdozyio%2Fparamcache/lists"}