# RoutingProfileQueueConfigProperty

Contains information about the queue and channel for which priority and delay can be set.

- Source: Generated at build time
- Type last changed: v2.93.0 · 23 Aug 2023

## Example

TypeScript:

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_connect as connect } from 'aws-cdk-lib';
const routingProfileQueueConfigProperty: connect.CfnRoutingProfile.RoutingProfileQueueConfigProperty = {
  delay: 123,
  priority: 123,
  queueReference: {
    channel: 'channel',
    queueArn: 'queueArn',
  },
};
```

Python:

```python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_connect as connect

routing_profile_queue_config_property = connect.CfnRoutingProfile.RoutingProfileQueueConfigProperty(
    delay=123,
    priority=123,
    queue_reference=connect.CfnRoutingProfile.RoutingProfileQueueReferenceProperty(
        channel="channel",
        queue_arn="queueArn"
    )
)
```

Java:

```java
// 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.*;

RoutingProfileQueueConfigProperty routingProfileQueueConfigProperty = RoutingProfileQueueConfigProperty.builder()
        .delay(123)
        .priority(123)
        .queueReference(RoutingProfileQueueReferenceProperty.builder()
                .channel("channel")
                .queueArn("queueArn")
                .build())
        .build();
```

C# / .NET:

```csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.Connect;

var routingProfileQueueConfigProperty = new RoutingProfileQueueConfigProperty {
    Delay = 123,
    Priority = 123,
    QueueReference = new RoutingProfileQueueReferenceProperty {
        Channel = "channel",
        QueueArn = "queueArn"
    }
};
```

Golang:

```go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"

routingProfileQueueConfigProperty := &RoutingProfileQueueConfigProperty{
	Delay: jsii.Number(123),
	Priority: jsii.Number(123),
	QueueReference: &RoutingProfileQueueReferenceProperty{
		Channel: jsii.String("channel"),
		QueueArn: jsii.String("queueArn"),
	},
}
```

## Properties

- `delay`: number (required) — The delay, in seconds, a contact should be in the queue before they are routed to an available agent.

  For more information, see [Queues: priority and delay](https://docs.aws.amazon.com/connect/latest/adminguide/concepts-routing-profiles-priority.html) in the *Amazon Connect Administrator Guide* .

- `priority`: number (required) — The order in which contacts are to be handled for the queue.

  For more information, see [Queues: priority and delay](https://docs.aws.amazon.com/connect/latest/adminguide/concepts-routing-profiles-priority.html) .

- `queueReference`: [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnRoutingProfile.RoutingProfileQueueReferenceProperty](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_connect.CfnRoutingProfile.RoutingProfileQueueReferenceProperty.html) (required) — Contains information about a queue resource.
