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

export interface DsContactFlowModuleArgs {
  contactFlowModuleId?: string | core.StringOut;

  instanceId: string | core.StringOut;

  name?: string | core.StringOut;

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

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

  @core.attr(String, { computed: true })
  public contactFlowModuleId?: 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 })
  public state!: string | core.StringOut;

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

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

  constructor(name: string, args?: DsContactFlowModuleArgs) {
    super(name, "aws_connect_contact_flow_module", args);
  }

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