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

export interface GroupArgs extends core.ResourceArgs {
  awsAccountId?: string | core.StringOut;

  description?: string | core.StringOut;

  groupName: string | core.StringOut;

  namespace?: string | core.StringOut;
}

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

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

  @core.attr(String)
  public description?: string | core.StringOut;

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

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

  @core.attr(String)
  public namespace?: string | core.StringOut;

  constructor(name: string, args?: GroupArgs) {
    super(name, "aws_quicksight_group", args);
  }

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