UNPKG

@pulumi/aws-native

Version:

The Pulumi AWS Cloud Control Provider enables you to build, deploy, and manage [any AWS resource that's supported by the AWS Cloud Control API](https://github.com/pulumi/pulumi-aws-native/blob/master/provider/cmd/pulumi-gen-aws-native/supported-types.txt)

33 lines (32 loc) 1.37 kB
import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * Resource Type definition for AWS::CloudWatch::Dashboard */ export declare function getDashboard(args: GetDashboardArgs, opts?: pulumi.InvokeOptions): Promise<GetDashboardResult>; export interface GetDashboardArgs { /** * 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. */ dashboardName: string; } export interface GetDashboardResult { /** * The detailed information about the dashboard in JSON format, including the widgets to include and their location on the dashboard */ readonly dashboardBody?: string; /** * A list of key-value pairs to associate with the cloudwatch dashboard. You can associate up to 50 tags with a dashboard */ readonly tags?: outputs.Tag[]; } /** * Resource Type definition for AWS::CloudWatch::Dashboard */ export declare function getDashboardOutput(args: GetDashboardOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetDashboardResult>; export interface GetDashboardOutputArgs { /** * 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. */ dashboardName: pulumi.Input<string>; }