Class: Aws::CloudWatch::Types::PutDashboardInput
- Inherits:
-
Struct
- Object
- Struct
- Aws::CloudWatch::Types::PutDashboardInput
- Includes:
- Structure
- Defined in:
- lib/aws-sdk-cloudwatch/types.rb
Overview
When making an API call, you may pass PutDashboardInput data as a hash:
{
dashboard_name: "DashboardName", # required
dashboard_body: "DashboardBody", # required
}
Instance Attribute Summary collapse
-
#dashboard_body ⇒ String
The detailed information about the dashboard in JSON format, including the widgets to include and their location on the dashboard.
-
#dashboard_name ⇒ String
The name of the dashboard.
Instance Attribute Details
#dashboard_body ⇒ String
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 CloudWatch-Dashboard-Body-Structure.
1550 1551 1552 1553 1554 |
# File 'lib/aws-sdk-cloudwatch/types.rb', line 1550 class PutDashboardInput < Struct.new( :dashboard_name, :dashboard_body) include Aws::Structure end |
#dashboard_name ⇒ String
The name of the dashboard. If a dashboard with this name already exists, this call modifies that dashboard, replacing its current contents. Otherwise, a new dashboard is created. The maximum length is 255, and valid characters are A-Z, a-z, 0-9, “-”, and “_”. This parameter is required.
1550 1551 1552 1553 1554 |
# File 'lib/aws-sdk-cloudwatch/types.rb', line 1550 class PutDashboardInput < Struct.new( :dashboard_name, :dashboard_body) include Aws::Structure end |