AWS v6.60.0 published on Tuesday, Nov 19, 2024 by Pulumi
aws.connect.getRoutingProfile
Explore with Pulumi AI
Provides details about a specific Amazon Connect Routing Profile.
Example Usage
By name
import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";
const example = aws.connect.getRoutingProfile({
instanceId: "aaaaaaaa-bbbb-cccc-dddd-111111111111",
name: "Example",
});
import pulumi
import pulumi_aws as aws
example = aws.connect.get_routing_profile(instance_id="aaaaaaaa-bbbb-cccc-dddd-111111111111",
name="Example")
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.LookupRoutingProfile(ctx, &connect.LookupRoutingProfileArgs{
InstanceId: "aaaaaaaa-bbbb-cccc-dddd-111111111111",
Name: pulumi.StringRef("Example"),
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Aws = Pulumi.Aws;
return await Deployment.RunAsync(() =>
{
var example = Aws.Connect.GetRoutingProfile.Invoke(new()
{
InstanceId = "aaaaaaaa-bbbb-cccc-dddd-111111111111",
Name = "Example",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.connect.ConnectFunctions;
import com.pulumi.aws.connect.inputs.GetRoutingProfileArgs;
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) {
final var example = ConnectFunctions.getRoutingProfile(GetRoutingProfileArgs.builder()
.instanceId("aaaaaaaa-bbbb-cccc-dddd-111111111111")
.name("Example")
.build());
}
}
variables:
example:
fn::invoke:
Function: aws:connect:getRoutingProfile
Arguments:
instanceId: aaaaaaaa-bbbb-cccc-dddd-111111111111
name: Example
By routing_profile_id
import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";
const example = aws.connect.getRoutingProfile({
instanceId: "aaaaaaaa-bbbb-cccc-dddd-111111111111",
routingProfileId: "cccccccc-bbbb-cccc-dddd-111111111111",
});
import pulumi
import pulumi_aws as aws
example = aws.connect.get_routing_profile(instance_id="aaaaaaaa-bbbb-cccc-dddd-111111111111",
routing_profile_id="cccccccc-bbbb-cccc-dddd-111111111111")
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.LookupRoutingProfile(ctx, &connect.LookupRoutingProfileArgs{
InstanceId: "aaaaaaaa-bbbb-cccc-dddd-111111111111",
RoutingProfileId: pulumi.StringRef("cccccccc-bbbb-cccc-dddd-111111111111"),
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Aws = Pulumi.Aws;
return await Deployment.RunAsync(() =>
{
var example = Aws.Connect.GetRoutingProfile.Invoke(new()
{
InstanceId = "aaaaaaaa-bbbb-cccc-dddd-111111111111",
RoutingProfileId = "cccccccc-bbbb-cccc-dddd-111111111111",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.connect.ConnectFunctions;
import com.pulumi.aws.connect.inputs.GetRoutingProfileArgs;
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) {
final var example = ConnectFunctions.getRoutingProfile(GetRoutingProfileArgs.builder()
.instanceId("aaaaaaaa-bbbb-cccc-dddd-111111111111")
.routingProfileId("cccccccc-bbbb-cccc-dddd-111111111111")
.build());
}
}
variables:
example:
fn::invoke:
Function: aws:connect:getRoutingProfile
Arguments:
instanceId: aaaaaaaa-bbbb-cccc-dddd-111111111111
routingProfileId: cccccccc-bbbb-cccc-dddd-111111111111
Using getRoutingProfile
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getRoutingProfile(args: GetRoutingProfileArgs, opts?: InvokeOptions): Promise<GetRoutingProfileResult>
function getRoutingProfileOutput(args: GetRoutingProfileOutputArgs, opts?: InvokeOptions): Output<GetRoutingProfileResult>
def get_routing_profile(instance_id: Optional[str] = None,
name: Optional[str] = None,
routing_profile_id: Optional[str] = None,
tags: Optional[Mapping[str, str]] = None,
opts: Optional[InvokeOptions] = None) -> GetRoutingProfileResult
def get_routing_profile_output(instance_id: Optional[pulumi.Input[str]] = None,
name: Optional[pulumi.Input[str]] = None,
routing_profile_id: Optional[pulumi.Input[str]] = None,
tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetRoutingProfileResult]
func LookupRoutingProfile(ctx *Context, args *LookupRoutingProfileArgs, opts ...InvokeOption) (*LookupRoutingProfileResult, error)
func LookupRoutingProfileOutput(ctx *Context, args *LookupRoutingProfileOutputArgs, opts ...InvokeOption) LookupRoutingProfileResultOutput
> Note: This function is named LookupRoutingProfile
in the Go SDK.
public static class GetRoutingProfile
{
public static Task<GetRoutingProfileResult> InvokeAsync(GetRoutingProfileArgs args, InvokeOptions? opts = null)
public static Output<GetRoutingProfileResult> Invoke(GetRoutingProfileInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetRoutingProfileResult> getRoutingProfile(GetRoutingProfileArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: aws:connect/getRoutingProfile:getRoutingProfile
arguments:
# arguments dictionary
The following arguments are supported:
- Instance
Id string - Reference to the hosting Amazon Connect Instance
- Name string
- Returns information on a specific Routing Profile by name
- Routing
Profile stringId - Returns information on a specific Routing Profile by Routing Profile id
- Dictionary<string, string>
- Map of tags to assign to the Routing Profile.
- Instance
Id string - Reference to the hosting Amazon Connect Instance
- Name string
- Returns information on a specific Routing Profile by name
- Routing
Profile stringId - Returns information on a specific Routing Profile by Routing Profile id
- map[string]string
- Map of tags to assign to the Routing Profile.
- instance
Id String - Reference to the hosting Amazon Connect Instance
- name String
- Returns information on a specific Routing Profile by name
- routing
Profile StringId - Returns information on a specific Routing Profile by Routing Profile id
- Map<String,String>
- Map of tags to assign to the Routing Profile.
- instance
Id string - Reference to the hosting Amazon Connect Instance
- name string
- Returns information on a specific Routing Profile by name
- routing
Profile stringId - Returns information on a specific Routing Profile by Routing Profile id
- {[key: string]: string}
- Map of tags to assign to the Routing Profile.
- instance_
id str - Reference to the hosting Amazon Connect Instance
- name str
- Returns information on a specific Routing Profile by name
- routing_
profile_ strid - Returns information on a specific Routing Profile by Routing Profile id
- Mapping[str, str]
- Map of tags to assign to the Routing Profile.
- instance
Id String - Reference to the hosting Amazon Connect Instance
- name String
- Returns information on a specific Routing Profile by name
- routing
Profile StringId - Returns information on a specific Routing Profile by Routing Profile id
- Map<String>
- Map of tags to assign to the Routing Profile.
getRoutingProfile Result
The following output properties are available:
- Arn string
- ARN of the Routing Profile.
- Default
Outbound stringQueue Id - Specifies the default outbound queue for the Routing Profile.
- Description string
- Description of the Routing Profile.
- Id string
- The provider-assigned unique ID for this managed resource.
- Instance
Id string - Media
Concurrencies List<GetRouting Profile Media Concurrency> - One or more
media_concurrencies
blocks that specify the channels that agents can handle in the Contact Control Panel (CCP) for this Routing Profile. Themedia_concurrencies
block is documented below. - Name string
- Queue
Configs List<GetRouting Profile Queue Config> - 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. Thequeue_configs
block is documented below. - Routing
Profile stringId - Dictionary<string, string>
- Map of tags to assign to the Routing Profile.
- Arn string
- ARN of the Routing Profile.
- Default
Outbound stringQueue Id - Specifies the default outbound queue for the Routing Profile.
- Description string
- Description of the Routing Profile.
- Id string
- The provider-assigned unique ID for this managed resource.
- Instance
Id string - Media
Concurrencies []GetRouting Profile Media Concurrency - One or more
media_concurrencies
blocks that specify the channels that agents can handle in the Contact Control Panel (CCP) for this Routing Profile. Themedia_concurrencies
block is documented below. - Name string
- Queue
Configs []GetRouting Profile Queue Config - 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. Thequeue_configs
block is documented below. - Routing
Profile stringId - map[string]string
- Map of tags to assign to the Routing Profile.
- arn String
- ARN of the Routing Profile.
- default
Outbound StringQueue Id - Specifies the default outbound queue for the Routing Profile.
- description String
- Description of the Routing Profile.
- id String
- The provider-assigned unique ID for this managed resource.
- instance
Id String - media
Concurrencies List<GetRouting Profile Media Concurrency> - One or more
media_concurrencies
blocks that specify the channels that agents can handle in the Contact Control Panel (CCP) for this Routing Profile. Themedia_concurrencies
block is documented below. - name String
- queue
Configs List<GetRouting Profile Queue Config> - 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. Thequeue_configs
block is documented below. - routing
Profile StringId - Map<String,String>
- Map of tags to assign to the Routing Profile.
- arn string
- ARN of the Routing Profile.
- default
Outbound stringQueue Id - Specifies the default outbound queue for the Routing Profile.
- description string
- Description of the Routing Profile.
- id string
- The provider-assigned unique ID for this managed resource.
- instance
Id string - media
Concurrencies GetRouting Profile Media Concurrency[] - One or more
media_concurrencies
blocks that specify the channels that agents can handle in the Contact Control Panel (CCP) for this Routing Profile. Themedia_concurrencies
block is documented below. - name string
- queue
Configs GetRouting Profile Queue Config[] - 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. Thequeue_configs
block is documented below. - routing
Profile stringId - {[key: string]: string}
- Map of tags to assign to the Routing Profile.
- arn str
- ARN of the Routing Profile.
- default_
outbound_ strqueue_ id - Specifies the default outbound queue for the Routing Profile.
- description str
- Description of the Routing Profile.
- id str
- The provider-assigned unique ID for this managed resource.
- instance_
id str - media_
concurrencies Sequence[GetRouting Profile Media Concurrency] - One or more
media_concurrencies
blocks that specify the channels that agents can handle in the Contact Control Panel (CCP) for this Routing Profile. Themedia_concurrencies
block is documented below. - name str
- queue_
configs Sequence[GetRouting Profile Queue Config] - 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. Thequeue_configs
block is documented below. - routing_
profile_ strid - Mapping[str, str]
- Map of tags to assign to the Routing Profile.
- arn String
- ARN of the Routing Profile.
- default
Outbound StringQueue Id - Specifies the default outbound queue for the Routing Profile.
- description String
- Description of the Routing Profile.
- id String
- The provider-assigned unique ID for this managed resource.
- instance
Id String - media
Concurrencies List<Property Map> - One or more
media_concurrencies
blocks that specify the channels that agents can handle in the Contact Control Panel (CCP) for this Routing Profile. Themedia_concurrencies
block is documented below. - name String
- queue
Configs List<Property Map> - 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. Thequeue_configs
block is documented below. - routing
Profile StringId - Map<String>
- Map of tags to assign to the Routing Profile.
Supporting Types
GetRoutingProfileMediaConcurrency
- Channel string
- Channels agents can handle in the Contact Control Panel (CCP) for this routing profile. Valid values are
VOICE
,CHAT
,TASK
. - Concurrency int
- Number of contacts an agent can have on a channel simultaneously. Valid Range for
VOICE
: Minimum value of 1. Maximum value of 1. Valid Range forCHAT
: Minimum value of 1. Maximum value of 10. Valid Range forTASK
: Minimum value of 1. Maximum value of 10.
- Channel string
- Channels agents can handle in the Contact Control Panel (CCP) for this routing profile. Valid values are
VOICE
,CHAT
,TASK
. - Concurrency int
- Number of contacts an agent can have on a channel simultaneously. Valid Range for
VOICE
: Minimum value of 1. Maximum value of 1. Valid Range forCHAT
: Minimum value of 1. Maximum value of 10. Valid Range forTASK
: Minimum value of 1. Maximum value of 10.
- channel String
- Channels agents can handle in the Contact Control Panel (CCP) for this routing profile. Valid values are
VOICE
,CHAT
,TASK
. - concurrency Integer
- Number of contacts an agent can have on a channel simultaneously. Valid Range for
VOICE
: Minimum value of 1. Maximum value of 1. Valid Range forCHAT
: Minimum value of 1. Maximum value of 10. Valid Range forTASK
: Minimum value of 1. Maximum value of 10.
- channel string
- Channels agents can handle in the Contact Control Panel (CCP) for this routing profile. Valid values are
VOICE
,CHAT
,TASK
. - concurrency number
- Number of contacts an agent can have on a channel simultaneously. Valid Range for
VOICE
: Minimum value of 1. Maximum value of 1. Valid Range forCHAT
: Minimum value of 1. Maximum value of 10. Valid Range forTASK
: Minimum value of 1. Maximum value of 10.
- channel str
- Channels agents can handle in the Contact Control Panel (CCP) for this routing profile. Valid values are
VOICE
,CHAT
,TASK
. - concurrency int
- Number of contacts an agent can have on a channel simultaneously. Valid Range for
VOICE
: Minimum value of 1. Maximum value of 1. Valid Range forCHAT
: Minimum value of 1. Maximum value of 10. Valid Range forTASK
: Minimum value of 1. Maximum value of 10.
- channel String
- Channels agents can handle in the Contact Control Panel (CCP) for this routing profile. Valid values are
VOICE
,CHAT
,TASK
. - concurrency Number
- Number of contacts an agent can have on a channel simultaneously. Valid Range for
VOICE
: Minimum value of 1. Maximum value of 1. Valid Range forCHAT
: Minimum value of 1. Maximum value of 10. Valid Range forTASK
: Minimum value of 1. Maximum value of 10.
GetRoutingProfileQueueConfig
- Channel string
- Channels agents can handle in the Contact Control Panel (CCP) for this routing profile. Valid values are
VOICE
,CHAT
,TASK
. - Delay int
- Delay, in seconds, that a contact should be in the queue before they are routed to an available agent
- Priority int
- Order in which contacts are to be handled for the queue.
- Queue
Arn string - ARN for the queue.
- Queue
Id string - Identifier for the queue.
- Queue
Name string - Name for the queue.
- Channel string
- Channels agents can handle in the Contact Control Panel (CCP) for this routing profile. Valid values are
VOICE
,CHAT
,TASK
. - Delay int
- Delay, in seconds, that a contact should be in the queue before they are routed to an available agent
- Priority int
- Order in which contacts are to be handled for the queue.
- Queue
Arn string - ARN for the queue.
- Queue
Id string - Identifier for the queue.
- Queue
Name string - Name for the queue.
- channel String
- Channels agents can handle in the Contact Control Panel (CCP) for this routing profile. Valid values are
VOICE
,CHAT
,TASK
. - delay Integer
- Delay, in seconds, that a contact should be in the queue before they are routed to an available agent
- priority Integer
- Order in which contacts are to be handled for the queue.
- queue
Arn String - ARN for the queue.
- queue
Id String - Identifier for the queue.
- queue
Name String - Name for the queue.
- channel string
- Channels agents can handle in the Contact Control Panel (CCP) for this routing profile. Valid values are
VOICE
,CHAT
,TASK
. - delay number
- Delay, in seconds, that a contact should be in the queue before they are routed to an available agent
- priority number
- Order in which contacts are to be handled for the queue.
- queue
Arn string - ARN for the queue.
- queue
Id string - Identifier for the queue.
- queue
Name string - Name for the queue.
- channel str
- Channels agents can handle in the Contact Control Panel (CCP) for this routing profile. Valid values are
VOICE
,CHAT
,TASK
. - delay int
- Delay, in seconds, that a contact should be in the queue before they are routed to an available agent
- priority int
- Order in which contacts are to be handled for the queue.
- queue_
arn str - ARN for the queue.
- queue_
id str - Identifier for the queue.
- queue_
name str - Name for the queue.
- channel String
- Channels agents can handle in the Contact Control Panel (CCP) for this routing profile. Valid values are
VOICE
,CHAT
,TASK
. - delay Number
- Delay, in seconds, that a contact should be in the queue before they are routed to an available agent
- priority Number
- Order in which contacts are to be handled for the queue.
- queue
Arn String - ARN for the queue.
- queue
Id String - Identifier for the queue.
- queue
Name String - Name for the queue.
Package Details
- Repository
- AWS Classic pulumi/pulumi-aws
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
aws
Terraform Provider.