import * as core from "@terrascript/core"; export interface DsContactFlowArgs { /** * (Optional) Returns information on a specific Contact Flow by contact flow id */ contactFlowId?: string | core.StringOut; /** * (Required) Reference to the hosting Amazon Connect Instance */ instanceId: string | core.StringOut; /** * (Optional) Returns information on a specific Contact Flow by name */ name?: string | core.StringOut; /** * A the map of tags to assign to the Contact Flow. */ tags?: core.Map | core.MapOut; /** * Specifies the type of Contact Flow. */ type?: string | core.StringOut; } export class DsContactFlow extends core.Data { /** * The Amazon Resource Name (ARN) of the Contact Flow. */ @core.attr(String, { computed: true }) public arn!: string | core.StringOut; /** * (Optional) Returns information on a specific Contact Flow by contact flow id */ @core.attr(String, { computed: true }) public contactFlowId?: string | core.StringOut; /** * Specifies the logic of the Contact Flow. */ @core.attr(String, { computed: true }) public content!: string | core.StringOut; /** * Specifies the description of the Contact Flow. */ @core.attr(String, { computed: true }) public description!: string | core.StringOut; @core.attr(String, { computed: true }) public id!: string | core.StringOut; /** * (Required) Reference to the hosting Amazon Connect Instance */ @core.attr(String) public instanceId!: string | core.StringOut; /** * (Optional) Returns information on a specific Contact Flow by name */ @core.attr(String, { computed: true }) public name?: string | core.StringOut; /** * A the map of tags to assign to the Contact Flow. */ @core.attr(String, { computed: true, kind: "map" }) public tags?: core.Map | core.MapOut; /** * Specifies the type of Contact Flow. */ @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"; } }