{"id":23445144,"url":"https://github.com/eoinsha/cloudwatch-dashboard-types","last_synced_at":"2026-05-10T06:42:55.996Z","repository":{"id":206053747,"uuid":"715249800","full_name":"eoinsha/cloudwatch-dashboard-types","owner":"eoinsha","description":"TypeScript definitions for AWS CloudWatch Dashboards","archived":false,"fork":false,"pushed_at":"2023-12-13T11:25:27.000Z","size":102,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-16T20:18:21.624Z","etag":null,"topics":["alarms","aws","cloudwatch","dashboard","graphs","json","logs","metrics","widgets"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/eoinsha.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2023-11-06T19:06:45.000Z","updated_at":"2023-12-13T11:25:29.000Z","dependencies_parsed_at":null,"dependency_job_id":"85ad49e7-9af8-429f-a42f-0567c9889548","html_url":"https://github.com/eoinsha/cloudwatch-dashboard-types","commit_stats":null,"previous_names":["eoinsha/cloudwatch-dashboard-types"],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eoinsha%2Fcloudwatch-dashboard-types","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eoinsha%2Fcloudwatch-dashboard-types/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eoinsha%2Fcloudwatch-dashboard-types/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eoinsha%2Fcloudwatch-dashboard-types/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/eoinsha","download_url":"https://codeload.github.com/eoinsha/cloudwatch-dashboard-types/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248131460,"owners_count":21052819,"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","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":["alarms","aws","cloudwatch","dashboard","graphs","json","logs","metrics","widgets"],"created_at":"2024-12-23T19:29:35.894Z","updated_at":"2026-05-10T06:42:55.915Z","avatar_url":"https://github.com/eoinsha.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# CloudWatch Dashboard Types\n\nTypeScript definitions for AWS CloudWatch Dashboards.\n\nThis package provides a set of TypeScript types that make it easier to work with AWS CloudWatch Dashboard JSON. \n\n## Features\n\nComplete TypeScript types for CloudWatch Dashboard widgets, including metric widgets, log widgets, text widgets, alarm widgets, and explorer widgets.\n- Enums and type guards for CloudWatch Dashboard properties.\n- Support for CloudWatch Dashboard annotations and variables.\n\n## Installation\n\nUse the following command to install `cloudwatch-dashboard-types`:\n\n```bash\nnpm install cloudwatch-dashboard-types --save-dev\n```\n\n## Usage\n\n```typescript\nimport { Dashboard, MetricWidgetProperties, Widget } from 'cloudwatch-dashboard-types';\n\nconst myDashboard: Dashboard = {\n  widgets: [\n    {\n      type: 'metric',\n      x: 0,\n      y: 0,\n      width: 12,\n      height: 6,\n      properties: { /* ... */ } as MetricWidgetProperties,\n    },\n    // Add more widgets...\n  ],\n};\n```\n\n## Testing\nA set of sample dashboards and other objects are declared in the modules within `tests/`.  These are taken from various sources and aim to provide validation that the type coverage is accurate.\n\nLinting and testing of all types can be run with:\n```bash\nnpm test\n```\n\n## Contributing\nContributions are welcome! Please feel free to submit a Pull Request or open an issue if you have feedback or suggestions for improvement.\n\n## License\nThis project is licensed under the MIT License - see the LICENSE file for details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feoinsha%2Fcloudwatch-dashboard-types","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Feoinsha%2Fcloudwatch-dashboard-types","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feoinsha%2Fcloudwatch-dashboard-types/lists"}