Package com.pulumi.aws.connect
Class RoutingProfile
- java.lang.Object
-
- com.pulumi.resources.Resource
-
- com.pulumi.resources.CustomResource
-
- com.pulumi.aws.connect.RoutingProfile
-
public class RoutingProfile extends com.pulumi.resources.CustomResourceProvides an Amazon Connect Routing Profile resource. For more information see [Amazon Connect: Getting Started](https://docs.aws.amazon.com/connect/latest/adminguide/amazon-connect-get-started.html). ## Example Usage
## Import Using `pulumi import`, import Amazon Connect Routing Profiles using the `instanceId` and `routingProfileId` separated by a colon (`:`). For example: ```sh $ pulumi import aws:connect/routingProfile:RoutingProfile example f1288a1f-6193-445a-b47e-af739b2:c1d4e5f6-1b3c-1b3c-1b3c-c1d4e5f6c1d4e5 ```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.RoutingProfileMediaConcurrencyCrossChannelBehaviorArgs; import com.pulumi.aws.connect.inputs.RoutingProfileQueueConfigArgs; import java.util.ArrayList; import java.util.Arrays; 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() .mediaConcurrencies( RoutingProfileMediaConcurrencyArgs.builder() .crossChannelBehavior(RoutingProfileMediaConcurrencyCrossChannelBehaviorArgs.builder() .behaviorType("ROUTE_ANY_CHANNEL") .build()) .channel("VOICE") .concurrency(1) .build(), RoutingProfileMediaConcurrencyArgs.builder() .crossChannelBehavior(RoutingProfileMediaConcurrencyCrossChannelBehaviorArgs.builder() .behaviorType("ROUTE_CURRENT_CHANNEL_ONLY") .build()) .channel("CHAT") .concurrency(3) .build()) .queueConfigs(RoutingProfileQueueConfigArgs.builder() .channel("VOICE") .delay(2) .priority(1) .queueId("12345678-1234-1234-1234-123456789012") .build()) .instanceId("aaaaaaaa-bbbb-cccc-dddd-111111111111") .name("example") .defaultOutboundQueueId("12345678-1234-1234-1234-123456789012") .description("example description") .tags(Map.of("Name", "Example Routing Profile")) .build()); } }
-
-
Constructor Summary
Constructors Constructor Description RoutingProfile(java.lang.String name)RoutingProfile(java.lang.String name, RoutingProfileArgs args)RoutingProfile(java.lang.String name, RoutingProfileArgs args, com.pulumi.resources.CustomResourceOptions options)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description com.pulumi.core.Output<java.lang.String>arn()com.pulumi.core.Output<java.lang.String>defaultOutboundQueueId()com.pulumi.core.Output<java.lang.String>description()static RoutingProfileget(java.lang.String name, com.pulumi.core.Output<java.lang.String> id, RoutingProfileState state, com.pulumi.resources.CustomResourceOptions options)Get an existing Host resource's state with the given name, ID, and optional extra properties used to qualify the lookup.com.pulumi.core.Output<java.lang.String>instanceId()com.pulumi.core.Output<java.util.List<RoutingProfileMediaConcurrency>>mediaConcurrencies()com.pulumi.core.Output<java.lang.String>name()com.pulumi.core.Output<java.util.Optional<java.util.List<RoutingProfileQueueConfig>>>queueConfigs()com.pulumi.core.Output<java.lang.String>region()com.pulumi.core.Output<java.lang.String>routingProfileId()com.pulumi.core.Output<java.util.Optional<java.util.Map<java.lang.String,java.lang.String>>>tags()com.pulumi.core.Output<java.util.Map<java.lang.String,java.lang.String>>tagsAll()
-
-
-
Constructor Detail
-
RoutingProfile
public RoutingProfile(java.lang.String name)
- Parameters:
name- The _unique_ name of the resulting resource.
-
RoutingProfile
public RoutingProfile(java.lang.String name, RoutingProfileArgs args)- Parameters:
name- The _unique_ name of the resulting resource.args- The arguments to use to populate this resource's properties.
-
RoutingProfile
public RoutingProfile(java.lang.String name, RoutingProfileArgs args, @Nullable com.pulumi.resources.CustomResourceOptions options)- Parameters:
name- The _unique_ name of the resulting resource.args- The arguments to use to populate this resource's properties.options- A bag of options that control this resource's behavior.
-
-
Method Detail
-
arn
public com.pulumi.core.Output<java.lang.String> arn()
- Returns:
- ARN of the Routing Profile.
-
defaultOutboundQueueId
public com.pulumi.core.Output<java.lang.String> defaultOutboundQueueId()
- Returns:
- Specifies the default outbound queue for the Routing Profile.
-
description
public com.pulumi.core.Output<java.lang.String> description()
- Returns:
- Specifies the description of the Routing Profile.
-
instanceId
public com.pulumi.core.Output<java.lang.String> instanceId()
- Returns:
- Specifies the identifier of the hosting Amazon Connect Instance.
-
mediaConcurrencies
public com.pulumi.core.Output<java.util.List<RoutingProfileMediaConcurrency>> mediaConcurrencies()
- Returns:
- One or more `mediaConcurrencies` blocks that specify the channels that agents can handle in the Contact Control Panel (CCP) for this Routing Profile. The `mediaConcurrencies` block is documented below.
-
name
public com.pulumi.core.Output<java.lang.String> name()
- Returns:
- Specifies the name of the Routing Profile.
-
queueConfigs
public com.pulumi.core.Output<java.util.Optional<java.util.List<RoutingProfileQueueConfig>>> queueConfigs()
- Returns:
- One or more `queueConfigs` blocks that specify the inbound queues associated with the routing profile. If no queue is added, the agent only can make outbound calls. The `queueConfigs` block is documented below.
-
region
public com.pulumi.core.Output<java.lang.String> region()
- Returns:
- Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
-
routingProfileId
public com.pulumi.core.Output<java.lang.String> routingProfileId()
- Returns:
- Identifier for the Routing Profile.
-
tags
public com.pulumi.core.Output<java.util.Optional<java.util.Map<java.lang.String,java.lang.String>>> tags()
- Returns:
- Tags to apply to the Routing Profile. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
-
tagsAll
public com.pulumi.core.Output<java.util.Map<java.lang.String,java.lang.String>> tagsAll()
- Returns:
- A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
-
get
public static RoutingProfile get(java.lang.String name, com.pulumi.core.Output<java.lang.String> id, @Nullable RoutingProfileState state, @Nullable com.pulumi.resources.CustomResourceOptions options)
Get an existing Host resource's state with the given name, ID, and optional extra properties used to qualify the lookup.- Parameters:
name- The _unique_ name of the resulting resource.id- The _unique_ provider ID of the resource to lookup.state-options- Optional settings to control the behavior of the CustomResource.
-
-