interface CfnPhoneNumberProps
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.Connect.CfnPhoneNumberProps |
Java | software.amazon.awscdk.services.connect.CfnPhoneNumberProps |
Python | aws_cdk.aws_connect.CfnPhoneNumberProps |
TypeScript | @aws-cdk/aws-connect » CfnPhoneNumberProps |
Properties for defining a CfnPhoneNumber
.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as connect from '@aws-cdk/aws-connect';
const cfnPhoneNumberProps: connect.CfnPhoneNumberProps = {
countryCode: 'countryCode',
targetArn: 'targetArn',
type: 'type',
// the properties below are optional
description: 'description',
prefix: 'prefix',
tags: [{
key: 'key',
value: 'value',
}],
};
Properties
Name | Type | Description |
---|---|---|
country | string | The ISO country code. |
target | string | The Amazon Resource Name (ARN) for Amazon Connect instances or traffic distribution group that phone numbers are claimed to. |
type | string | The type of phone number. |
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. |
tags? | Cfn [] | The tags used to organize, track, or control access for this resource. |
countryCode
Type:
string
The ISO country code.
targetArn
Type:
string
The Amazon Resource Name (ARN) for Amazon Connect instances or traffic distribution group that phone numbers are claimed to.
type
Type:
string
The type of phone number.
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}
tags?
Type:
Cfn
[]
(optional)
The tags used to organize, track, or control access for this resource.
For example, { "tags": {"key1":"value1", "key2":"value2"} }.