import * as pulumi from "@pulumi/pulumi"; /** * Manages an Amazon CloudWatch Omni dashboard. * * ## Example Usage * * ```typescript * 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 * * ### 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: * * ```sh * $ pulumi import aws:cloudwatchomni/dashboard:Dashboard example 12345678-1234-1234-1234-123456789012,87654321-4321-4321-4321-210987654321 * ``` */ export declare class Dashboard extends pulumi.CustomResource { /** * Get an existing Dashboard resource's state with the given name, ID, and optional extra * properties used to qualify the lookup. * * @param name The _unique_ name of the resulting resource. * @param id The _unique_ provider ID of the resource to lookup. * @param state Any extra arguments used during the lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input, state?: DashboardState, opts?: pulumi.CustomResourceOptions): Dashboard; /** * Check whether an existing Dashboard resource with the given ID exists. * * @param id The _unique_ provider ID of the resource to check. * @param state Any extra arguments used during the lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static exists(id: pulumi.Input, state?: DashboardState, opts?: pulumi.CustomResourceOptions): pulumi.Output; /** * Returns true if the given object is an instance of Dashboard. This is designed to work even * when multiple copies of the Pulumi SDK have been loaded into the same process. */ static isInstance(obj: any): obj is Dashboard; /** * ARN of the dashboard. */ readonly arn: pulumi.Output; /** * Dashboard definition, as a JSON document with a `panels` array. Maximum size of 1 MiB. */ readonly body: pulumi.Output; /** * Unique identifier of the dashboard. */ readonly dashboardId: pulumi.Output; /** * Description of the dashboard. Must be 1-1024 characters. Removing the description replaces the dashboard, because the service does not support clearing it. */ readonly description: pulumi.Output; /** * Name of the dashboard. Must be 1-256 characters and can contain letters, numbers, and the characters `_`, `.`, `@`, `~`, `(`, `)`, and `-`. */ readonly name: pulumi.Output; /** * Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration. */ readonly region: pulumi.Output; /** * ID of the space that contains the dashboard. * * The following arguments are optional: */ readonly spaceId: pulumi.Output; /** * 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. */ readonly tags: pulumi.Output<{ [key: string]: string; } | undefined>; /** * Map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block. */ readonly tagsAll: pulumi.Output<{ [key: string]: string; }>; /** * Create a Dashboard resource with the given unique name, arguments, and options. * * @param name The _unique_ name of the resource. * @param args The arguments to use to populate this resource's properties. * @param opts A bag of options that control this resource's behavior. */ constructor(name: string, args: DashboardArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering Dashboard resources. */ export interface DashboardState { /** * ARN of the dashboard. */ arn?: pulumi.Input; /** * Dashboard definition, as a JSON document with a `panels` array. Maximum size of 1 MiB. */ body?: pulumi.Input; /** * Unique identifier of the dashboard. */ dashboardId?: pulumi.Input; /** * Description of the dashboard. Must be 1-1024 characters. Removing the description replaces the dashboard, because the service does not support clearing it. */ description?: pulumi.Input; /** * Name of the dashboard. Must be 1-256 characters and can contain letters, numbers, and the characters `_`, `.`, `@`, `~`, `(`, `)`, and `-`. */ name?: pulumi.Input; /** * Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration. */ region?: pulumi.Input; /** * ID of the space that contains the dashboard. * * The following arguments are optional: */ spaceId?: pulumi.Input; /** * 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?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * Map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block. */ tagsAll?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; } /** * The set of arguments for constructing a Dashboard resource. */ export interface DashboardArgs { /** * Dashboard definition, as a JSON document with a `panels` array. Maximum size of 1 MiB. */ body: pulumi.Input; /** * Description of the dashboard. Must be 1-1024 characters. Removing the description replaces the dashboard, because the service does not support clearing it. */ description?: pulumi.Input; /** * Name of the dashboard. Must be 1-256 characters and can contain letters, numbers, and the characters `_`, `.`, `@`, `~`, `(`, `)`, and `-`. */ name?: pulumi.Input; /** * Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration. */ region?: pulumi.Input; /** * ID of the space that contains the dashboard. * * The following arguments are optional: */ spaceId: pulumi.Input; /** * 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?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; } //# sourceMappingURL=dashboard.d.ts.map