import * as core from "@terrascript/core"; export interface PrometheusAlertManagerDefinitionArgs extends core.ResourceArgs { /** * (Required) the alert manager definition that you want to be applied. See more [in AWS Docs](https:// * docs.aws.amazon.com/prometheus/latest/userguide/AMP-alert-manager.html). */ definition: string | core.StringOut; /** * (Required) The id of the prometheus workspace the alert manager definition should be linked to */ workspaceId: string | core.StringOut; } export class PrometheusAlertManagerDefinition extends core.Resource { /** * (Required) the alert manager definition that you want to be applied. See more [in AWS Docs](https:// * docs.aws.amazon.com/prometheus/latest/userguide/AMP-alert-manager.html). */ @core.attr(String) public definition!: string | core.StringOut; @core.attr(String, { computed: true }) public id!: string | core.StringOut; /** * (Required) The id of the prometheus workspace the alert manager definition should be linked to */ @core.attr(String) public workspaceId!: string | core.StringOut; constructor(name: string, args?: PrometheusAlertManagerDefinitionArgs) { super(name, "aws_prometheus_alert_manager_definition", args); } public override getNamespace(): string { return "aws_amp"; } }