Class CfnRoutingProfile

java.lang.Object
software.amazon.jsii.JsiiObject
software.constructs.Construct
All Implemented Interfaces:
IInspectable, ITaggableV2, software.amazon.jsii.JsiiSerializable, software.constructs.IConstruct, software.constructs.IDependable

@Generated(value="jsii-pacmak/1.98.0 (build 00b106d)", date="2024-05-08T21:35:04.919Z") @Stability(Stable) public class CfnRoutingProfile extends CfnResource implements IInspectable, ITaggableV2
Creates a new routing profile.

Example:

 // The code below shows an example of how to instantiate this type.
 // The values are placeholders you should change.
 import software.amazon.awscdk.services.connect.*;
 CfnRoutingProfile cfnRoutingProfile = CfnRoutingProfile.Builder.create(this, "MyCfnRoutingProfile")
         .defaultOutboundQueueArn("defaultOutboundQueueArn")
         .description("description")
         .instanceArn("instanceArn")
         .mediaConcurrencies(List.of(MediaConcurrencyProperty.builder()
                 .channel("channel")
                 .concurrency(123)
                 // the properties below are optional
                 .crossChannelBehavior(CrossChannelBehaviorProperty.builder()
                         .behaviorType("behaviorType")
                         .build())
                 .build()))
         .name("name")
         // the properties below are optional
         .agentAvailabilityTimer("agentAvailabilityTimer")
         .queueConfigs(List.of(RoutingProfileQueueConfigProperty.builder()
                 .delay(123)
                 .priority(123)
                 .queueReference(RoutingProfileQueueReferenceProperty.builder()
                         .channel("channel")
                         .queueArn("queueArn")
                         .build())
                 .build()))
         .tags(List.of(CfnTag.builder()
                 .key("key")
                 .value("value")
                 .build()))
         .build();
 

See Also:
  • Field Details

    • CFN_RESOURCE_TYPE_NAME

      @Stability(Stable) public static final String CFN_RESOURCE_TYPE_NAME
      The CloudFormation resource type name for this resource class.
  • Constructor Details

    • CfnRoutingProfile

      protected CfnRoutingProfile(software.amazon.jsii.JsiiObjectRef objRef)
    • CfnRoutingProfile

      protected CfnRoutingProfile(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
    • CfnRoutingProfile

      @Stability(Stable) public CfnRoutingProfile(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull CfnRoutingProfileProps props)
      Parameters:
      scope - Scope in which this resource is defined. This parameter is required.
      id - Construct identifier for this resource (unique in its scope). This parameter is required.
      props - Resource properties. This parameter is required.
  • Method Details

    • inspect

      @Stability(Stable) public void inspect(@NotNull TreeInspector inspector)
      Examines the CloudFormation resource and discloses attributes.

      Specified by:
      inspect in interface IInspectable
      Parameters:
      inspector - tree inspector to collect and process attributes. This parameter is required.
    • renderProperties

      @Stability(Stable) @NotNull protected Map<String,Object> renderProperties(@NotNull Map<String,Object> props)
      Overrides:
      renderProperties in class CfnResource
      Parameters:
      props - This parameter is required.
    • getAttrRoutingProfileArn

      @Stability(Stable) @NotNull public String getAttrRoutingProfileArn()
      The Amazon Resource Name (ARN) of the routing profile.
    • getCdkTagManager

      @Stability(Stable) @NotNull public TagManager getCdkTagManager()
      Tag Manager which manages the tags for this resource.
      Specified by:
      getCdkTagManager in interface ITaggableV2
    • getCfnProperties

      @Stability(Stable) @NotNull protected Map<String,Object> getCfnProperties()
      Overrides:
      getCfnProperties in class CfnResource
    • getDefaultOutboundQueueArn

      @Stability(Stable) @NotNull public String getDefaultOutboundQueueArn()
      The Amazon Resource Name (ARN) of the default outbound queue for the routing profile.
    • setDefaultOutboundQueueArn

      @Stability(Stable) public void setDefaultOutboundQueueArn(@NotNull String value)
      The Amazon Resource Name (ARN) of the default outbound queue for the routing profile.
    • getDescription

      @Stability(Stable) @NotNull public String getDescription()
      The description of the routing profile.
    • setDescription

      @Stability(Stable) public void setDescription(@NotNull String value)
      The description of the routing profile.
    • getInstanceArn

      @Stability(Stable) @NotNull public String getInstanceArn()
      The identifier of the Amazon Connect instance.
    • setInstanceArn

      @Stability(Stable) public void setInstanceArn(@NotNull String value)
      The identifier of the Amazon Connect instance.
    • getMediaConcurrencies

      @Stability(Stable) @NotNull public Object getMediaConcurrencies()
      The channels agents can handle in the Contact Control Panel (CCP) for this routing profile.
    • setMediaConcurrencies

      @Stability(Stable) public void setMediaConcurrencies(@NotNull IResolvable value)
      The channels agents can handle in the Contact Control Panel (CCP) for this routing profile.
    • setMediaConcurrencies

      @Stability(Stable) public void setMediaConcurrencies(@NotNull List<Object> value)
      The channels agents can handle in the Contact Control Panel (CCP) for this routing profile.
    • getName

      @Stability(Stable) @NotNull public String getName()
      The name of the routing profile.
    • setName

      @Stability(Stable) public void setName(@NotNull String value)
      The name of the routing profile.
    • getAgentAvailabilityTimer

      @Stability(Stable) @Nullable public String getAgentAvailabilityTimer()
      Whether agents with this routing profile will have their routing order calculated based on time since their last inbound contact or longest idle time .
    • setAgentAvailabilityTimer

      @Stability(Stable) public void setAgentAvailabilityTimer(@Nullable String value)
      Whether agents with this routing profile will have their routing order calculated based on time since their last inbound contact or longest idle time .
    • getQueueConfigs

      @Stability(Stable) @Nullable public Object getQueueConfigs()
      The inbound queues associated with the routing profile.
    • setQueueConfigs

      @Stability(Stable) public void setQueueConfigs(@Nullable IResolvable value)
      The inbound queues associated with the routing profile.
    • setQueueConfigs

      @Stability(Stable) public void setQueueConfigs(@Nullable List<Object> value)
      The inbound queues associated with the routing profile.
    • getTags

      @Stability(Stable) @Nullable public List<CfnTag> getTags()
      The tags used to organize, track, or control access for this resource.
    • setTags

      @Stability(Stable) public void setTags(@Nullable List<CfnTag> value)
      The tags used to organize, track, or control access for this resource.