Show / Hide Table of Contents

Class CfnPhoneNumber

Claims a phone number to the specified Amazon Connect instance or traffic distribution group.

Inheritance
object
CfnElement
CfnRefElement
CfnResource
CfnPhoneNumber
Implements
IInspectable
ITaggable
Inherited Members
CfnResource.IsCfnResource(object)
CfnResource.AddDeletionOverride(string)
CfnResource.AddDependency(CfnResource)
CfnResource.AddDependsOn(CfnResource)
CfnResource.AddMetadata(string, object)
CfnResource.AddOverride(string, object)
CfnResource.AddPropertyDeletionOverride(string)
CfnResource.AddPropertyOverride(string, object)
CfnResource.ApplyRemovalPolicy(RemovalPolicy?, IRemovalPolicyOptions)
CfnResource.GetAtt(string, ResolutionTypeHint?)
CfnResource.GetMetadata(string)
CfnResource.ObtainDependencies()
CfnResource.ObtainResourceDependencies()
CfnResource.RemoveDependency(CfnResource)
CfnResource.ReplaceDependency(CfnResource, CfnResource)
CfnResource.ShouldSynthesize()
CfnResource.ToString()
CfnResource.ValidateProperties(object)
CfnResource.CfnOptions
CfnResource.CfnResourceType
CfnResource.UpdatedProperites
CfnResource.UpdatedProperties
CfnRefElement.Ref
CfnElement.IsCfnElement(object)
CfnElement.OverrideLogicalId(string)
CfnElement.CreationStack
CfnElement.LogicalId
CfnElement.Stack
Namespace: Amazon.CDK.AWS.Connect
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnPhoneNumber : CfnResource, IInspectable, ITaggable
Syntax (vb)
Public Class CfnPhoneNumber Inherits CfnResource Implements IInspectable, ITaggable
Remarks

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

CloudformationResource: AWS::Connect::PhoneNumber

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 cfnPhoneNumber = new CfnPhoneNumber(this, "MyCfnPhoneNumber", 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

CfnPhoneNumber(Construct, string, ICfnPhoneNumberProps)

Claims a phone number to the specified Amazon Connect instance or traffic distribution group.

Properties

AttrAddress

The phone number, in E.164 format.

AttrPhoneNumberArn

The Amazon Resource Name (ARN) of the phone number.

CFN_RESOURCE_TYPE_NAME

The CloudFormation resource type name for this resource class.

CfnProperties

Claims a phone number to the specified Amazon Connect instance or traffic distribution group.

CountryCode

The ISO country code.

Description

The description of the phone number.

Prefix

The prefix of the phone number.

SourcePhoneNumberArn

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

Tags

Tag Manager which manages the tags for this resource.

TagsRaw

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.

Methods

Inspect(TreeInspector)

Examines the CloudFormation resource and discloses attributes.

RenderProperties(IDictionary<string, object>)

Claims a phone number to the specified Amazon Connect instance or traffic distribution group.

Constructors

CfnPhoneNumber(Construct, string, ICfnPhoneNumberProps)

Claims a phone number to the specified Amazon Connect instance or traffic distribution group.

public CfnPhoneNumber(Construct scope, string id, ICfnPhoneNumberProps props)
Parameters
scope Construct

Scope in which this resource is defined.

id string

Construct identifier for this resource (unique in its scope).

props ICfnPhoneNumberProps

Resource properties.

Remarks

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

CloudformationResource: AWS::Connect::PhoneNumber

ExampleMetadata: fixture=_generated

Properties

AttrAddress

The phone number, in E.164 format.

public virtual string AttrAddress { get; }
Property Value

string

Remarks

CloudformationAttribute: Address

AttrPhoneNumberArn

The Amazon Resource Name (ARN) of the phone number.

public virtual string AttrPhoneNumberArn { get; }
Property Value

string

Remarks

CloudformationAttribute: PhoneNumberArn

CFN_RESOURCE_TYPE_NAME

The CloudFormation resource type name for this resource class.

public static string CFN_RESOURCE_TYPE_NAME { get; }
Property Value

string

Remarks

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

CloudformationResource: AWS::Connect::PhoneNumber

ExampleMetadata: fixture=_generated

CfnProperties

Claims a phone number to the specified Amazon Connect instance or traffic distribution group.

protected override IDictionary<string, object> CfnProperties { get; }
Property Value

IDictionary<string, object>

Overrides
CfnResource.CfnProperties
Remarks

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

CloudformationResource: AWS::Connect::PhoneNumber

ExampleMetadata: fixture=_generated

CountryCode

The ISO country code.

public virtual string? CountryCode { get; set; }
Property Value

string

Remarks

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

CloudformationResource: AWS::Connect::PhoneNumber

ExampleMetadata: fixture=_generated

Description

The description of the phone number.

public virtual string? Description { get; set; }
Property Value

string

Remarks

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

CloudformationResource: AWS::Connect::PhoneNumber

ExampleMetadata: fixture=_generated

Prefix

The prefix of the phone number.

public virtual string? Prefix { get; set; }
Property Value

string

Remarks

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.

public virtual string? SourcePhoneNumberArn { get; set; }
Property Value

string

Remarks

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

CloudformationResource: AWS::Connect::PhoneNumber

ExampleMetadata: fixture=_generated

Tags

Tag Manager which manages the tags for this resource.

public virtual TagManager Tags { get; }
Property Value

TagManager

Remarks

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

CloudformationResource: AWS::Connect::PhoneNumber

ExampleMetadata: fixture=_generated

TagsRaw

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

public virtual ICfnTag[]? TagsRaw { get; set; }
Property Value

ICfnTag[]

Remarks

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

CloudformationResource: AWS::Connect::PhoneNumber

ExampleMetadata: fixture=_generated

TargetArn

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

public virtual string TargetArn { get; set; }
Property Value

string

Remarks

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

CloudformationResource: AWS::Connect::PhoneNumber

ExampleMetadata: fixture=_generated

Type

The type of phone number.

public virtual string? Type { get; set; }
Property Value

string

Remarks

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

CloudformationResource: AWS::Connect::PhoneNumber

ExampleMetadata: fixture=_generated

Methods

Inspect(TreeInspector)

Examines the CloudFormation resource and discloses attributes.

public virtual void Inspect(TreeInspector inspector)
Parameters
inspector TreeInspector

tree inspector to collect and process attributes.

Remarks

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

CloudformationResource: AWS::Connect::PhoneNumber

ExampleMetadata: fixture=_generated

RenderProperties(IDictionary<string, object>)

Claims a phone number to the specified Amazon Connect instance or traffic distribution group.

protected override IDictionary<string, object> RenderProperties(IDictionary<string, object> props)
Parameters
props IDictionary<string, object>
Returns

IDictionary<string, object>

Overrides
CfnResource.RenderProperties(IDictionary<string, object>)
Remarks

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

CloudformationResource: AWS::Connect::PhoneNumber

ExampleMetadata: fixture=_generated

Implements

IInspectable
ITaggable
Back to top Generated by DocFX