Queue

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

Properties

Link copied to clipboard
val arn: Output<String>

The Amazon Resource Name (ARN) of the Queue.

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

Specifies the description of the Queue.

Link copied to clipboard

Specifies the identifier of the Hours of Operation.

Link copied to clipboard
val id: Output<String>
Link copied to clipboard
val instanceId: Output<String>

Specifies the identifier of the hosting Amazon Connect Instance.

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

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>

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
Link copied to clipboard
Link copied to clipboard
val queueId: Output<String>

The identifier for the Queue.

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

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

Link copied to clipboard
Link copied to clipboard
val status: Output<String>

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

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

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.

Link copied to clipboard
val tagsAll: Output<Map<String, String>>

A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

Link copied to clipboard
val urn: Output<String>