interface CfnPhoneNumberProps
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.Connect.CfnPhoneNumberProps |
![]() | github.com/aws/aws-cdk-go/awscdk/v2/awsconnect#CfnPhoneNumberProps |
![]() | software.amazon.awscdk.services.connect.CfnPhoneNumberProps |
![]() | aws_cdk.aws_connect.CfnPhoneNumberProps |
![]() | aws-cdk-lib » aws_connect » CfnPhoneNumberProps |
Properties for defining a CfnPhoneNumber
.
See also: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-connect-phonenumber.html
Example
// 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 cfnPhoneNumberProps: connect.CfnPhoneNumberProps = {
targetArn: 'targetArn',
// the properties below are optional
countryCode: 'countryCode',
description: 'description',
prefix: 'prefix',
sourcePhoneNumberArn: 'sourcePhoneNumberArn',
tags: [{
key: 'key',
value: 'value',
}],
type: 'type',
};
Properties
Name | Type | Description |
---|---|---|
target | string | The Amazon Resource Name (ARN) for Amazon Connect instances or traffic distribution group that phone numbers are claimed to. |
country | string | The ISO country code. |
description? | string | The description of the phone number. |
prefix? | string | The prefix of the phone number. If provided, it must contain + as part of the country code. |
source | string | The claimed phone number ARN that was previously imported from the external service, such as AWS End User Messaging. |
tags? | Cfn [] | The tags used to organize, track, or control access for this resource. |
type? | string | The type of phone number. |
targetArn
Type:
string
The Amazon Resource Name (ARN) for Amazon Connect instances or traffic distribution group that phone numbers are claimed to.
countryCode?
Type:
string
(optional)
The ISO country code.
description?
Type:
string
(optional)
The description of the phone number.
prefix?
Type:
string
(optional)
The prefix of the phone number. If provided, it must contain +
as part of the country code.
Pattern : ^\\+[0-9]{1,15}
sourcePhoneNumberArn?
Type:
string
(optional)
The claimed phone number ARN that was previously imported from the external service, such as AWS End User Messaging.
If it is from AWS End User Messaging, it looks like the ARN of the phone number that was imported from AWS End User Messaging.
tags?
Type:
Cfn
[]
(optional)
The tags used to organize, track, or control access for this resource.
For example, { "tags": {"key1":"value1", "key2":"value2"} }.
type?
Type:
string
(optional)
The type of phone number.