Interface CfnPhoneNumber.TwoWayProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnPhoneNumber.TwoWayProperty.Jsii$Proxy
- Enclosing class:
CfnPhoneNumber
@Stability(Stable)
public static interface CfnPhoneNumber.TwoWayProperty
extends software.amazon.jsii.JsiiSerializable
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 software.amazon.awscdk.services.smsvoice.*; TwoWayProperty twoWayProperty = TwoWayProperty.builder() .enabled(false) // the properties below are optional .channelArn("channelArn") .channelRole("channelRole") .build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final class
A builder forCfnPhoneNumber.TwoWayProperty
static final class
An implementation forCfnPhoneNumber.TwoWayProperty
-
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getEnabled
By default this is set to false.When set to true you can receive incoming text messages from your end recipients using the TwoWayChannelArn.
- See Also:
-
getChannelArn
The Amazon Resource Name (ARN) of the two way channel.- See Also:
-
getChannelRole
An optional IAM Role Arn for a service to assume, to be able to post inbound SMS messages.- See Also:
-
builder
-