PhoneNumberConfigProperty Struct
Phone Number configuration per channel.
| 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 phoneNumberConfigProperty: connect.CfnUser.PhoneNumberConfigProperty = {
channel: 'channel',
phoneType: 'phoneType',
// the properties below are optional
phoneNumber: 'phoneNumber',
};
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
phone_number_config_property = connect.CfnUser.PhoneNumberConfigProperty(
channel="channel",
phone_type="phoneType",
# the properties below are optional
phone_number="phoneNumber"
)
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.*;
PhoneNumberConfigProperty phoneNumberConfigProperty = PhoneNumberConfigProperty.builder()
.channel("channel")
.phoneType("phoneType")
// the properties below are optional
.phoneNumber("phoneNumber")
.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 phoneNumberConfigProperty = new PhoneNumberConfigProperty {
Channel = "channel",
PhoneType = "phoneType",
// the properties below are optional
PhoneNumber = "phoneNumber"
};
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"
phoneNumberConfigProperty := &PhoneNumberConfigProperty{
Channel: jsii.String("channel"),
PhoneType: jsii.String("phoneType"),
// the properties below are optional
PhoneNumber: jsii.String("phoneNumber"),
}
Properties
The channels that agents can handle in the Contact Control Panel (CCP).
phoneNumberoptionalstringphone_numberoptionalstrphoneNumberoptionalStringPhoneNumberoptionalstringPhoneNumberoptional*string #The phone number for the user's desk phone.
The phone type.