Hai. It was not possible before. Well, you could alter dashboards using the console as much as you want, but programmatic modification and creation was not a feature.
But in the year 2017 AWS announced additional features using which you can modify dashboards using programmatic access and cloudformation support. Four new API' were introduced:
- ListDashboard - Fetch a list of all dashboards within an account, or a subset that share a common prefix.
- GetDashboard - Fetch details for a single dashboard.
- PutDashboard - Create a new dashboard or update an existing one.
- DeleteDashboard - Delete one or more dashboards.