We recommend new projects start with resources from the AWS provider.
published on Monday, May 18, 2026 by Pulumi
We recommend new projects start with resources from the AWS provider.
published on Monday, May 18, 2026 by Pulumi
Resource Type definition for AWS::CloudWatch::Dashboard
Create Dashboard Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Dashboard(name: string, args: DashboardArgs, opts?: CustomResourceOptions);@overload
def Dashboard(resource_name: str,
args: DashboardArgs,
opts: Optional[ResourceOptions] = None)
@overload
def Dashboard(resource_name: str,
opts: Optional[ResourceOptions] = None,
dashboard_body: Optional[str] = None,
dashboard_name: Optional[str] = None,
tags: Optional[Sequence[_root_inputs.TagArgs]] = None)func NewDashboard(ctx *Context, name string, args DashboardArgs, opts ...ResourceOption) (*Dashboard, error)public Dashboard(string name, DashboardArgs args, CustomResourceOptions? opts = null)
public Dashboard(String name, DashboardArgs args)
public Dashboard(String name, DashboardArgs args, CustomResourceOptions options)
type: aws-native:cloudwatch:Dashboard
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
resource "aws-native_cloudwatch_dashboard" "name" {
# resource properties
}Parameters
- name string
- The unique name of the resource.
- args DashboardArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args DashboardArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args DashboardArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args DashboardArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args DashboardArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Dashboard Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The Dashboard resource accepts the following input properties:
- 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. The name must be between 1 and 255 characters. If you do not specify a name, one will be generated automatically.
-
List<Pulumi.
Aws Native. Inputs. Tag> - A list of key-value pairs to associate with the cloudwatch dashboard. You can associate up to 50 tags with a dashboard
- 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. The name must be between 1 and 255 characters. If you do not specify a name, one will be generated automatically.
-
Tag
Args - A list of key-value pairs to associate with the cloudwatch dashboard. You can associate up to 50 tags with a dashboard
- 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. The name must be between 1 and 255 characters. If you do not specify a name, one will be generated automatically.
- list(object)
- A list of key-value pairs to associate with the cloudwatch dashboard. You can associate up to 50 tags with a dashboard
- 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. The name must be between 1 and 255 characters. If you do not specify a name, one will be generated automatically.
- List<Tag>
- A list of key-value pairs to associate with the cloudwatch dashboard. You can associate up to 50 tags with a dashboard
- 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. The name must be between 1 and 255 characters. If you do not specify a name, one will be generated automatically.
- Tag[]
- A list of key-value pairs to associate with the cloudwatch dashboard. You can associate up to 50 tags with a dashboard
- dashboard_
body str - The detailed information about the dashboard in JSON format, including the widgets to include and their location on the dashboard
- dashboard_
name str - 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.
-
Sequence[Tag
Args] - A list of key-value pairs to associate with the cloudwatch dashboard. You can associate up to 50 tags with a dashboard
- 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. The name must be between 1 and 255 characters. If you do not specify a name, one will be generated automatically.
- List<Property Map>
- A list of key-value pairs to associate with the cloudwatch dashboard. You can associate up to 50 tags with a dashboard
Outputs
All input properties are implicitly available as output properties. Additionally, the Dashboard resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Id string
- The provider-assigned unique ID for this managed resource.
- id string
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
- id string
- The provider-assigned unique ID for this managed resource.
- id str
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
Supporting Types
Tag, TagArgs
A set of tags to apply to the resource.Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
We recommend new projects start with resources from the AWS provider.
published on Monday, May 18, 2026 by Pulumi
