CfnPhoneNumberProps
- class aws_cdk.aws_connect.CfnPhoneNumberProps(*, target_arn, country_code=None, description=None, prefix=None, source_phone_number_arn=None, tags=None, type=None)
Bases:
object
Properties for defining a
CfnPhoneNumber
.- Parameters:
target_arn (
str
) – The Amazon Resource Name (ARN) for Amazon Connect instances or traffic distribution group that phone numbers are claimed to.country_code (
Optional
[str
]) – The ISO country code.description (
Optional
[str
]) – The description of the phone number.prefix (
Optional
[str
]) – The prefix of the phone number. If provided, it must contain+
as part of the country code. Pattern :^\\+[0-9]{1,15}
source_phone_number_arn (
Optional
[str
]) – The claimed phone number ARN that was previously imported from the external service, such as Amazon Pinpoint. If it is from Amazon Pinpoint, it looks like the ARN of the phone number that was imported from Amazon Pinpoint.tags (
Optional
[Sequence
[Union
[CfnTag
,Dict
[str
,Any
]]]]) – The tags used to organize, track, or control access for this resource. For example, { “tags”: {“key1”:”value1”, “key2”:”value2”} }.type (
Optional
[str
]) – The type of phone number.
- See:
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-connect-phonenumber.html
- ExampleMetadata:
fixture=_generated
Example:
# 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 cfn_phone_number_props = connect.CfnPhoneNumberProps( target_arn="targetArn", # the properties below are optional country_code="countryCode", description="description", prefix="prefix", source_phone_number_arn="sourcePhoneNumberArn", tags=[CfnTag( key="key", value="value" )], type="type" )
Attributes
- country_code
The ISO country code.
- description
The description of the phone number.
- prefix
The prefix of the phone number. If provided, it must contain
+
as part of the country code.Pattern :
^\\+[0-9]{1,15}
- source_phone_number_arn
The claimed phone number ARN that was previously imported from the external service, such as Amazon Pinpoint.
If it is from Amazon Pinpoint, it looks like the ARN of the phone number that was imported from Amazon Pinpoint.
- tags
The tags used to organize, track, or control access for this resource.
For example, { “tags”: {“key1”:”value1”, “key2”:”value2”} }.
- target_arn
The Amazon Resource Name (ARN) for Amazon Connect instances or traffic distribution group that phone numbers are claimed to.
- type
The type of phone number.