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

export interface ResourceGroupArgs extends core.ResourceArgs {
  tags: core.Map<string, string> | core.MapOut<core.StringOut>;
}

export class ResourceGroup extends core.Resource<ResourceGroupArgs> {
  @core.attr(String, { computed: true })
  public arn!: string | core.StringOut;

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

  @core.attr(String, { kind: "map" })
  public tags!: core.Map<string, string> | core.MapOut<core.StringOut>;

  constructor(name: string, args?: ResourceGroupArgs) {
    super(name, "aws_inspector_resource_group", args);
  }

  public override getNamespace(): string {
    return "aws_inspector";
  }
}
