QueueArgs

data class QueueArgs(val description: Output<String>? = null, val hoursOfOperationId: Output<String>? = null, val instanceId: Output<String>? = null, val maxContacts: Output<Int>? = null, val name: Output<String>? = null, val outboundCallerConfig: Output<QueueOutboundCallerConfigArgs>? = null, val quickConnectIds: Output<List<String>>? = null, val status: Output<String>? = null, val tags: Output<Map<String, String>>? = null) : ConvertibleToJava<QueueArgs>

Provides an Amazon Connect Queue resource. For more information see Amazon Connect: Getting Started

NOTE: Due to The behaviour of Amazon Connect you cannot delete queues.

Example Usage

Basic

package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.connect.Queue;
import com.pulumi.aws.connect.QueueArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var test = new Queue("test", QueueArgs.builder()
.description("Example Description")
.hoursOfOperationId("12345678-1234-1234-1234-123456789012")
.instanceId("aaaaaaaa-bbbb-cccc-dddd-111111111111")
.tags(Map.of("Name", "Example Queue"))
.build());
}
}

With Quick Connect IDs

package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.connect.Queue;
import com.pulumi.aws.connect.QueueArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var test = new Queue("test", QueueArgs.builder()
.description("Example Description")
.hoursOfOperationId("12345678-1234-1234-1234-123456789012")
.instanceId("aaaaaaaa-bbbb-cccc-dddd-111111111111")
.quickConnectIds("12345678-abcd-1234-abcd-123456789012")
.tags(Map.of("Name", "Example Queue with Quick Connect IDs"))
.build());
}
}

With Outbound Caller Config

package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.connect.Queue;
import com.pulumi.aws.connect.QueueArgs;
import com.pulumi.aws.connect.inputs.QueueOutboundCallerConfigArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var test = new Queue("test", QueueArgs.builder()
.description("Example Description")
.hoursOfOperationId("12345678-1234-1234-1234-123456789012")
.instanceId("aaaaaaaa-bbbb-cccc-dddd-111111111111")
.outboundCallerConfig(QueueOutboundCallerConfigArgs.builder()
.outboundCallerIdName("example")
.outboundCallerIdNumberId("12345678-abcd-1234-abcd-123456789012")
.outboundFlowId("87654321-defg-1234-defg-987654321234")
.build())
.tags(Map.of("Name", "Example Queue with Outbound Caller Config"))
.build());
}
}

Import

Amazon Connect Queues can be imported using the instance_id and queue_id separated by a colon (:), e.g.,

$ pulumi import aws:connect/queue:Queue example f1288a1f-6193-445a-b47e-af739b2:c1d4e5f6-1b3c-1b3c-1b3c-c1d4e5f6c1d4e5

Constructors

Link copied to clipboard
constructor(description: Output<String>? = null, hoursOfOperationId: Output<String>? = null, instanceId: Output<String>? = null, maxContacts: Output<Int>? = null, name: Output<String>? = null, outboundCallerConfig: Output<QueueOutboundCallerConfigArgs>? = null, quickConnectIds: Output<List<String>>? = null, status: Output<String>? = null, tags: Output<Map<String, String>>? = null)

Properties

Link copied to clipboard
val description: Output<String>? = null

Specifies the description of the Queue.

Link copied to clipboard
val hoursOfOperationId: Output<String>? = null

Specifies the identifier of the Hours of Operation.

Link copied to clipboard
val instanceId: Output<String>? = null

Specifies the identifier of the hosting Amazon Connect Instance.

Link copied to clipboard
val maxContacts: Output<Int>? = null

Specifies the maximum number of contacts that can be in the queue before it is considered full. Minimum value of 0.

Link copied to clipboard
val name: Output<String>? = null

Specifies the name of the Queue.

Link copied to clipboard

A block that defines the outbound caller ID name, number, and outbound whisper flow. The Outbound Caller Config block is documented below.

Link copied to clipboard
val quickConnectIds: Output<List<String>>? = null

Specifies a list of quick connects ids that determine the quick connects available to agents who are working the queue.

Link copied to clipboard
val status: Output<String>? = null

Specifies the description of the Queue. Valid values are ENABLED, DISABLED.

Link copied to clipboard
val tags: Output<Map<String, String>>? = null

Tags to apply to the Queue. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.

Functions

Link copied to clipboard
open override fun toJava(): QueueArgs