import * as core from "@terrascript/core"; export interface DsPrometheusWorkspaceArgs { /** * The tags assigned to the resource. */ tags?: core.Map | core.MapOut; /** * (Required) The Prometheus workspace ID. */ workspaceId: string | core.StringOut; } export class DsPrometheusWorkspace extends core.Data { /** * The Prometheus workspace alias. */ @core.attr(String, { computed: true }) public alias!: string | core.StringOut; /** * The Amazon Resource Name (ARN) of the Prometheus workspace. */ @core.attr(String, { computed: true }) public arn!: string | core.StringOut; /** * The creation date of the Prometheus workspace. */ @core.attr(String, { computed: true }) public createdDate!: string | core.StringOut; @core.attr(String, { computed: true }) public id!: string | core.StringOut; /** * The endpoint of the Prometheus workspace. */ @core.attr(String, { computed: true }) public prometheusEndpoint!: string | core.StringOut; /** * The status of the Prometheus workspace. */ @core.attr(String, { computed: true }) public status!: string | core.StringOut; /** * The tags assigned to the resource. */ @core.attr(String, { computed: true, kind: "map" }) public tags?: core.Map | core.MapOut; /** * (Required) The Prometheus workspace ID. */ @core.attr(String) public workspaceId!: string | core.StringOut; constructor(name: string, args?: DsPrometheusWorkspaceArgs) { super(name, "aws_prometheus_workspace", args); } public override getNamespace(): string { return "aws_amp"; } }