import * as core from "@terrascript/core"; export interface DashboardArgs extends core.ResourceArgs { /** * (Required) The detailed information about the dashboard, including what widgets are included and the * ir location on the dashboard. You can read more about the body structure in the [documentation](http * s://docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference/CloudWatch-Dashboard-Body-Structure.htm * l). */ dashboardBody: string | core.StringOut; /** * (Required) The name of the dashboard. */ dashboardName: string | core.StringOut; } export class Dashboard extends core.Resource { /** * The Amazon Resource Name (ARN) of the dashboard. */ @core.attr(String, { computed: true }) public dashboardArn!: string | core.StringOut; /** * (Required) The detailed information about the dashboard, including what widgets are included and the * ir location on the dashboard. You can read more about the body structure in the [documentation](http * s://docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference/CloudWatch-Dashboard-Body-Structure.htm * l). */ @core.attr(String) public dashboardBody!: string | core.StringOut; /** * (Required) The name of the dashboard. */ @core.attr(String) public dashboardName!: string | core.StringOut; @core.attr(String, { computed: true }) public id!: string | core.StringOut; constructor(name: string, args?: DashboardArgs) { super(name, "aws_cloudwatch_dashboard", args); } public override getNamespace(): string { return "aws_cloudwatch"; } }