Class CfnPool.TwoWayProperty
The pool's two-way SMS configuration object.
Implements
Inherited Members
Namespace: Amazon.CDK.AWS.SMSVOICE
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnPool.TwoWayProperty : CfnPool.ITwoWayProperty
Syntax (vb)
Public Class CfnPool.TwoWayProperty Implements CfnPool.ITwoWayProperty
Remarks
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.SMSVOICE;
var twoWayProperty = new TwoWayProperty {
Enabled = false,
// the properties below are optional
ChannelArn = "channelArn",
ChannelRole = "channelRole"
};
Synopsis
Constructors
| TwoWayProperty() | The pool's two-way SMS configuration object. |
Properties
| ChannelArn | The Amazon Resource Name (ARN) of the two way channel. |
| ChannelRole | An optional IAM Role Arn for a service to assume, to be able to post inbound SMS messages. |
| Enabled | By default this is set to false. |
Constructors
TwoWayProperty()
The pool's two-way SMS configuration object.
public TwoWayProperty()
Remarks
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.SMSVOICE;
var twoWayProperty = new TwoWayProperty {
Enabled = false,
// the properties below are optional
ChannelArn = "channelArn",
ChannelRole = "channelRole"
};
Properties
ChannelArn
The Amazon Resource Name (ARN) of the two way channel.
public string? ChannelArn { get; set; }
Property Value
Remarks
ChannelRole
An optional IAM Role Arn for a service to assume, to be able to post inbound SMS messages.
public string? ChannelRole { get; set; }
Property Value
Remarks
Enabled
By default this is set to false.
public object Enabled { get; set; }
Property Value
Remarks
When set to true you can receive incoming text messages from your end recipients using the TwoWayChannelArn.
Type union: either bool or IResolvable