CloudWatch dashboard for ALB, Fargate Service, and RDS Aurora Serverless
Install Node.js and npm first!
npm i @cfn-modules/cloudwatch-dashboard
---
AWSTemplateFormatVersion: '2010-09-09'
Description: 'cfn-modules example'
Resources:
Dashboard:
Type: 'AWS::CloudFormation::Stack'
Properties:
Parameters:
DashboardName: 'My Dashboard'
AlbModule: !GetAtt 'Alb.Outputs.StackName' # optional
FargateServiceModule: !GetAtt 'FargateService.Outputs.StackName'
RdsAuroraServerlessModule: !GetAtt 'RdsAuroraServerless.Outputs.StackName'
TemplateURL: './node_modules/@cfn-modules/cloudwatch-dashboard/module.yml'
Name | Description | Default | Required? | Allowed values |
---|---|---|---|---|
DashboardName | The name for the dashboard | yes | Only A-Z, a-z, 0-9, -, and _ are supported. Max 255 characters. | |
AlbModule | Stack name of alb module | no | ||
FargateServiceModule | Stack name of fargate-service module | no | ||
RdsAuroraServerlessModule | Stack name of rds-aurora-serverles module | no |