Show / Hide Table of Contents

Class CfnCampaignPropsMixin.CampaignSmsMessageProperty

Specifies the content and settings for an SMS message that's sent to recipients of a campaign.

Inheritance
object
CfnCampaignPropsMixin.CampaignSmsMessageProperty
Implements
CfnCampaignPropsMixin.ICampaignSmsMessageProperty
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: Amazon.CDK.Mixins.Preview.AWS.Pinpoint.Mixins
Assembly: Amazon.CDK.Mixins.Preview.dll
Syntax (csharp)
public class CfnCampaignPropsMixin.CampaignSmsMessageProperty : CfnCampaignPropsMixin.ICampaignSmsMessageProperty
Syntax (vb)
Public Class CfnCampaignPropsMixin.CampaignSmsMessageProperty Implements CfnCampaignPropsMixin.ICampaignSmsMessageProperty
Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pinpoint-campaign-campaignsmsmessage.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.Mixins.Preview.AWS.Pinpoint.Mixins;

             var campaignSmsMessageProperty = new CampaignSmsMessageProperty {
                 Body = "body",
                 EntityId = "entityId",
                 MessageType = "messageType",
                 OriginationNumber = "originationNumber",
                 SenderId = "senderId",
                 TemplateId = "templateId"
             };

Synopsis

Constructors

CampaignSmsMessageProperty()

Specifies the content and settings for an SMS message that's sent to recipients of a campaign.

Properties

Body

The body of the SMS message.

EntityId

The entity ID or Principal Entity (PE) id received from the regulatory body for sending SMS in your country.

MessageType

The SMS message type.

OriginationNumber

The long code to send the SMS message from.

SenderId

The alphabetic Sender ID to display as the sender of the message on a recipient's device.

TemplateId

The template ID received from the regulatory body for sending SMS in your country.

Constructors

CampaignSmsMessageProperty()

Specifies the content and settings for an SMS message that's sent to recipients of a campaign.

public CampaignSmsMessageProperty()
Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pinpoint-campaign-campaignsmsmessage.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.Mixins.Preview.AWS.Pinpoint.Mixins;

             var campaignSmsMessageProperty = new CampaignSmsMessageProperty {
                 Body = "body",
                 EntityId = "entityId",
                 MessageType = "messageType",
                 OriginationNumber = "originationNumber",
                 SenderId = "senderId",
                 TemplateId = "templateId"
             };

Properties

Body

The body of the SMS message.

public string? Body { get; set; }
Property Value

string

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pinpoint-campaign-campaignsmsmessage.html#cfn-pinpoint-campaign-campaignsmsmessage-body

EntityId

The entity ID or Principal Entity (PE) id received from the regulatory body for sending SMS in your country.

public string? EntityId { get; set; }
Property Value

string

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pinpoint-campaign-campaignsmsmessage.html#cfn-pinpoint-campaign-campaignsmsmessage-entityid

MessageType

The SMS message type.

public string? MessageType { get; set; }
Property Value

string

Remarks

Valid values are TRANSACTIONAL (for messages that are critical or time-sensitive, such as a one-time passwords) and PROMOTIONAL (for messsages that aren't critical or time-sensitive, such as marketing messages).

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pinpoint-campaign-campaignsmsmessage.html#cfn-pinpoint-campaign-campaignsmsmessage-messagetype

OriginationNumber

The long code to send the SMS message from.

public string? OriginationNumber { get; set; }
Property Value

string

Remarks

This value should be one of the dedicated long codes that's assigned to your AWS account. Although it isn't required, we recommend that you specify the long code using an E.164 format to ensure prompt and accurate delivery of the message. For example, +12065550100.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pinpoint-campaign-campaignsmsmessage.html#cfn-pinpoint-campaign-campaignsmsmessage-originationnumber

SenderId

The alphabetic Sender ID to display as the sender of the message on a recipient's device.

public string? SenderId { get; set; }
Property Value

string

Remarks

Support for sender IDs varies by country or region. To specify a phone number as the sender, omit this parameter and use OriginationNumber instead. For more information about support for Sender ID by country, see the Amazon Pinpoint User Guide .

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pinpoint-campaign-campaignsmsmessage.html#cfn-pinpoint-campaign-campaignsmsmessage-senderid

TemplateId

The template ID received from the regulatory body for sending SMS in your country.

public string? TemplateId { get; set; }
Property Value

string

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pinpoint-campaign-campaignsmsmessage.html#cfn-pinpoint-campaign-campaignsmsmessage-templateid

Implements

CfnCampaignPropsMixin.ICampaignSmsMessageProperty
Back to top Generated by DocFX