CfnPhoneNumberProps
- class aws_cdk.aws_connect.CfnPhoneNumberProps(*, country_code, target_arn, type, description=None, prefix=None, tags=None)
- Bases: - object- Properties for defining a - CfnPhoneNumber.- Parameters:
- country_code ( - str) – The ISO country code.
- target_arn ( - str) – The Amazon Resource Name (ARN) for Amazon Connect instances or traffic distribution group that phone numbers are claimed to.
- type ( - str) – The type of phone number.
- 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}
- 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”} }.
 
- Link:
- 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. import aws_cdk.aws_connect as connect cfn_phone_number_props = connect.CfnPhoneNumberProps( country_code="countryCode", target_arn="targetArn", type="type", # the properties below are optional description="description", prefix="prefix", tags=[CfnTag( key="key", value="value" )] ) - 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}
 - 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.