interface TwoWayProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.SMSVOICE.Mixins.CfnPhoneNumberPropsMixin.TwoWayProperty |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awssmsvoice/mixins#CfnPhoneNumberPropsMixin_TwoWayProperty |
Java | software.amazon.awscdk.mixins.preview.services.smsvoice.mixins.CfnPhoneNumberPropsMixin.TwoWayProperty |
Python | aws_cdk.mixins_preview.aws_smsvoice.mixins.CfnPhoneNumberPropsMixin.TwoWayProperty |
TypeScript | @aws-cdk/mixins-preview » aws_smsvoice » mixins » CfnPhoneNumberPropsMixin » TwoWayProperty |
The phone number's two-way SMS configuration object.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { mixins as smsvoice_mixins } from '@aws-cdk/mixins-preview/aws-smsvoice';
const twoWayProperty: smsvoice_mixins.CfnPhoneNumberPropsMixin.TwoWayProperty = {
channelArn: 'channelArn',
channelRole: 'channelRole',
enabled: false,
};
Properties
| Name | Type | Description |
|---|---|---|
| channel | string | The Amazon Resource Name (ARN) of the two way channel. |
| channel | string | An optional IAM Role Arn for a service to assume, to be able to post inbound SMS messages. |
| enabled? | boolean | IResolvable | By default this is set to false. |
channelArn?
Type:
string
(optional)
The Amazon Resource Name (ARN) of the two way channel.
channelRole?
Type:
string
(optional)
An optional IAM Role Arn for a service to assume, to be able to post inbound SMS messages.
enabled?
Type:
boolean | IResolvable
(optional)
By default this is set to false.
When set to true you can receive incoming text messages from your end recipients using the TwoWayChannelArn.

.NET
Go
Java
Python
TypeScript