import * as core from "@terrascript/core"; export interface DsContactFlowModuleArgs { /** * (Optional) Returns information on a specific Contact Flow Module by contact flow module id */ contactFlowModuleId?: string | core.StringOut; /** * (Required) Reference to the hosting Amazon Connect Instance */ instanceId: string | core.StringOut; /** * (Optional) Returns information on a specific Contact Flow Module by name */ name?: string | core.StringOut; /** * A map of tags to assign to the Contact Flow Module. */ tags?: core.Map | core.MapOut; } export class DsContactFlowModule extends core.Data { /** * The Amazon Resource Name (ARN) of the Contact Flow Module. */ @core.attr(String, { computed: true }) public arn!: string | core.StringOut; /** * (Optional) Returns information on a specific Contact Flow Module by contact flow module id */ @core.attr(String, { computed: true }) public contactFlowModuleId?: string | core.StringOut; /** * Specifies the logic of the Contact Flow Module. */ @core.attr(String, { computed: true }) public content!: string | core.StringOut; /** * Specifies the description of the Contact Flow Module. */ @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 Module by name */ @core.attr(String, { computed: true }) public name?: string | core.StringOut; /** * Specifies the type of Contact Flow Module Module. Values are either `ACTIVE` or `ARCHIVED`. */ @core.attr(String, { computed: true }) public state!: string | core.StringOut; /** * The status of the Contact Flow Module Module. Values are either `PUBLISHED` or `SAVED`. */ @core.attr(String, { computed: true }) public status!: string | core.StringOut; /** * A map of tags to assign to the Contact Flow Module. */ @core.attr(String, { computed: true, kind: "map" }) public tags?: core.Map | core.MapOut; constructor(name: string, args?: DsContactFlowModuleArgs) { super(name, "aws_connect_contact_flow_module", args); } public override getNamespace(): string { return "aws_connect"; } }