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

export interface DsInstanceArgs {
  instanceAlias?: string | core.StringOut;

  instanceId?: string | core.StringOut;
}

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

  @core.attr(Boolean, { computed: true })
  public autoResolveBestVoicesEnabled!: boolean | core.BooleanOut;

  @core.attr(Boolean, { computed: true })
  public contactFlowLogsEnabled!: boolean | core.BooleanOut;

  @core.attr(Boolean, { computed: true })
  public contactLensEnabled!: boolean | core.BooleanOut;

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

  @core.attr(Boolean, { computed: true })
  public earlyMediaEnabled!: boolean | core.BooleanOut;

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

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

  @core.attr(Boolean, { computed: true })
  public inboundCallsEnabled!: boolean | core.BooleanOut;

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

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

  @core.attr(Boolean, { computed: true })
  public outboundCallsEnabled!: boolean | core.BooleanOut;

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

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

  constructor(name: string, args?: DsInstanceArgs) {
    super(name, "aws_connect_instance", args);
  }

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