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

export interface AlternateContactArgs extends core.ResourceArgs {
  accountId?: string | core.StringOut;

  alternateContactType: string | core.StringOut;

  emailAddress: string | core.StringOut;

  name: string | core.StringOut;

  phoneNumber: string | core.StringOut;

  title: string | core.StringOut;
}

export class AlternateContact extends core.Resource<AlternateContactArgs> {
  @core.attr(String)
  public accountId?: string | core.StringOut;

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

  @core.attr(String)
  public emailAddress!: 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 phoneNumber!: string | core.StringOut;

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

  constructor(name: string, args?: AlternateContactArgs) {
    super(name, "aws_account_alternate_contact", args);
  }

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