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

export interface DsContactFlowArgs {
  contactFlowId?: string | core.StringOut;

  instanceId: string | core.StringOut;

  name?: string | core.StringOut;

  tags?: core.Map<string, string> | core.MapOut<core.StringOut>;

  type?: string | core.StringOut;
}

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

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

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

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

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

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

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

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

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

  constructor(name: string, args?: DsContactFlowArgs) {
    super(name, "aws_connect_contact_flow", args);
  }

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