import * as core from "@terrascript/core"; export interface UserConfigArgs extends core.SchemaArgs { contactFlowId: string | core.StringOut; userId: string | core.StringOut; } export class UserConfig extends core.Schema { @core.attr(String) public contactFlowId!: string | core.StringOut; @core.attr(String) public userId!: string | core.StringOut; } export interface PhoneConfigArgs extends core.SchemaArgs { phoneNumber: string | core.StringOut; } export class PhoneConfig extends core.Schema { @core.attr(String) public phoneNumber!: string | core.StringOut; } export interface QueueConfigArgs extends core.SchemaArgs { contactFlowId: string | core.StringOut; queueId: string | core.StringOut; } export class QueueConfig extends core.Schema { @core.attr(String) public contactFlowId!: string | core.StringOut; @core.attr(String) public queueId!: string | core.StringOut; } export interface QuickConnectConfigArgs extends core.SchemaArgs { phoneConfig?: core.Array | core.ArrayOut; queueConfig?: core.Array | core.ArrayOut; quickConnectType: string | core.StringOut; userConfig?: core.Array | core.ArrayOut; } export class QuickConnectConfig extends core.Schema { @core.attr(PhoneConfig, { kind: "array" }) public phoneConfig?: core.Array | core.ArrayOut; @core.attr(QueueConfig, { kind: "array" }) public queueConfig?: core.Array | core.ArrayOut; @core.attr(String) public quickConnectType!: string | core.StringOut; @core.attr(UserConfig, { kind: "array" }) public userConfig?: core.Array | core.ArrayOut; } export interface QuickConnectArgs extends core.ResourceArgs { /** * (Optional) Specifies the description of the Quick Connect. */ description?: string | core.StringOut; /** * (Required) Specifies the identifier of the hosting Amazon Connect Instance. */ instanceId: string | core.StringOut; /** * (Required) Specifies the name of the Quick Connect. */ name: string | core.StringOut; /** * (Required) A block that defines the configuration information for the Quick Connect: `quick_connect_ * type` and one of `phone_config`, `queue_config`, `user_config` . The Quick Connect Config block is d * ocumented below. */ quickConnectConfig: QuickConnectConfig; /** * (Optional) Tags to apply to the Quick Connect. If configured with a provider [`default_tags` configu * ration block](https://registry.terraform.io/providers/hashicorp/aws/latest/docs#default_tags-configu * ration-block) present, tags with matching keys will overwrite those defined at the provider-level. */ tags?: core.Map | core.MapOut; /** * A map of tags assigned to the resource, including those inherited from the provider [`default_tags` * configuration block](https://registry.terraform.io/providers/hashicorp/aws/latest/docs#default_tags- * configuration-block). */ tagsAll?: core.Map | core.MapOut; } export class QuickConnect extends core.Resource { /** * The Amazon Resource Name (ARN) of the Quick Connect. */ @core.attr(String, { computed: true }) public arn!: string | core.StringOut; /** * (Optional) Specifies the description of the Quick Connect. */ @core.attr(String) public description?: string | core.StringOut; /** * The identifier of the hosting Amazon Connect Instance and identifier of the Quick Connect separated * by a colon (`:`). */ @core.attr(String, { computed: true }) public id!: string | core.StringOut; /** * (Required) Specifies the identifier of the hosting Amazon Connect Instance. */ @core.attr(String) public instanceId!: string | core.StringOut; /** * (Required) Specifies the name of the Quick Connect. */ @core.attr(String) public name!: string | core.StringOut; /** * (Required) A block that defines the configuration information for the Quick Connect: `quick_connect_ * type` and one of `phone_config`, `queue_config`, `user_config` . The Quick Connect Config block is d * ocumented below. */ @core.attr(QuickConnectConfig) public quickConnectConfig!: QuickConnectConfig; /** * The identifier for the Quick Connect. */ @core.attr(String, { computed: true }) public quickConnectId!: string | core.StringOut; /** * (Optional) Tags to apply to the Quick Connect. If configured with a provider [`default_tags` configu * ration block](https://registry.terraform.io/providers/hashicorp/aws/latest/docs#default_tags-configu * ration-block) present, tags with matching keys will overwrite those defined at the provider-level. */ @core.attr(String, { kind: "map" }) public tags?: core.Map | core.MapOut; /** * A map of tags assigned to the resource, including those inherited from the provider [`default_tags` * configuration block](https://registry.terraform.io/providers/hashicorp/aws/latest/docs#default_tags- * configuration-block). */ @core.attr(String, { computed: true, kind: "map" }) public tagsAll?: core.Map | core.MapOut; constructor(name: string, args?: QuickConnectArgs) { super(name, "aws_connect_quick_connect", args); } public override getNamespace(): string { return "aws_connect"; } }