Class CfnPhoneNumberProps
Properties for defining a CfnPhoneNumber
.
Inheritance
Implements
Namespace: Amazon.CDK.AWS.Connect
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnPhoneNumberProps : Object, ICfnPhoneNumberProps
Syntax (vb)
Public Class CfnPhoneNumberProps
Inherits Object
Implements ICfnPhoneNumberProps
Remarks
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-connect-phonenumber.html
ExampleMetadata: fixture=_generated
Examples
// 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 cfnPhoneNumberProps = new CfnPhoneNumberProps {
TargetArn = "targetArn",
// the properties below are optional
CountryCode = "countryCode",
Description = "description",
Prefix = "prefix",
SourcePhoneNumberArn = "sourcePhoneNumberArn",
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} },
Type = "type"
};
Synopsis
Constructors
CfnPhoneNumberProps() |
Properties
CountryCode | The ISO country code. |
Description | The description of the phone number. |
Prefix | The prefix of the phone number. If provided, it must contain |
SourcePhoneNumberArn | The claimed phone number ARN that was previously imported from the external service, such as Amazon Pinpoint. |
Tags | The tags used to organize, track, or control access for this resource. |
TargetArn | 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. |
Constructors
CfnPhoneNumberProps()
public CfnPhoneNumberProps()
Properties
CountryCode
The ISO country code.
public string CountryCode { get; set; }
Property Value
System.String
Remarks
Description
The description of the phone number.
public string Description { get; set; }
Property Value
System.String
Remarks
Prefix
The prefix of the phone number. If provided, it must contain +
as part of the country code.
public string Prefix { get; set; }
Property Value
System.String
Remarks
SourcePhoneNumberArn
The claimed phone number ARN that was previously imported from the external service, such as Amazon Pinpoint.
public string SourcePhoneNumberArn { get; set; }
Property Value
System.String
Remarks
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.
public ICfnTag[] Tags { get; set; }
Property Value
ICfnTag[]
Remarks
For example, { "tags": {"key1":"value1", "key2":"value2"} }.
TargetArn
The Amazon Resource Name (ARN) for Amazon Connect instances or traffic distribution group that phone numbers are claimed to.
public string TargetArn { get; set; }
Property Value
System.String
Remarks
Type
The type of phone number.
public string Type { get; set; }
Property Value
System.String