interface CfnSMSChannelProps
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.Pinpoint.CfnSMSChannelProps |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awspinpoint#CfnSMSChannelProps |
Java | software.amazon.awscdk.services.pinpoint.CfnSMSChannelProps |
Python | aws_cdk.aws_pinpoint.CfnSMSChannelProps |
TypeScript | aws-cdk-lib » aws_pinpoint » CfnSMSChannelProps |
Properties for defining a CfnSMSChannel
.
See also: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-pinpoint-smschannel.html
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_pinpoint as pinpoint } from 'aws-cdk-lib';
const cfnSMSChannelProps: pinpoint.CfnSMSChannelProps = {
applicationId: 'applicationId',
// the properties below are optional
enabled: false,
senderId: 'senderId',
shortCode: 'shortCode',
};
Properties
Name | Type | Description |
---|---|---|
application | string | The unique identifier for the Amazon Pinpoint application that the SMS channel applies to. |
enabled? | boolean | IResolvable | Specifies whether to enable the SMS channel for the application. |
sender | string | The identity that you want to display on recipients' devices when they receive messages from the SMS channel. |
short | string | The registered short code that you want to use when you send messages through the SMS channel. |
applicationId
Type:
string
The unique identifier for the Amazon Pinpoint application that the SMS channel applies to.
enabled?
Type:
boolean |
IResolvable
(optional)
Specifies whether to enable the SMS channel for the application.
senderId?
Type:
string
(optional)
The identity that you want to display on recipients' devices when they receive messages from the SMS channel.
SenderIDs are only supported in certain countries and regions. For more information, see Supported Countries and Regions in the Amazon Pinpoint User Guide .
shortCode?
Type:
string
(optional)
The registered short code that you want to use when you send messages through the SMS channel.
For information about obtaining a dedicated short code for sending SMS messages, see Requesting Dedicated Short Codes for SMS Messaging with Amazon Pinpoint in the Amazon Pinpoint User Guide .