# CfnQueueProps

Properties for defining a `CfnQueue`.

Used as props by: [CfnQueue](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_connect.CfnQueue.html)

- Source: Generated at build time
- Type last changed: v2.245.0 · 27 Mar 2026

## 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 cfnQueueProps: connect.CfnQueueProps = {
  hoursOfOperationArn: 'hoursOfOperationArn',
  instanceArn: 'instanceArn',
  name: 'name',

  // the properties below are optional
  additionalEmailAddresses: [{
    emailAddressArn: 'emailAddressArn',
  }],
  description: 'description',
  maxContacts: 123,
  outboundCallerConfig: {
    outboundCallerIdName: 'outboundCallerIdName',
    outboundCallerIdNumberArn: 'outboundCallerIdNumberArn',
    outboundFlowArn: 'outboundFlowArn',
  },
  outboundEmailConfig: {
    outboundEmailAddressId: 'outboundEmailAddressId',
  },
  quickConnectArns: ['quickConnectArns'],
  status: 'status',
  tags: [{
    key: 'key',
    value: 'value',
  }],
};
```

Python:

```python
from aws_cdk import CfnTag
# 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

cfn_queue_props = connect.CfnQueueProps(
    hours_of_operation_arn="hoursOfOperationArn",
    instance_arn="instanceArn",
    name="name",

    # the properties below are optional
    additional_email_addresses=[connect.CfnQueue.EmailAddressProperty(
        email_address_arn="emailAddressArn"
    )],
    description="description",
    max_contacts=123,
    outbound_caller_config=connect.CfnQueue.OutboundCallerConfigProperty(
        outbound_caller_id_name="outboundCallerIdName",
        outbound_caller_id_number_arn="outboundCallerIdNumberArn",
        outbound_flow_arn="outboundFlowArn"
    ),
    outbound_email_config=connect.CfnQueue.OutboundEmailConfigProperty(
        outbound_email_address_id="outboundEmailAddressId"
    ),
    quick_connect_arns=["quickConnectArns"],
    status="status",
    tags=[CfnTag(
        key="key",
        value="value"
    )]
)
```

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.*;

CfnQueueProps cfnQueueProps = CfnQueueProps.builder()
        .hoursOfOperationArn("hoursOfOperationArn")
        .instanceArn("instanceArn")
        .name("name")

        // the properties below are optional
        .additionalEmailAddresses(List.of(EmailAddressProperty.builder()
                .emailAddressArn("emailAddressArn")
                .build()))
        .description("description")
        .maxContacts(123)
        .outboundCallerConfig(OutboundCallerConfigProperty.builder()
                .outboundCallerIdName("outboundCallerIdName")
                .outboundCallerIdNumberArn("outboundCallerIdNumberArn")
                .outboundFlowArn("outboundFlowArn")
                .build())
        .outboundEmailConfig(OutboundEmailConfigProperty.builder()
                .outboundEmailAddressId("outboundEmailAddressId")
                .build())
        .quickConnectArns(List.of("quickConnectArns"))
        .status("status")
        .tags(List.of(CfnTag.builder()
                .key("key")
                .value("value")
                .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 cfnQueueProps = new CfnQueueProps {
    HoursOfOperationArn = "hoursOfOperationArn",
    InstanceArn = "instanceArn",
    Name = "name",

    // the properties below are optional
    AdditionalEmailAddresses = new [] { new EmailAddressProperty {
        EmailAddressArn = "emailAddressArn"
    } },
    Description = "description",
    MaxContacts = 123,
    OutboundCallerConfig = new OutboundCallerConfigProperty {
        OutboundCallerIdName = "outboundCallerIdName",
        OutboundCallerIdNumberArn = "outboundCallerIdNumberArn",
        OutboundFlowArn = "outboundFlowArn"
    },
    OutboundEmailConfig = new OutboundEmailConfigProperty {
        OutboundEmailAddressId = "outboundEmailAddressId"
    },
    QuickConnectArns = new [] { "quickConnectArns" },
    Status = "status",
    Tags = new [] { new CfnTag {
        Key = "key",
        Value = "value"
    } }
};
```

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"

cfnQueueProps := &CfnQueueProps{
	HoursOfOperationArn: jsii.String("hoursOfOperationArn"),
	InstanceArn: jsii.String("instanceArn"),
	Name: jsii.String("name"),

	// the properties below are optional
	AdditionalEmailAddresses: []interface{}{
		&EmailAddressProperty{
			EmailAddressArn: jsii.String("emailAddressArn"),
		},
	},
	Description: jsii.String("description"),
	MaxContacts: jsii.Number(123),
	OutboundCallerConfig: &OutboundCallerConfigProperty{
		OutboundCallerIdName: jsii.String("outboundCallerIdName"),
		OutboundCallerIdNumberArn: jsii.String("outboundCallerIdNumberArn"),
		OutboundFlowArn: jsii.String("outboundFlowArn"),
	},
	OutboundEmailConfig: &OutboundEmailConfigProperty{
		OutboundEmailAddressId: jsii.String("outboundEmailAddressId"),
	},
	QuickConnectArns: []*string{
		jsii.String("quickConnectArns"),
	},
	Status: jsii.String("status"),
	Tags: []CfnTag{
		&CfnTag{
			Key: jsii.String("key"),
			Value: jsii.String("value"),
		},
	},
}
```

## Properties

- `additionalEmailAddresses`: [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnQueue.EmailAddressProperty](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_connect.CfnQueue.EmailAddressProperty.html)[] — The email addresses that agents can use when replying to or initiating email contacts.

- `description`: string — The description of the queue.

- `hoursOfOperationArn`: string (required) — The Amazon Resource Name (ARN) of the hours of operation.

- `instanceArn`: string | [IInstanceRef](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.interfaces.aws_connect.IInstanceRef.html) (required) — The identifier of the Connect Customer instance.

- `maxContacts`: number — The maximum number of contacts that can be in the queue before it is considered full.

- `name`: string (required) — The name of the queue.

- `outboundCallerConfig`: [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnQueue.OutboundCallerConfigProperty](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_connect.CfnQueue.OutboundCallerConfigProperty.html) — The outbound caller ID name, number, and outbound whisper flow.

- `outboundEmailConfig`: [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnQueue.OutboundEmailConfigProperty](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_connect.CfnQueue.OutboundEmailConfigProperty.html) — The outbound email address ID for a specified queue.

- `quickConnectArns`: string[] — The Amazon Resource Names (ARN) of the of the quick connects available to agents who are working the queue.

- `status`: string — The status of the queue.

- `tags`: [CfnTag](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.CfnTag.html)[] — The tags used to organize, track, or control access for this resource.

  For example, { "Tags": {"key1":"value1", "key2":"value2"} }.
