Show / Hide Table of Contents

Interface ICfnPhoneNumberProps

Properties for defining a CfnPhoneNumber.

Namespace: Amazon.CDK.AWS.Connect
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface ICfnPhoneNumberProps
Syntax (vb)
Public Interface 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

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 + as part of the country code.

SourcePhoneNumberArn

The claimed phone number ARN that was previously imported from the external service, such as AWS End User Messaging.

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.

Properties

CountryCode

The ISO country code.

string? CountryCode { get; }
Property Value

string

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-connect-phonenumber.html#cfn-connect-phonenumber-countrycode

Description

The description of the phone number.

string? Description { get; }
Property Value

string

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-connect-phonenumber.html#cfn-connect-phonenumber-description

Prefix

The prefix of the phone number. If provided, it must contain + as part of the country code.

string? Prefix { get; }
Property Value

string

Remarks

Pattern : ^\+[0-9]{1,15}

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-connect-phonenumber.html#cfn-connect-phonenumber-prefix

SourcePhoneNumberArn

The claimed phone number ARN that was previously imported from the external service, such as AWS End User Messaging.

string? SourcePhoneNumberArn { get; }
Property Value

string

Remarks

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.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-connect-phonenumber.html#cfn-connect-phonenumber-sourcephonenumberarn

Tags

The tags used to organize, track, or control access for this resource.

ICfnTag[]? Tags { get; }
Property Value

ICfnTag[]

Remarks

For example, { "tags": {"key1":"value1", "key2":"value2"} }.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-connect-phonenumber.html#cfn-connect-phonenumber-tags

TargetArn

The Amazon Resource Name (ARN) for Amazon Connect instances or traffic distribution group that phone numbers are claimed to.

string TargetArn { get; }
Property Value

string

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-connect-phonenumber.html#cfn-connect-phonenumber-targetarn

Type

The type of phone number.

string? Type { get; }
Property Value

string

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-connect-phonenumber.html#cfn-connect-phonenumber-type

Back to top Generated by DocFX