RoutingProfileArgs

data class RoutingProfileArgs(val defaultOutboundQueueId: Output<String>? = null, val description: Output<String>? = null, val instanceId: Output<String>? = null, val mediaConcurrencies: Output<List<RoutingProfileMediaConcurrencyArgs>>? = null, val name: Output<String>? = null, val queueConfigs: Output<List<RoutingProfileQueueConfigArgs>>? = null, val tags: Output<Map<String, String>>? = null) : ConvertibleToJava<RoutingProfileArgs>

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

Example Usage

import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";
const example = new aws.connect.RoutingProfile("example", {
instanceId: "aaaaaaaa-bbbb-cccc-dddd-111111111111",
name: "example",
defaultOutboundQueueId: "12345678-1234-1234-1234-123456789012",
description: "example description",
mediaConcurrencies: [{
channel: "VOICE",
concurrency: 1,
}],
queueConfigs: [{
channel: "VOICE",
delay: 2,
priority: 1,
queueId: "12345678-1234-1234-1234-123456789012",
}],
tags: {
Name: "Example Routing Profile",
},
});
import pulumi
import pulumi_aws as aws
example = aws.connect.RoutingProfile("example",
instance_id="aaaaaaaa-bbbb-cccc-dddd-111111111111",
name="example",
default_outbound_queue_id="12345678-1234-1234-1234-123456789012",
description="example description",
media_concurrencies=[{
"channel": "VOICE",
"concurrency": 1,
}],
queue_configs=[{
"channel": "VOICE",
"delay": 2,
"priority": 1,
"queue_id": "12345678-1234-1234-1234-123456789012",
}],
tags={
"Name": "Example Routing Profile",
})
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Aws = Pulumi.Aws;
return await Deployment.RunAsync(() =>
{
var example = new Aws.Connect.RoutingProfile("example", new()
{
InstanceId = "aaaaaaaa-bbbb-cccc-dddd-111111111111",
Name = "example",
DefaultOutboundQueueId = "12345678-1234-1234-1234-123456789012",
Description = "example description",
MediaConcurrencies = new[]
{
new Aws.Connect.Inputs.RoutingProfileMediaConcurrencyArgs
{
Channel = "VOICE",
Concurrency = 1,
},
},
QueueConfigs = new[]
{
new Aws.Connect.Inputs.RoutingProfileQueueConfigArgs
{
Channel = "VOICE",
Delay = 2,
Priority = 1,
QueueId = "12345678-1234-1234-1234-123456789012",
},
},
Tags =
{
{ "Name", "Example Routing Profile" },
},
});
});
package main
import (
"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/connect"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := connect.NewRoutingProfile(ctx, "example", &connect.RoutingProfileArgs{
InstanceId: pulumi.String("aaaaaaaa-bbbb-cccc-dddd-111111111111"),
Name: pulumi.String("example"),
DefaultOutboundQueueId: pulumi.String("12345678-1234-1234-1234-123456789012"),
Description: pulumi.String("example description"),
MediaConcurrencies: connect.RoutingProfileMediaConcurrencyArray{
&connect.RoutingProfileMediaConcurrencyArgs{
Channel: pulumi.String("VOICE"),
Concurrency: pulumi.Int(1),
},
},
QueueConfigs: connect.RoutingProfileQueueConfigArray{
&connect.RoutingProfileQueueConfigArgs{
Channel: pulumi.String("VOICE"),
Delay: pulumi.Int(2),
Priority: pulumi.Int(1),
QueueId: pulumi.String("12345678-1234-1234-1234-123456789012"),
},
},
Tags: pulumi.StringMap{
"Name": pulumi.String("Example Routing Profile"),
},
})
if err != nil {
return err
}
return nil
})
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.connect.RoutingProfile;
import com.pulumi.aws.connect.RoutingProfileArgs;
import com.pulumi.aws.connect.inputs.RoutingProfileMediaConcurrencyArgs;
import com.pulumi.aws.connect.inputs.RoutingProfileQueueConfigArgs;
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 example = new RoutingProfile("example", RoutingProfileArgs.builder()
.instanceId("aaaaaaaa-bbbb-cccc-dddd-111111111111")
.name("example")
.defaultOutboundQueueId("12345678-1234-1234-1234-123456789012")
.description("example description")
.mediaConcurrencies(RoutingProfileMediaConcurrencyArgs.builder()
.channel("VOICE")
.concurrency(1)
.build())
.queueConfigs(RoutingProfileQueueConfigArgs.builder()
.channel("VOICE")
.delay(2)
.priority(1)
.queueId("12345678-1234-1234-1234-123456789012")
.build())
.tags(Map.of("Name", "Example Routing Profile"))
.build());
}
}
resources:
example:
type: aws:connect:RoutingProfile
properties:
instanceId: aaaaaaaa-bbbb-cccc-dddd-111111111111
name: example
defaultOutboundQueueId: 12345678-1234-1234-1234-123456789012
description: example description
mediaConcurrencies:
- channel: VOICE
concurrency: 1
queueConfigs:
- channel: VOICE
delay: 2
priority: 1
queueId: 12345678-1234-1234-1234-123456789012
tags:
Name: Example Routing Profile

Import

Using pulumi import, import Amazon Connect Routing Profiles using the instance_id and routing_profile_id separated by a colon (:). For example:

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

Constructors

Link copied to clipboard
constructor(defaultOutboundQueueId: Output<String>? = null, description: Output<String>? = null, instanceId: Output<String>? = null, mediaConcurrencies: Output<List<RoutingProfileMediaConcurrencyArgs>>? = null, name: Output<String>? = null, queueConfigs: Output<List<RoutingProfileQueueConfigArgs>>? = null, tags: Output<Map<String, String>>? = null)

Properties

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

Specifies the default outbound queue for the Routing Profile.

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

Specifies the description of the Routing Profile.

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

Specifies the identifier of the hosting Amazon Connect Instance.

Link copied to clipboard

One or more media_concurrencies blocks that specify the channels that agents can handle in the Contact Control Panel (CCP) for this Routing Profile. The media_concurrencies block is documented below.

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

Specifies the name of the Routing Profile.

Link copied to clipboard

One or more queue_configs blocks that specify the inbound queues associated with the routing profile. If no queue is added, the agent only can make outbound calls. The queue_configs block is documented below.

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

Tags to apply to the Routing Profile. 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(): RoutingProfileArgs