1. Registry
  2. Packages
  3. AWS
  4. API Docs
  5. cloudwatchomni
  6. Dashboard
Viewing docs for AWS v7.55.0
published on Friday, Nov 13, 2026 by Pulumi
aws logo aws logo
Viewing docs for AWS v7.55.0
published on Friday, Nov 13, 2026 by Pulumi

    Manages an Amazon CloudWatch Omni dashboard.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as aws from "@pulumi/aws";
    
    const example = new aws.cloudwatchomni.Dashboard("example", {
        spaceId: exampleAwsCloudwatchomniSpace.spaceId,
        name: "example",
        description: "Example dashboard",
        tags: {
            Environment: "production",
        },
        body: JSON.stringify({
            panels: [{
                type: "markdown",
                layout: {
                    x: 0,
                    y: 0,
                    w: 60,
                    h: "auto",
                },
                config: {
                    content: `## On call
    
    Check the error rate first.`,
                },
            }],
        }),
    });
    
    import pulumi
    import json
    import pulumi_aws as aws
    
    example = aws.cloudwatchomni.Dashboard("example",
        space_id=example_aws_cloudwatchomni_space["spaceId"],
        name="example",
        description="Example dashboard",
        tags={
            "Environment": "production",
        },
        body=json.dumps({
            "panels": [{
                "type": "markdown",
                "layout": {
                    "x": 0,
                    "y": 0,
                    "w": 60,
                    "h": "auto",
                },
                "config": {
                    "content": """## On call
    
    Check the error rate first.""",
                },
            }],
        }))
    
    package main
    
    import (
    	"encoding/json"
    
    	"github.com/pulumi/pulumi-aws/sdk/v7/go/aws/cloudwatchomni"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		tmpJSON0, err := json.Marshal(map[string][]map[string]interface{}{
    			"panels": []map[string]interface{}{
    				map[string]interface{}{
    					"type": "markdown",
    					"layout": map[string]interface{}{
    						"x": 0,
    						"y": 0,
    						"w": 60,
    						"h": "auto",
    					},
    					"config": map[string]string{
    						"content": "## On call\n\nCheck the error rate first.",
    					},
    				},
    			},
    		})
    		if err != nil {
    			return err
    		}
    		json0 := string(tmpJSON0)
    		_, err = cloudwatchomni.NewDashboard(ctx, "example", &cloudwatchomni.DashboardArgs{
    			SpaceId:     pulumi.Any(exampleAwsCloudwatchomniSpace.SpaceId),
    			Name:        pulumi.String("example"),
    			Description: pulumi.String("Example dashboard"),
    			Tags: pulumi.StringMap{
    				"Environment": pulumi.String("production"),
    			},
    			Body: pulumi.String(json0),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using System.Text.Json;
    using Pulumi;
    using Aws = Pulumi.Aws;
    
    return await Deployment.RunAsync(() => 
    {
        var example = new Aws.CloudWatchOmni.Dashboard("example", new()
        {
            SpaceId = exampleAwsCloudwatchomniSpace.SpaceId,
            Name = "example",
            Description = "Example dashboard",
            Tags = 
            {
                { "Environment", "production" },
            },
            Body = JsonSerializer.Serialize(new Dictionary<string, object?>
            {
                ["panels"] = new[]
                {
                    new Dictionary<string, object?>
                    {
                        ["type"] = "markdown",
                        ["layout"] = new Dictionary<string, object?>
                        {
                            ["x"] = 0,
                            ["y"] = 0,
                            ["w"] = 60,
                            ["h"] = "auto",
                        },
                        ["config"] = new Dictionary<string, object?>
                        {
                            ["content"] = @"## On call
    
    Check the error rate first.",
                        },
                    },
                },
            }),
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.aws.cloudwatchomni.Dashboard;
    import com.pulumi.aws.cloudwatchomni.DashboardArgs;
    import static com.pulumi.codegen.internal.Serialization.*;
    import java.util.ArrayList;
    import java.util.Arrays;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            var example = new Dashboard("example", DashboardArgs.builder()
                .spaceId(exampleAwsCloudwatchomniSpace.get("spaceId"))
                .name("example")
                .description("Example dashboard")
                .tags(Map.of("Environment", "production"))
                .body(serializeJson(
                    jsonObject(
                        jsonProperty("panels", jsonArray(jsonObject(
                            jsonProperty("type", "markdown"),
                            jsonProperty("layout", jsonObject(
                                jsonProperty("x", 0),
                                jsonProperty("y", 0),
                                jsonProperty("w", 60),
                                jsonProperty("h", "auto")
                            )),
                            jsonProperty("config", jsonObject(
                                jsonProperty("content", """
    ## On call
    
    Check the error rate first.                            """)
                            ))
                        )))
                    )))
                .build());
    
        }
    }
    
    resources:
      example:
        type: aws:cloudwatchomni:Dashboard
        properties:
          spaceId: ${exampleAwsCloudwatchomniSpace.spaceId}
          name: example
          description: Example dashboard
          tags:
            Environment: production
          body:
            fn::toJSON:
              panels:
                - type: markdown
                  layout:
                    x: 0
                    y: 0
                    w: 60
                    h: auto
                  config:
                    content: |-
                      ## On call
    
                      Check the error rate first.
    
    terraform {
      required_providers {
        aws = {
          source = "pulumi/aws"
        }
      }
    }
    
    resource "aws_cloudwatchomni_dashboard" "example" {
      lifecycle {
        create_before_destroy = true
      }
      space_id    = exampleAwsCloudwatchomniSpace.spaceId
      name        = "example"
      description = "Example dashboard"
      tags = {
        "Environment" = "production"
      }
      body = jsonencode({
        "panels" = [{
          "type" = "markdown"
          "layout" = {
            "x" = 0
            "y" = 0
            "w" = 60
            "h" = "auto"
          }
          "config" = {
            "content" = "## On call\n\nCheck the error rate first."
          }
        }]
      })
    }
    

    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,
                  body: Optional[str] = None,
                  space_id: Optional[str] = None,
                  description: Optional[str] = None,
                  name: Optional[str] = None,
                  region: Optional[str] = None,
                  tags: Optional[Mapping[str, str]] = 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:cloudwatchomni:Dashboard
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    resource "aws_cloudwatchomni_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.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var awsDashboardResource = new Aws.CloudWatchOmni.Dashboard("awsDashboardResource", new()
    {
        Body = "string",
        SpaceId = "string",
        Description = "string",
        Name = "string",
        Region = "string",
        Tags = 
        {
            { "string", "string" },
        },
    });
    
    example, err := cloudwatchomni.NewDashboard(ctx, "awsDashboardResource", &cloudwatchomni.DashboardArgs{
    	Body:        pulumi.String("string"),
    	SpaceId:     pulumi.String("string"),
    	Description: pulumi.String("string"),
    	Name:        pulumi.String("string"),
    	Region:      pulumi.String("string"),
    	Tags: pulumi.StringMap{
    		"string": pulumi.String("string"),
    	},
    })
    
    resource "aws_cloudwatchomni_dashboard" "awsDashboardResource" {
      lifecycle {
        create_before_destroy = true
      }
      body        = "string"
      space_id    = "string"
      description = "string"
      name        = "string"
      region      = "string"
      tags = {
        "string" = "string"
      }
    }
    
    var awsDashboardResource = new com.pulumi.aws.cloudwatchomni.Dashboard("awsDashboardResource", com.pulumi.aws.cloudwatchomni.DashboardArgs.builder()
        .body("string")
        .spaceId("string")
        .description("string")
        .name("string")
        .region("string")
        .tags(Map.of("string", "string"))
        .build());
    
    aws_dashboard_resource = aws.cloudwatchomni.Dashboard("awsDashboardResource",
        body="string",
        space_id="string",
        description="string",
        name="string",
        region="string",
        tags={
            "string": "string",
        })
    
    const awsDashboardResource = new aws.cloudwatchomni.Dashboard("awsDashboardResource", {
        body: "string",
        spaceId: "string",
        description: "string",
        name: "string",
        region: "string",
        tags: {
            string: "string",
        },
    });
    
    type: aws:cloudwatchomni:Dashboard
    properties:
        body: string
        description: string
        name: string
        region: string
        spaceId: string
        tags:
            string: string
    

    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:

    Body string
    Dashboard definition, as a JSON document with a panels array. Maximum size of 1 MiB.
    SpaceId string

    ID of the space that contains the dashboard.

    The following arguments are optional:

    Description string
    Description of the dashboard. Must be 1-1024 characters. Removing the description replaces the dashboard, because the service does not support clearing it.
    Name string
    Name of the dashboard. Must be 1-256 characters and can contain letters, numbers, and the characters _, ., @, ~, (, ), and -.
    Region string
    Region where this resource will be managed. Defaults to the Region set in the provider configuration.
    Tags Dictionary<string, string>
    Map of tags assigned to the resource. If configured with a provider defaultTags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
    Body string
    Dashboard definition, as a JSON document with a panels array. Maximum size of 1 MiB.
    SpaceId string

    ID of the space that contains the dashboard.

    The following arguments are optional:

    Description string
    Description of the dashboard. Must be 1-1024 characters. Removing the description replaces the dashboard, because the service does not support clearing it.
    Name string
    Name of the dashboard. Must be 1-256 characters and can contain letters, numbers, and the characters _, ., @, ~, (, ), and -.
    Region string
    Region where this resource will be managed. Defaults to the Region set in the provider configuration.
    Tags map[string]string
    Map of tags assigned to the resource. If configured with a provider defaultTags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
    body string
    Dashboard definition, as a JSON document with a panels array. Maximum size of 1 MiB.
    space_id string

    ID of the space that contains the dashboard.

    The following arguments are optional:

    description string
    Description of the dashboard. Must be 1-1024 characters. Removing the description replaces the dashboard, because the service does not support clearing it.
    name string
    Name of the dashboard. Must be 1-256 characters and can contain letters, numbers, and the characters _, ., @, ~, (, ), and -.
    region string
    Region where this resource will be managed. Defaults to the Region set in the provider configuration.
    tags map(string)
    Map of tags assigned to the resource. If configured with a provider defaultTags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
    body String
    Dashboard definition, as a JSON document with a panels array. Maximum size of 1 MiB.
    spaceId String

    ID of the space that contains the dashboard.

    The following arguments are optional:

    description String
    Description of the dashboard. Must be 1-1024 characters. Removing the description replaces the dashboard, because the service does not support clearing it.
    name String
    Name of the dashboard. Must be 1-256 characters and can contain letters, numbers, and the characters _, ., @, ~, (, ), and -.
    region String
    Region where this resource will be managed. Defaults to the Region set in the provider configuration.
    tags Map<String,String>
    Map of tags assigned to the resource. If configured with a provider defaultTags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
    body string
    Dashboard definition, as a JSON document with a panels array. Maximum size of 1 MiB.
    spaceId string

    ID of the space that contains the dashboard.

    The following arguments are optional:

    description string
    Description of the dashboard. Must be 1-1024 characters. Removing the description replaces the dashboard, because the service does not support clearing it.
    name string
    Name of the dashboard. Must be 1-256 characters and can contain letters, numbers, and the characters _, ., @, ~, (, ), and -.
    region string
    Region where this resource will be managed. Defaults to the Region set in the provider configuration.
    tags {[key: string]: string}
    Map of tags assigned to the resource. If configured with a provider defaultTags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
    body str
    Dashboard definition, as a JSON document with a panels array. Maximum size of 1 MiB.
    space_id str

    ID of the space that contains the dashboard.

    The following arguments are optional:

    description str
    Description of the dashboard. Must be 1-1024 characters. Removing the description replaces the dashboard, because the service does not support clearing it.
    name str
    Name of the dashboard. Must be 1-256 characters and can contain letters, numbers, and the characters _, ., @, ~, (, ), and -.
    region str
    Region where this resource will be managed. Defaults to the Region set in the provider configuration.
    tags Mapping[str, str]
    Map of tags assigned to the resource. If configured with a provider defaultTags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
    body String
    Dashboard definition, as a JSON document with a panels array. Maximum size of 1 MiB.
    spaceId String

    ID of the space that contains the dashboard.

    The following arguments are optional:

    description String
    Description of the dashboard. Must be 1-1024 characters. Removing the description replaces the dashboard, because the service does not support clearing it.
    name String
    Name of the dashboard. Must be 1-256 characters and can contain letters, numbers, and the characters _, ., @, ~, (, ), and -.
    region String
    Region where this resource will be managed. Defaults to the Region set in the provider configuration.
    tags Map<String>
    Map of tags assigned to the resource. If configured with a provider defaultTags configuration block present, tags with matching keys will overwrite those defined at the provider-level.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the Dashboard resource produces the following output properties:

    Arn string
    ARN of the dashboard.
    DashboardId string
    Unique identifier of the dashboard.
    Id string
    The provider-assigned unique ID for this managed resource.
    TagsAll Dictionary<string, string>
    Map of tags assigned to the resource, including those inherited from the provider defaultTags configuration block.
    Arn string
    ARN of the dashboard.
    DashboardId string
    Unique identifier of the dashboard.
    Id string
    The provider-assigned unique ID for this managed resource.
    TagsAll map[string]string
    Map of tags assigned to the resource, including those inherited from the provider defaultTags configuration block.
    arn string
    ARN of the dashboard.
    dashboard_id string
    Unique identifier of the dashboard.
    id string
    The provider-assigned unique ID for this managed resource.
    tags_all map(string)
    Map of tags assigned to the resource, including those inherited from the provider defaultTags configuration block.
    arn String
    ARN of the dashboard.
    dashboardId String
    Unique identifier of the dashboard.
    id String
    The provider-assigned unique ID for this managed resource.
    tagsAll Map<String,String>
    Map of tags assigned to the resource, including those inherited from the provider defaultTags configuration block.
    arn string
    ARN of the dashboard.
    dashboardId string
    Unique identifier of the dashboard.
    id string
    The provider-assigned unique ID for this managed resource.
    tagsAll {[key: string]: string}
    Map of tags assigned to the resource, including those inherited from the provider defaultTags configuration block.
    arn str
    ARN of the dashboard.
    dashboard_id str
    Unique identifier of the dashboard.
    id str
    The provider-assigned unique ID for this managed resource.
    tags_all Mapping[str, str]
    Map of tags assigned to the resource, including those inherited from the provider defaultTags configuration block.
    arn String
    ARN of the dashboard.
    dashboardId String
    Unique identifier of the dashboard.
    id String
    The provider-assigned unique ID for this managed resource.
    tagsAll Map<String>
    Map of tags assigned to the resource, including those inherited from the provider defaultTags configuration block.

    Look up Existing Dashboard Resource

    Get an existing Dashboard resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: DashboardState, opts?: CustomResourceOptions): Dashboard
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            arn: Optional[str] = None,
            body: Optional[str] = None,
            dashboard_id: Optional[str] = None,
            description: Optional[str] = None,
            name: Optional[str] = None,
            region: Optional[str] = None,
            space_id: Optional[str] = None,
            tags: Optional[Mapping[str, str]] = None,
            tags_all: Optional[Mapping[str, str]] = None) -> Dashboard
    func GetDashboard(ctx *Context, name string, id IDInput, state *DashboardState, opts ...ResourceOption) (*Dashboard, error)
    public static Dashboard Get(string name, Input<string> id, DashboardState? state, CustomResourceOptions? opts = null)
    public static Dashboard get(String name, Output<String> id, DashboardState state, CustomResourceOptions options)
    resources:  existingDashboard:    type: aws:cloudwatchomni:Dashboard    get:      id: ${id}
    import {
      to = aws_cloudwatchomni_dashboard.example
      id = "${id}"
    }
    
    name string
    The unique name of the resulting resource.
    id Input<ID>
    The unique provider ID of the resource to look up.
    state DashboardState
    Known property values the provider needs, along with the ID, to find the resource. Usually not required.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resulting resource.
    id str
    The unique provider ID of the resource to look up.
    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 resulting resource.
    id IDInput
    The unique provider ID of the resource to look up.
    state DashboardState
    Known property values the provider needs, along with the ID, to find the resource. Usually not required.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resulting resource.
    id Input<string>
    The unique provider ID of the resource to look up.
    state DashboardState
    Known property values the provider needs, along with the ID, to find the resource. Usually not required.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resulting resource.
    id Output<String>
    The unique provider ID of the resource to look up.
    state DashboardState
    Known property values the provider needs, along with the ID, to find the resource. Usually not required.
    options CustomResourceOptions
    Bag of options to control resource's behavior.
    The following state arguments are supported:
    Arn string
    ARN of the dashboard.
    Body string
    Dashboard definition, as a JSON document with a panels array. Maximum size of 1 MiB.
    DashboardId string
    Unique identifier of the dashboard.
    Description string
    Description of the dashboard. Must be 1-1024 characters. Removing the description replaces the dashboard, because the service does not support clearing it.
    Name string
    Name of the dashboard. Must be 1-256 characters and can contain letters, numbers, and the characters _, ., @, ~, (, ), and -.
    Region string
    Region where this resource will be managed. Defaults to the Region set in the provider configuration.
    SpaceId string

    ID of the space that contains the dashboard.

    The following arguments are optional:

    Tags Dictionary<string, string>
    Map of tags assigned to the resource. If configured with a provider defaultTags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
    TagsAll Dictionary<string, string>
    Map of tags assigned to the resource, including those inherited from the provider defaultTags configuration block.
    Arn string
    ARN of the dashboard.
    Body string
    Dashboard definition, as a JSON document with a panels array. Maximum size of 1 MiB.
    DashboardId string
    Unique identifier of the dashboard.
    Description string
    Description of the dashboard. Must be 1-1024 characters. Removing the description replaces the dashboard, because the service does not support clearing it.
    Name string
    Name of the dashboard. Must be 1-256 characters and can contain letters, numbers, and the characters _, ., @, ~, (, ), and -.
    Region string
    Region where this resource will be managed. Defaults to the Region set in the provider configuration.
    SpaceId string

    ID of the space that contains the dashboard.

    The following arguments are optional:

    Tags map[string]string
    Map of tags assigned to the resource. If configured with a provider defaultTags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
    TagsAll map[string]string
    Map of tags assigned to the resource, including those inherited from the provider defaultTags configuration block.
    arn string
    ARN of the dashboard.
    body string
    Dashboard definition, as a JSON document with a panels array. Maximum size of 1 MiB.
    dashboard_id string
    Unique identifier of the dashboard.
    description string
    Description of the dashboard. Must be 1-1024 characters. Removing the description replaces the dashboard, because the service does not support clearing it.
    name string
    Name of the dashboard. Must be 1-256 characters and can contain letters, numbers, and the characters _, ., @, ~, (, ), and -.
    region string
    Region where this resource will be managed. Defaults to the Region set in the provider configuration.
    space_id string

    ID of the space that contains the dashboard.

    The following arguments are optional:

    tags map(string)
    Map of tags assigned to the resource. If configured with a provider defaultTags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
    tags_all map(string)
    Map of tags assigned to the resource, including those inherited from the provider defaultTags configuration block.
    arn String
    ARN of the dashboard.
    body String
    Dashboard definition, as a JSON document with a panels array. Maximum size of 1 MiB.
    dashboardId String
    Unique identifier of the dashboard.
    description String
    Description of the dashboard. Must be 1-1024 characters. Removing the description replaces the dashboard, because the service does not support clearing it.
    name String
    Name of the dashboard. Must be 1-256 characters and can contain letters, numbers, and the characters _, ., @, ~, (, ), and -.
    region String
    Region where this resource will be managed. Defaults to the Region set in the provider configuration.
    spaceId String

    ID of the space that contains the dashboard.

    The following arguments are optional:

    tags Map<String,String>
    Map of tags assigned to the resource. If configured with a provider defaultTags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
    tagsAll Map<String,String>
    Map of tags assigned to the resource, including those inherited from the provider defaultTags configuration block.
    arn string
    ARN of the dashboard.
    body string
    Dashboard definition, as a JSON document with a panels array. Maximum size of 1 MiB.
    dashboardId string
    Unique identifier of the dashboard.
    description string
    Description of the dashboard. Must be 1-1024 characters. Removing the description replaces the dashboard, because the service does not support clearing it.
    name string
    Name of the dashboard. Must be 1-256 characters and can contain letters, numbers, and the characters _, ., @, ~, (, ), and -.
    region string
    Region where this resource will be managed. Defaults to the Region set in the provider configuration.
    spaceId string

    ID of the space that contains the dashboard.

    The following arguments are optional:

    tags {[key: string]: string}
    Map of tags assigned to the resource. If configured with a provider defaultTags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
    tagsAll {[key: string]: string}
    Map of tags assigned to the resource, including those inherited from the provider defaultTags configuration block.
    arn str
    ARN of the dashboard.
    body str
    Dashboard definition, as a JSON document with a panels array. Maximum size of 1 MiB.
    dashboard_id str
    Unique identifier of the dashboard.
    description str
    Description of the dashboard. Must be 1-1024 characters. Removing the description replaces the dashboard, because the service does not support clearing it.
    name str
    Name of the dashboard. Must be 1-256 characters and can contain letters, numbers, and the characters _, ., @, ~, (, ), and -.
    region str
    Region where this resource will be managed. Defaults to the Region set in the provider configuration.
    space_id str

    ID of the space that contains the dashboard.

    The following arguments are optional:

    tags Mapping[str, str]
    Map of tags assigned to the resource. If configured with a provider defaultTags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
    tags_all Mapping[str, str]
    Map of tags assigned to the resource, including those inherited from the provider defaultTags configuration block.
    arn String
    ARN of the dashboard.
    body String
    Dashboard definition, as a JSON document with a panels array. Maximum size of 1 MiB.
    dashboardId String
    Unique identifier of the dashboard.
    description String
    Description of the dashboard. Must be 1-1024 characters. Removing the description replaces the dashboard, because the service does not support clearing it.
    name String
    Name of the dashboard. Must be 1-256 characters and can contain letters, numbers, and the characters _, ., @, ~, (, ), and -.
    region String
    Region where this resource will be managed. Defaults to the Region set in the provider configuration.
    spaceId String

    ID of the space that contains the dashboard.

    The following arguments are optional:

    tags Map<String>
    Map of tags assigned to the resource. If configured with a provider defaultTags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
    tagsAll Map<String>
    Map of tags assigned to the resource, including those inherited from the provider defaultTags configuration block.

    Import

    Identity Schema

    Required

    • dashboardId (String) Dashboard ID.
    • spaceId (String) Space ID.

    Optional

    • accountId (String) AWS Account where this resource is managed.
    • region (String) Region where this resource is managed.

    Using pulumi import, import a CloudWatch Omni Dashboard using the spaceId and dashboardId separated by a comma (,). For example:

    $ pulumi import aws:cloudwatchomni/dashboard:Dashboard example 12345678-1234-1234-1234-123456789012,87654321-4321-4321-4321-210987654321
    

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    AWS Classic pulumi/pulumi-aws
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the aws Terraform Provider.
    aws logo aws logo
    Viewing docs for AWS v7.55.0
    published on Friday, Nov 13, 2026 by Pulumi

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial