Class CfnSmsTemplateProps
Properties for defining a CfnSmsTemplate
.
Inheritance
Implements
Namespace: Amazon.CDK.AWS.Pinpoint
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnSmsTemplateProps : Object, ICfnSmsTemplateProps
Syntax (vb)
Public Class CfnSmsTemplateProps
Inherits Object
Implements ICfnSmsTemplateProps
Remarks
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-pinpoint-smstemplate.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 tags;
var cfnSmsTemplateProps = new CfnSmsTemplateProps {
Body = "body",
TemplateName = "templateName",
// the properties below are optional
DefaultSubstitutions = "defaultSubstitutions",
Tags = tags,
TemplateDescription = "templateDescription"
};
Synopsis
Constructors
CfnSmsTemplateProps() |
Properties
Body | The message body to use in text messages that are based on the message template. |
DefaultSubstitutions | A JSON object that specifies the default values to use for message variables in the message template. |
Tags | An array of key-value pairs to apply to this resource. |
TemplateDescription | A custom description of the message template. |
TemplateName | The name of the message template to use for the message. |
Constructors
CfnSmsTemplateProps()
public CfnSmsTemplateProps()
Properties
Body
The message body to use in text messages that are based on the message template.
public string Body { get; set; }
Property Value
System.String
Remarks
DefaultSubstitutions
A JSON object that specifies the default values to use for message variables in the message template.
public string DefaultSubstitutions { get; set; }
Property Value
System.String
Remarks
This object is a set of key-value pairs. Each key defines a message variable in the template. The corresponding value defines the default value for that variable. When you create a message that's based on the template, you can override these defaults with message-specific and address-specific variables and values.
Tags
An array of key-value pairs to apply to this resource.
public object Tags { get; set; }
Property Value
System.Object
Remarks
For more information, see Tag .
TemplateDescription
A custom description of the message template.
public string TemplateDescription { get; set; }
Property Value
System.String
Remarks
TemplateName
The name of the message template to use for the message.
public string TemplateName { get; set; }
Property Value
System.String
Remarks
If specified, this value must match the name of an existing message template.