-
Notifications
You must be signed in to change notification settings - Fork 17
/
CfnDashboardProps.go
36 lines (33 loc) · 1.57 KB
/
CfnDashboardProps.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
package awscloudwatch
// Properties for defining a `CfnDashboard`.
//
// Example:
// // The code below shows an example of how to instantiate this type.
// // The values are placeholders you should change.
// import "github.com/aws/aws-cdk-go/awscdk"
//
// cfnDashboardProps := &CfnDashboardProps{
// DashboardBody: jsii.String("dashboardBody"),
//
// // the properties below are optional
// DashboardName: jsii.String("dashboardName"),
// }
//
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudwatch-dashboard.html
//
type CfnDashboardProps struct {
// The detailed information about the dashboard in JSON format, including the widgets to include and their location on the dashboard.
//
// This parameter is required.
//
// For more information about the syntax, see [Dashboard Body Structure and Syntax](https://docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference/CloudWatch-Dashboard-Body-Structure.html) .
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudwatch-dashboard.html#cfn-cloudwatch-dashboard-dashboardbody
//
DashboardBody *string `field:"required" json:"dashboardBody" yaml:"dashboardBody"`
// The name of the dashboard.
//
// The name must be between 1 and 255 characters. If you do not specify a name, one will be generated automatically.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudwatch-dashboard.html#cfn-cloudwatch-dashboard-dashboardname
//
DashboardName *string `field:"optional" json:"dashboardName" yaml:"dashboardName"`
}