UserPhoneConfigProperty Struct
Contains information about the phone configuration settings for a user.
| Source | |
|---|---|
| Type last changed |
Example
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
# 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
// 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();
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"
};
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
afterContactWorkTimeLimitoptionalnumberafter_contact_work_time_limitoptionalint | floatafterContactWorkTimeLimitoptionalNumberAfterContactWorkTimeLimitoptionaldoubleAfterContactWorkTimeLimitoptional*float64 #The After Call Work (ACW) timeout setting, in seconds.
notes
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
SearchUserscall,AfterContactWorkTimeLimitis returned in milliseconds.
autoAcceptoptionalboolean | IResolvableauto_acceptoptionaltyping.Union[bool, IResolvable]autoAcceptoptionalBooleanAutoAcceptoptionalboolAutoAcceptoptionalinterface{} #The Auto accept setting.
deskPhoneNumberoptionalstringdesk_phone_numberoptionalstrdeskPhoneNumberoptionalStringDeskPhoneNumberoptionalstringDeskPhoneNumberoptional*string #The phone number for the user's desk phone.
persistentConnectionoptionalboolean | IResolvablepersistent_connectionoptionaltyping.Union[bool, IResolvable]persistentConnectionoptionalBooleanPersistentConnectionoptionalboolPersistentConnectionoptionalinterface{} #The persistent connection setting for the user.
phoneTypeoptionalstringphone_typeoptionalstrphoneTypeoptionalStringPhoneTypeoptionalstringPhoneTypeoptional*string #The phone type.