Class CfnPhoneNumberPropsMixin
Claims a phone number to the specified Amazon Connect instance or traffic distribution group.
Implements
Inherited Members
Namespace: Amazon.CDK.Mixins.Preview.AWS.Connect.Mixins
Assembly: Amazon.CDK.Mixins.Preview.dll
Syntax (csharp)
public class CfnPhoneNumberPropsMixin : Mixin, IMixin
Syntax (vb)
Public Class CfnPhoneNumberPropsMixin Inherits Mixin Implements IMixin
Remarks
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-connect-phonenumber.html
CloudformationResource: AWS::Connect::PhoneNumber
Mixin: true
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.Mixins.Preview.Mixins;
using Amazon.CDK.Mixins.Preview.AWS.Connect.Mixins;
var cfnPhoneNumberPropsMixin = new CfnPhoneNumberPropsMixin(new CfnPhoneNumberMixinProps {
CountryCode = "countryCode",
Description = "description",
Prefix = "prefix",
SourcePhoneNumberArn = "sourcePhoneNumberArn",
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} },
TargetArn = "targetArn",
Type = "type"
}, new CfnPropertyMixinOptions {
Strategy = PropertyMergeStrategy.OVERRIDE
});
Synopsis
Constructors
| CfnPhoneNumberPropsMixin(ICfnPhoneNumberMixinProps, ICfnPropertyMixinOptions?) | Create a mixin to apply properties to |
Properties
| CFN_PROPERTY_KEYS | Claims a phone number to the specified Amazon Connect instance or traffic distribution group. |
| Props | Claims a phone number to the specified Amazon Connect instance or traffic distribution group. |
| Strategy | Claims a phone number to the specified Amazon Connect instance or traffic distribution group. |
Methods
| ApplyTo(IConstruct) | Apply the mixin properties to the construct. |
| Supports(IConstruct) | Check if this mixin supports the given construct. |
Constructors
CfnPhoneNumberPropsMixin(ICfnPhoneNumberMixinProps, ICfnPropertyMixinOptions?)
Create a mixin to apply properties to AWS::Connect::PhoneNumber.
public CfnPhoneNumberPropsMixin(ICfnPhoneNumberMixinProps props, ICfnPropertyMixinOptions? options = null)
Parameters
- props ICfnPhoneNumberMixinProps
L1 properties to apply.
- options ICfnPropertyMixinOptions
Mixin options.
Remarks
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-connect-phonenumber.html
CloudformationResource: AWS::Connect::PhoneNumber
Mixin: true
ExampleMetadata: fixture=_generated
Properties
CFN_PROPERTY_KEYS
Claims a phone number to the specified Amazon Connect instance or traffic distribution group.
protected static string[] CFN_PROPERTY_KEYS { get; }
Property Value
string[]
Remarks
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-connect-phonenumber.html
CloudformationResource: AWS::Connect::PhoneNumber
Mixin: true
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.Mixins.Preview.Mixins;
using Amazon.CDK.Mixins.Preview.AWS.Connect.Mixins;
var cfnPhoneNumberPropsMixin = new CfnPhoneNumberPropsMixin(new CfnPhoneNumberMixinProps {
CountryCode = "countryCode",
Description = "description",
Prefix = "prefix",
SourcePhoneNumberArn = "sourcePhoneNumberArn",
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} },
TargetArn = "targetArn",
Type = "type"
}, new CfnPropertyMixinOptions {
Strategy = PropertyMergeStrategy.OVERRIDE
});
Props
Claims a phone number to the specified Amazon Connect instance or traffic distribution group.
protected virtual ICfnPhoneNumberMixinProps Props { get; }
Property Value
Remarks
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-connect-phonenumber.html
CloudformationResource: AWS::Connect::PhoneNumber
Mixin: true
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.Mixins.Preview.Mixins;
using Amazon.CDK.Mixins.Preview.AWS.Connect.Mixins;
var cfnPhoneNumberPropsMixin = new CfnPhoneNumberPropsMixin(new CfnPhoneNumberMixinProps {
CountryCode = "countryCode",
Description = "description",
Prefix = "prefix",
SourcePhoneNumberArn = "sourcePhoneNumberArn",
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} },
TargetArn = "targetArn",
Type = "type"
}, new CfnPropertyMixinOptions {
Strategy = PropertyMergeStrategy.OVERRIDE
});
Strategy
Claims a phone number to the specified Amazon Connect instance or traffic distribution group.
protected virtual PropertyMergeStrategy Strategy { get; }
Property Value
Remarks
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-connect-phonenumber.html
CloudformationResource: AWS::Connect::PhoneNumber
Mixin: true
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.Mixins.Preview.Mixins;
using Amazon.CDK.Mixins.Preview.AWS.Connect.Mixins;
var cfnPhoneNumberPropsMixin = new CfnPhoneNumberPropsMixin(new CfnPhoneNumberMixinProps {
CountryCode = "countryCode",
Description = "description",
Prefix = "prefix",
SourcePhoneNumberArn = "sourcePhoneNumberArn",
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} },
TargetArn = "targetArn",
Type = "type"
}, new CfnPropertyMixinOptions {
Strategy = PropertyMergeStrategy.OVERRIDE
});
Methods
ApplyTo(IConstruct)
Apply the mixin properties to the construct.
public override IConstruct ApplyTo(IConstruct construct)
Parameters
- construct IConstruct
Returns
IConstruct
Overrides
Remarks
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-connect-phonenumber.html
CloudformationResource: AWS::Connect::PhoneNumber
Mixin: true
ExampleMetadata: fixture=_generated
Supports(IConstruct)
Check if this mixin supports the given construct.
public override bool Supports(IConstruct construct)
Parameters
- construct IConstruct
Returns
Overrides
Remarks
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-connect-phonenumber.html
CloudformationResource: AWS::Connect::PhoneNumber
Mixin: true
ExampleMetadata: fixture=_generated