aws-cdk-lib.aws_pinpoint.CfnSMSChannelProps

interface CfnSMSChannelProps

LanguageType name
.NETAmazon.CDK.AWS.Pinpoint.CfnSMSChannelProps
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awspinpoint#CfnSMSChannelProps
Javasoftware.amazon.awscdk.services.pinpoint.CfnSMSChannelProps
Pythonaws_cdk.aws_pinpoint.CfnSMSChannelProps
TypeScript aws-cdk-lib » aws_pinpoint » CfnSMSChannelProps

Properties for defining a CfnSMSChannel.

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

NameTypeDescription
applicationIdstringThe unique identifier for the Amazon Pinpoint application that the SMS channel applies to.
enabled?boolean | IResolvableSpecifies whether to enable the SMS channel for the application.
senderId?stringThe identity that you want to display on recipients' devices when they receive messages from the SMS channel.
shortCode?stringThe 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 .