# UserPhoneConfigProperty

Contains information about the phone configuration settings for a user.

- Source: Generated at build time
- Type last changed: v2.239.0 · 19 Feb 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 userPhoneConfigProperty: connect.CfnUser.UserPhoneConfigProperty = {
  afterContactWorkTimeLimit: 123,
  autoAccept: false,
  deskPhoneNumber: 'deskPhoneNumber',
  persistentConnection: false,
  phoneType: 'phoneType',
};
```

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

user_phone_config_property = connect.CfnUser.UserPhoneConfigProperty(
    after_contact_work_time_limit=123,
    auto_accept=False,
    desk_phone_number="deskPhoneNumber",
    persistent_connection=False,
    phone_type="phoneType"
)
```

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

UserPhoneConfigProperty userPhoneConfigProperty = UserPhoneConfigProperty.builder()
        .afterContactWorkTimeLimit(123)
        .autoAccept(false)
        .deskPhoneNumber("deskPhoneNumber")
        .persistentConnection(false)
        .phoneType("phoneType")
        .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 userPhoneConfigProperty = new UserPhoneConfigProperty {
    AfterContactWorkTimeLimit = 123,
    AutoAccept = false,
    DeskPhoneNumber = "deskPhoneNumber",
    PersistentConnection = false,
    PhoneType = "phoneType"
};
```

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"

userPhoneConfigProperty := &UserPhoneConfigProperty{
	AfterContactWorkTimeLimit: jsii.Number(123),
	AutoAccept: jsii.Boolean(false),
	DeskPhoneNumber: jsii.String("deskPhoneNumber"),
	PersistentConnection: jsii.Boolean(false),
	PhoneType: jsii.String("phoneType"),
}
```

## Properties

- `afterContactWorkTimeLimit`: number — The After Call Work (ACW) timeout setting, in seconds.

  This parameter has a minimum value of 0 and a maximum value of 2,000,000 seconds (24 days). Enter 0 if you don't want to allocate a specific amount of ACW time. It essentially means an indefinite amount of time. When the conversation ends, ACW starts; the agent must choose Close contact to end ACW.

  > When returned by a `SearchUsers` call, `AfterContactWorkTimeLimit` is returned in milliseconds.

- `autoAccept`: boolean | [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) — The Auto accept setting.

- `deskPhoneNumber`: string — The phone number for the user's desk phone.

- `persistentConnection`: boolean | [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) — The persistent connection setting for the user.

- `phoneType`: string — The phone type.
