问题
I wanted to create an AWS Dashboard using cloudformation but did find a way. Guess AWS has not yet added support for that.
As an alternative is it possible to create that using AWS CLI
回答1:
AWS just announced support for this.
https://aws.amazon.com/blogs/aws/new-api-cloudformation-support-for-amazon-cloudwatch-dashboards/
CloudFormation documentation is also available: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cw-dashboard.html
回答2:
If I'm correct your question is concerns Resource Groups. It is not possible at this time to create Resource Group in Cloud Formation Templates or via the awscli.
Resource Groups are tied to a User, not an account - so it's not possible to define them at an account level and allow Users to access them.
It's possible for a User to 'Share' a Resource Group they've created by passing a URL to another User.
来源:https://stackoverflow.com/questions/39747550/is-there-a-way-to-create-aws-dashboard-using-cloudformation-or-aws-cli