import * as core from "@terrascript/core";

export interface PrometheusRuleGroupNamespaceArgs extends core.ResourceArgs {
  data: string | core.StringOut;

  name: string | core.StringOut;

  workspaceId: string | core.StringOut;
}

export class PrometheusRuleGroupNamespace extends core.Resource<PrometheusRuleGroupNamespaceArgs> {
  @core.attr(String)
  public data!: string | core.StringOut;

  @core.attr(String, { computed: true })
  public id!: string | core.StringOut;

  @core.attr(String)
  public name!: string | core.StringOut;

  @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";
  }
}
