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