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

export interface AccountAliasArgs extends core.ResourceArgs {
  accountAlias: string | core.StringOut;
}

export class AccountAlias extends core.Resource<AccountAliasArgs> {
  @core.attr(String)
  public accountAlias!: string | core.StringOut;

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

  constructor(name: string, args?: AccountAliasArgs) {
    super(name, "aws_iam_account_alias", args);
  }

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