Interface ICfnSMSChannelProps
Properties for defining a CfnSMSChannel.
Namespace: Amazon.CDK.AWS.Pinpoint
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface ICfnSMSChannelProps
Syntax (vb)
Public Interface ICfnSMSChannelProps
Remarks
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-pinpoint-smschannel.html
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.Pinpoint;
var cfnSMSChannelProps = new CfnSMSChannelProps {
ApplicationId = "applicationId",
// the properties below are optional
Enabled = false,
SenderId = "senderId",
ShortCode = "shortCode"
};
Synopsis
Properties
| ApplicationId | The unique identifier for the Amazon Pinpoint application that the SMS channel applies to. |
| Enabled | Specifies whether to enable the SMS channel for the application. |
| SenderId | The identity that you want to display on recipients' devices when they receive messages from the SMS channel. |
| ShortCode | The registered short code that you want to use when you send messages through the SMS channel. |
Properties
ApplicationId
The unique identifier for the Amazon Pinpoint application that the SMS channel applies to.
string ApplicationId { get; }
Property Value
Remarks
Enabled
Specifies whether to enable the SMS channel for the application.
object? Enabled { get; }
Property Value
Remarks
SenderId
The identity that you want to display on recipients' devices when they receive messages from the SMS channel.
string? SenderId { get; }
Property Value
Remarks
SenderIDs are only supported in certain countries and regions. For more information, see <a href="https://docs.aws.amazon.com/pinpoint/latest/userguide/channels-sms-countries.html">Supported Countries and Regions</a> in the <em>Amazon Pinpoint User Guide</em> .
ShortCode
The registered short code that you want to use when you send messages through the SMS channel.
string? ShortCode { get; }
Property Value
Remarks
For information about obtaining a dedicated short code for sending SMS messages, see <a href="https://docs.aws.amazon.com/pinpoint/latest/userguide/channels-sms-awssupport-short-code.html">Requesting Dedicated Short Codes for SMS Messaging with Amazon Pinpoint</a> in the <em>Amazon Pinpoint User Guide</em> .