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

export interface ContactFlowArgs extends core.ResourceArgs {
  content?: string | core.StringOut;

  contentHash?: string | core.StringOut;

  description?: string | core.StringOut;

  filename?: string | core.StringOut;

  instanceId: string | core.StringOut;

  name: string | core.StringOut;

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

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

  type?: string | core.StringOut;
}

export class ContactFlow extends core.Resource<ContactFlowArgs> {
  @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)
  public contentHash?: string | core.StringOut;

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

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

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

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

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

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

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

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

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

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